Numcodecs — numcodecs 0.10.3.dev0+dirty documentation
文章推薦指數: 80 %
Compression codecs, e.g., Zlib, BZ2, LZMA, ZFPY and Blosc. Pre-compression filters, e.g., Delta, ... pip install nose $ python -m nose -v numcodecs ... numcodecs stable CodecAPI Codecregistry Blosc LZ4 ZFPY Zstd Zlib GZip BZ2 LZMA Delta FixedScaleOffset Quantize Bitround PackBits Categorize 32-bitchecksums AsType JSON Pickle MsgPack Codecsforvariable-lengthobjects Shuffle Releasenotes ContributingtoNumCodecs numcodecs Docs» Numcodecs EditonGitHub Numcodecs¶ NumcodecsisaPythonpackageprovidingbuffercompressionand transformationcodecsforuseindatastorageandcommunication applications.Theseinclude: Compressioncodecs,e.g.,Zlib,BZ2,LZMA,ZFPYandBlosc. Pre-compressionfilters,e.g.,Delta,Quantize,FixedScaleOffset, PackBits,Categorize. Integritychecks,e.g.,CRC32,Adler32. AllcodecsimplementthesameAPI,allowingcodecstobeorganizedinto pipelinesinavarietyofways. Ifyouhaveaquestion,findabug,wouldliketomakeasuggestionor contributecode,pleaseraiseanissueonGitHub. Installation¶ NumcodecsdependsonNumPy.ItisgenerallybesttoinstallNumPyfirstusing whatevermethodismostappropriateforyouoperatingsystemand Pythondistribution. InstallfromPyPI: $pipinstallnumcodecs Alternatively,installviaconda: $condainstall-cconda-forgenumcodecs NumcodecsincludesaCextensionprovidingintegrationwiththeBlosc library.Wheelsareavailableformostplatforms. Installingawheelorviacondawillinstallapre-compiledbinarydistribution. However,ifyouhaveanewerCPUthatsupportstheAVX2instructionset(e.g., IntelHaswell,BroadwellorSkylake)theninstallingviapipispreferable, becausethiswillcompiletheBlosclibraryfromsourcewithoptimisations forAVX2. NotethatifyoucompiletheCextensionsonamachinewithAVX2support youprobablythencannotusethesamebinariesonamachinewithoutAVX2. TodisablecompilationwithAVX2supportregardlessofthemachine architecture: $exportDISABLE_NUMCODECS_AVX2= $pipinstall-v--no-cache-dir--no-binarynumcodecsnumcodecs ToworkwithNumcodecssourcecodeindevelopment,installfromGitHub: $gitclone--recursivehttps://github.com/zarr-developers/numcodecs.git $cdnumcodecs $pythonsetup.pyinstall ToverifythatNumcodecshasbeenfullyinstalled(includingtheBlosc extension)runthetestsuite: $pipinstallnose $python-mnose-vnumcodecs Contents¶ CodecAPI Codecregistry Blosc Helperfunctions LZ4 Helperfunctions ZFPY Zstd Helperfunctions Zlib GZip BZ2 LZMA Delta FixedScaleOffset Quantize Bitround PackBits Categorize 32-bitchecksums CRC32 Adler32 AsType JSON Pickle MsgPack Codecsforvariable-lengthobjects VLenUTF8 VLenBytes VLenArray Shuffle Releasenotes 0.10.2 0.10.1 0.10.0 0.9.1 0.9.0 0.8.1 0.8.0 0.7.3 0.7.2 0.7.1 0.7.0 0.6.4 0.6.3 0.6.2 0.6.1 0.6.0 0.5.5 0.5.4 0.5.3 0.5.2 0.5.1 0.5.0 0.4.1 0.4.0 0.3.1 0.3.0 0.2.1 0.2.0 0.1.1 0.1.0 0.0.1 0.0.0 ContributingtoNumCodecs Askingforhelp Bugreports Enhancementproposals Contributingcodeand/ordocumentation Developmentbestpractices,policiesandprocedures Acknowledgments¶ ThefollowingpeoplehavecontributedtothedevelopmentofNumCodecsbycontributingcode, documentation,codereviews,commentsand/orideas: FrancescAlted PrakharGoel JeromeKelleher JohnKirkham AlistairMiles JeffReback TrevorManz GrzegorzBokota JoshMoore MartinDurant PaulBranson Numcodecsbundlesthec-blosclibrary. Developmentofthispackageissupportedbythe MRCCentreforGenomicsandGlobalHealth. Indicesandtables¶ Index ModuleIndex SearchPage ReadtheDocs v:stable Versions master latest stable v0.10.2 v0.10.1 v0.10.0 v0.9.1 v0.9.0 v0.8.1 v0.8.0 v0.7.3 v0.7.2 v0.7.1 v0.7.0 v0.6.4 v0.6.3 v0.6.2 v0.6.1 v0.6.0.1 v0.6.0 v0.5.5 v0.5.4 v0.5.3 v0.5.2 v0.5.1 v0.5.0 v0.4.1 v0.4.0 v0.3.1 v0.3.0 v0.2.1 v0.2.0 v0.1.1 v0.1.0 pytest-migration-20180103 Downloads html OnReadtheDocs ProjectHome Builds FreedocumenthostingprovidedbyReadtheDocs.
延伸文章資訊
- 1Can't install codec nor upgrade pip - Stack Overflow
1 Answer 1 ... codec doesn't provide any installation packages — no wheels, no eggs, no source di...
- 2python中codecs模块下载? - 知乎
用pip安装codecs模块被告知没有,该怎么办.
- 3installing text codecs using pip - splunktool
installing text codecs using pip. Last Updated : Thu Sep 08 2022. I wrote my own text codec and I...
- 4Can't install codec nor upgrade pip - Stack Overflow
- 5Python Codecs Open | Delft Stack