A Fast, spec compliant Python 3.12+ tokenizer that runs on older Pythons.
Project description
pytokens
A Fast, spec compliant Python 3.12+ tokenizer that runs on older Pythons.
Installation
pip install pytokens
Usage
pytokens path/to/file.py
Local Development / Testing
- Create and activate a virtual environment
- Run
pip install -r requirements-dev.txtto do an editable install - Run
pytestto run tests
Type Checking
Run mypy .
Create and upload a package to PyPI
Make sure to bump the version in setup.cfg.
Then run the following commands:
rm -rf dist
python -m build
Then upload it to PyPI using twine:
twine upload dist/*
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
pytokens-0.1.9.tar.gz
(11.7 kB
view details)
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
pytokens-0.1.9-py3-none-any.whl
(11.5 kB
view details)
File details
Details for the file pytokens-0.1.9.tar.gz.
File metadata
- Download URL: pytokens-0.1.9.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
821f5bcb19de9cc1166c051e0e5928c2925c3eadd7a6f1a489156fe57d082c3d
|
|
| MD5 |
84905842fd535ed801127a9a7b42ba05
|
|
| BLAKE2b-256 |
4801b08ecdca8911b7296552deeb04aacb3c2acbb2f3f13cdb16d0b45d0c69ea
|
File details
Details for the file pytokens-0.1.9-py3-none-any.whl.
File metadata
- Download URL: pytokens-0.1.9-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9b7b0211a17cf5b815bb01075f24d9c45295c566a558ab0784a5075683076aa
|
|
| MD5 |
db036aa4f25b8a09717144839801920e
|
|
| BLAKE2b-256 |
df03669a2bdc8beb31836395d3697e72d27dc38aa544fb62256bcc8c9c528d15
|