quickselect
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
python -m pip install --upgrade pip setuptools
User
Download and install the latest stable version from PyPI repository
python -m pip install --upgrade quickselect
Developer
Download the latest version from GitHub repository
git clone https://github.com/lycantropos/quickselect.git
cd quickselect
Install
python -m pip install -e .
Development
Bumping version
Preparation
Install bump2version.
Pre-release
Choose which version number category to bump following semver specification.
Test bumping version
bump2version --dry-run --verbose $CATEGORY
where $CATEGORY is the target version number category name, possible
values are patch/minor/major.
Bump version
bump2version --verbose $CATEGORY
This will set version to major.minor.patch-alpha.
Release
Test bumping version
bump2version --dry-run --verbose release
Bump version
bump2version --verbose release
This will set version to major.minor.patch.
Running tests
Install with dependencies
python -m pip install -e .[tests]
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 quickselect 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quickselect-0.2.2.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quickselect-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.2 kB
Release files / quickselect-0.2.2.tar.gz
| Download URL | quickselect-0.2.2.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4487c25f3c363cc046f724e42c20f7ff629d6a298660479bc8aef78a7868c03f
|
|
BLAKE2b-256 checksum How to use checksums |
fd476cfd0aaea917b913c5cb834598af631326f9babe4b2c2fe4b99ef0ff1505
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.4
|
Release files / quickselect-0.2.2-py3-none-any.whl
| Download URL | quickselect-0.2.2-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7f2a0e59841694db06d01407939db0bfeadd44f39379d79056960fe5cfe1332
|
|
BLAKE2b-256 checksum How to use checksums |
b9685d08e32ed823ebee885908efead44ae1da5b8b11fb3466441c760dbff034
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.4
|