A Fast, spec compliant Python 3.13+ tokenizer that runs on older Pythons.
Project description
pytokens
A Fast, spec compliant Python 3.13+ tokenizer that runs on older Pythons.
Installation
pip install pytokens
Usage
python -m 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.2.0.tar.gz
(15.4 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.2.0-py3-none-any.whl
(12.0 kB
view details)
File details
Details for the file pytokens-0.2.0.tar.gz.
File metadata
- Download URL: pytokens-0.2.0.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
532d6421364e5869ea57a9523bf385f02586d4662acbcc0342afd69511b4dd43
|
|
| MD5 |
7270a2510ded2308f999e37f4d9ccf46
|
|
| BLAKE2b-256 |
d4c2dbadcdddb412a267585459142bfd7cc241e6276db69339353ae6e241ab2b
|
File details
Details for the file pytokens-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pytokens-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.0 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 |
74d4b318c67f4295c13782ddd9abcb7e297ec5630ad060eb90abf7ebbefe59f8
|
|
| MD5 |
5464aae39721c2efb13bea76fe420f8b
|
|
| BLAKE2b-256 |
895ac269ea6b348b6f2c32686635df89f32dbe05df1088dd4579302a6f8f99af
|