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.3.post1.tar.gz
(11.2 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
File details
Details for the file pytokens-0.1.3.post1.tar.gz.
File metadata
- Download URL: pytokens-0.1.3.post1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
302f1bfcb02346b153b9adc440553b4f5690e258d17f1e587ddd9102a9acde34
|
|
| MD5 |
e01c91e60ce71a67aed5f316d567264e
|
|
| BLAKE2b-256 |
45136236aaef02195d1d87666dec40a9ad91ede057d683af52f5157ef0c5ffa3
|
File details
Details for the file pytokens-0.1.3.post1-py3-none-any.whl.
File metadata
- Download URL: pytokens-0.1.3.post1-py3-none-any.whl
- Upload date:
- Size: 11.2 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 |
770f1b8d65b3072adc5a793838026f3265cce5111edb6dfe69cb04edfd5f5eea
|
|
| MD5 |
3bc7aa178c1aed303483f95eeb3ec61a
|
|
| BLAKE2b-256 |
29ab476c85daaec0a0e735c961fb7c13d05299d5b932d66b601ceff3a0cf509c
|