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
CPythondocker-compose --file docker-compose.cpython.yml up
- with
PyPydocker-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
Metadata
Release files for pagen 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pagen-0.0.0-cp313-cp313-macosx_13_0_x86_64.whl | CPython 3.13 | CPython 3.13 | macOS 13.0+ x86-64 | Details |
Release files / pagen-0.0.0-cp313-cp313-macosx_13_0_x86_64.whl
| Download URL | pagen-0.0.0-cp313-cp313-macosx_13_0_x86_64.whl |
|---|---|
| Size | 2.9 kB |
| Tags | CPython 3.13 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
7a6c0bf6aaa3bb38d3c71f9bfcd17fb3a959aed859e11d74c1208c81dcfc3633
|
|
BLAKE2b-256 checksum How to use checksums |
d90ff1d35f5a26553c7036b37002acc4b1288b5c62da2afb37f2436391c95a60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|