Skip to main content

Web3 Token implementation for python

Using this package you can verify web3 token, get signer, signed message and statement

Getting it

To download web3-token, either fork this github repo or simply use PyPI via pip.

$ pip install web3-token

Usage

1 - Import

from web3_token import Web3Token

2 - Usage:

wt = Web3Token(token)

signer = wt.get_signer(validate=True)

token_data = wt.get_data()

statement = wt.statement

Metadata

Release files for web3-token 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for web3-token 1.0.0
File Size Uploaded Provenance Actions
web3-token-1.0.0.tar.gz 3.1 kB Without provenance Details for web3-token-1.0.0.tar.gz

Release files / web3-token-1.0.0.tar.gz

Download URL web3-token-1.0.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2cc14ec40af870bb266026373c05417a8327dc00ab7f4424fc4a9b4350c24fb9
BLAKE2b-256 checksum
How to use checksums
ae5d87a6dca78abbe348c80fbda63af1a36ee63e3f7ceee3fd2232aed566110f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.1

Security for web3-token 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page