rene
In what follows python is an alias for python3.8 or pypy3.8
or any later version (python3.9, pypy3.9 and so on).
Installation
Install the latest pip & setuptools packages versions
User
Download and install the latest stable version from PyPI repository
Developer
Download the latest version from GitHub repository
Install
Usage
>>>
>>> =
>>> ==
True
>>> & ==
True
>>> | ==
True
>>> - ==
True
>>> ^ ==
True
>>> == 4
True
>>> == 0
True
>>>
>>>
True
>>>
>>>
>>> =
>>>
True
>>>
True
Development
Bumping version
Preparation
Install bump2version.
Pre-release
Choose which version number category to bump following semver specification.
Test bumping version
where $CATEGORY is the target version number category name, possible
values are patch/minor/major.
Bump version
This will set version to major.minor.patch-alpha.
Release
Test bumping version
Bump version
This will set version to major.minor.patch.
Running tests
Install dependencies
Plain
Inside Docker container:
- with
CPython - with
PyPy
Bash script:
-
with
CPythonor
-
with
PyPy
PowerShell script:
- with
CPython
or.\run-tests.ps1.\run-tests.ps1 cpython - with
PyPy.\run-tests.ps1 pypy