root/alpine313/: pytokens-0.4.1 metadata and description

Simple index PyPI page

A Fast, spec compliant Python 3.14+ tokenizer that runs on older Pythons.

author_email Tushar Sadhwani <tushar.sadhwani000@gmail.com>
classifiers
  • License :: OSI Approved :: MIT License
  • Operating System :: OS Independent
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3 :: Only
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Programming Language :: Python :: 3.14
  • Programming Language :: Python :: Implementation :: CPython
  • Typing :: Typed
description_content_type text/markdown
dynamic
  • license-file
license MIT License Copyright (c) 2024 Tushar Sadhwani Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
license_file
  • LICENSE
project_urls
  • Homepage, https://github.com/tusharsadhwani/pytokens
provides_extras
  • dev
requires_dist
  • black; extra == "dev"
  • build; extra == "dev"
  • mypy; extra == "dev"
  • pytest; extra == "dev"
  • pytest-cov; extra == "dev"
  • setuptools; extra == "dev"
  • tox; extra == "dev"
  • twine; extra == "dev"
  • wheel; extra == "dev"
requires_python >=3.8
File Tox results History
pytokens-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl
Size
261 KB
Type
Python Wheel
Python
3.13
pytokens-0.4.1-py3-none-any.whl
Size
13 KB
Type
Python Wheel
Python
3

pytokens

A Fast, spec compliant Python 3.14+ tokenizer that runs on older Pythons.

Installation

pip install pytokens

Usage

python -m pytokens path/to/file.py

Local Development / Testing

Type Checking

Run mypy .

Compilation with mypyc

By default, we compile with mypyc. Use the PYTOKENS_USE_MYPYC environment variable to control this.

To check if you are using a compiled version, see whether the output of this is .py or .so:

python -c "import pytokens; print(pytokens.__file__)"

Create and upload a package to PyPI

  1. Make sure to bump the version in pyproject.toml.
  2. Push to Github so CI can build the wheels and sdist.
  3. Download the artifacts from the CI run.
  1. Unzip the artifact.
  2. Upload the contents of the artifact to PyPI