PEP 561 type stubs for python-snappy
Project description
types-python-snappy
PEP 561 type stubs for python-snappy.
Installation
pip install types-python-snappy
# or
uv add --dev types-python-snappy
Usage
Install alongside python-snappy. Type checkers (mypy, pyright) will pick up
the stubs automatically via PEP 561.
import snappy
data: bytes = snappy.compress(b"hello world")
result: bytes = snappy.decompress(data)
Versioning
Versions match the stubbed python-snappy release. 0.7.3.0 stubs
python-snappy 0.7.3.
Coverage
compress/decompress/uncompressStreamCompressor/StreamDecompressorHadoopStreamCompressor/HadoopStreamDecompressorstream_compress/stream_decompressisValidCompressed/UncompressErrorsnappy.snappy_formatssubmodule
If python-snappy adds inline types (py.typed), this package will be deprecated.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file types_python_snappy-0.7.3.0.tar.gz.
File metadata
- Download URL: types_python_snappy-0.7.3.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
691c426564019b7e83673786e8a33cfe1b4fcfbf8bd86b3c24ff619a5e4d3cfb
|
|
| MD5 |
bf75dd940aedf5d5b613737c6242e51a
|
|
| BLAKE2b-256 |
d243a6decd0cfbea141ef8413387760dc60d8f60265b92d4b5e0590e2bd9889b
|
File details
Details for the file types_python_snappy-0.7.3.0-py3-none-any.whl.
File metadata
- Download URL: types_python_snappy-0.7.3.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c643011f5bfc948e903ada154bfd445ddb9e3f3f08691c1f10b6d020034f30df
|
|
| MD5 |
275bc600987f0283ca1a3e07d278c96f
|
|
| BLAKE2b-256 |
2605ea6efb997af14197e5612d4ba79f37319b664453c0b17fd29336aff46974
|