py-w3
This is a reimplementation of the web3.storage HTTP api.
There is an existing implementation at https://pypi.org/project/web3storage, but at the time of writing it did not have an associated public source repository.
This project's source repository is at https://github.com/xloem/py-w3storage, and auto-merging of pull requests is enabled.
The API is open to any changes or improvements.
The official library at https://www.npmjs.com/package/web3.storage could be used as a baseline for such improvements.
examples
import w3storage
w3 = w3storage.API(token='w3-api-token')
some_uploads = w3.user_uploads(size=25)
# limited to 100 MB
helloworld_cid = w3.post_upload(('hello_World.txt', 'Hello, world.'))
readme_cid = w3.post_upload(('README.md', open('README.md', 'rb')))
# larger files can be uploaded by splitting them into .cars.
Metadata
Release files for w3storage 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| w3storage-0.0.1.tar.gz | 11.4 kB | Without provenance | Details for w3storage-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| w3storage-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for w3storage-0.0.1-py3-none-any.whl |
Total release size: 23.4 kB
Release files / w3storage-0.0.1.tar.gz
| Download URL | w3storage-0.0.1.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04b6946e5a4b0be9b3e867992b84450425564fd93e98e4d30afe70315251c69c
|
|
BLAKE2b-256 checksum How to use checksums |
a50feff461fd7027e6776d1329d704ed0617fb317cb9ff0571754623cb0b3455
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / w3storage-0.0.1-py3-none-any.whl
| Download URL | w3storage-0.0.1-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c600a683742a72f9c29780ecddc6698f69580a2a546a32c0ab67678b07a71208
|
|
BLAKE2b-256 checksum How to use checksums |
c699494805c96c2e1d9654cf57adfc4ab0fe28e478c3cc2195b8364accdd7a9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for w3storage 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.