pagen

Crates.iopagen
lib.rspagen
version0.0.0
created_at2025-11-19 23:34:18.119692+00
updated_at2025-11-19 23:34:18.119692+00
descriptionParser generator.
homepage
repository
max_upload_size
id1940937
size38,212
Azat Ibrakov (lycantropos)

documentation

README

pagen

In what follows python is an alias for python3.10 or pypy3.10 or any later version (python3.11, pypy3.11 and so on).

Installation

Install the latest pip & setuptools packages versions

python -m pip install --upgrade pip setuptools

User

Download and install the latest stable version from PyPI repository

python -m pip install --upgrade pagen

Developer

Download the latest version from GitHub repository

git clone https://github.com/lycantropos/pagen.git
cd pagen

Install

python setup.py install

Development

Bumping version

Preparation

Install bump-my-version.

Release

Choose which version number category to bump following semver specification.

Test bumping version

bump-my-version bump --dry-run --verbose $CATEGORY

where $CATEGORY is the target version number category name, possible values are patch/minor/major.

Bump version

bump-my-version bump --verbose $CATEGORY

This will set version to major.minor.patch.

Running tests

Install dependencies

python -m pip install -r requirements-tests.txt

Plain

pytest

Inside Docker container:

  • with CPython
    docker-compose --file docker-compose.cpython.yml up
    
  • with PyPy
    docker-compose --file docker-compose.pypy.yml up
    

Bash script:

  • with CPython

    ./run-tests.sh
    

    or

    ./run-tests.sh cpython
    
  • with PyPy

    ./run-tests.sh pypy
    

PowerShell script:

  • with CPython
    .\run-tests.ps1
    
    or
    .\run-tests.ps1 cpython
    
  • with PyPy
    .\run-tests.ps1 pypy
    
Commit count: 0

cargo fmt