Poker Eval
Overview
Python PyO3 wrapper package over Rust crate poker_eval.
Cross compilation "linux2win" is done with cross.
Build
Commands:
# prerequisite
mm activate work
pip install -U build
# dev install
pip install -e .
# watch
cargo watch --watch rust -- pip install -e .
# test
pytest
# install
pip install .
# ------- build native wheel
unset CARGO
unset CARGO_BUILD_TARGET
unset PYO3_CROSS_LIB_DIR
unset PYO3_CROSS_PYTHON_VERSION
unset DIST_EXTRA_CONFIG
python -m build
# ------- build manylinux wheel
# image used by build
docker build -t builder-manylinux:local -f ./Dockerfile.manylinux .
# build wheels for several python versions
docker run --rm -v $(pwd):/io builder-manylinux:local /bin/bash /io/build-manylinux-wheels.sh
# ------- build windows wheel - using cross
# prerequisite
cargo install cross
export CARGO=cross
export CARGO_BUILD_TARGET=x86_64-pc-windows-gnu
export DIST_EXTRA_CONFIG=/tmp/build-opts.cfg
# set wheel suffix
echo -e "[bdist_wheel]\nplat_name=pc_windows_gnu_x86_64" > $DIST_EXTRA_CONFIG
# image used by cross
docker build -t cross-pyo3:x86_64-pc-windows-gnu -f ./Dockerfile.win .
# build windows wheel
python -m build
This produced wheels for linux and windows:
ls -1 dist
pyo3_poker_eval-0.1.0-cp310-cp310-linux_x86_64.whl
pyo3_poker_eval-0.1.0-cp310-cp310-pc_windows_gnu_x86_64.whl
pyo3_poker_eval-0.1.0.tar.gz
Publish
Commands:
# prerequisite
mm activate work
pip install -U twine auditwheel
twine check dist/*
# assuming .pypirc configured
twine upload dist/*
Install
Commands:
############ TBD - no ready yet
pip install pyo3_poker_eval
Ref
Python packaging offical recommendation: Is setup.py deprecated?.
Metadata
Release files for pyo3-poker-eval 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyo3_poker_eval-0.1.0.tar.gz | 5.9 kB | Without provenance | Details for pyo3_poker_eval-0.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| pyo3_poker_eval-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details for pyo3_poker_eval-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| pyo3_poker_eval-0.1.0-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details for pyo3_poker_eval-0.1.0-cp310-cp310-win_amd64.whl |
| pyo3_poker_eval-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details for pyo3_poker_eval-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| pyo3_poker_eval-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details for pyo3_poker_eval-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
Total release size: 1.3 MB
Release files / pyo3_poker_eval-0.1.0.tar.gz
| Download URL | pyo3_poker_eval-0.1.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41baa9ae1b74a2a1fa87ad9c7aab301af1a567e26733b68f09c3491c71368e8e
|
|
BLAKE2b-256 checksum How to use checksums |
1c51bbc126afb8e890a89e1a0c989e34aa88f8c535635bf746bed41e88f69502
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / pyo3_poker_eval-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyo3_poker_eval-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 324.7 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7dbde17d3c53aa5f47f735b682d455ffe4b0dddf0fd29a2918aba1346c2b1694
|
|
BLAKE2b-256 checksum How to use checksums |
760a40a7461a4a95b3178acc9fe186fac11ddba50cc563fd63472767aea71b4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / pyo3_poker_eval-0.1.0-cp310-cp310-win_amd64.whl
| Download URL | pyo3_poker_eval-0.1.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 290.3 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3827c088989e70de8e166d91113d54c1a067a0e67c37f0a95c18bd87c0473e3e
|
|
BLAKE2b-256 checksum How to use checksums |
ee1192f54dc2e4feef36d0c6f1df3a6928a214ca5fec9e0d2b8546c5644c9f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / pyo3_poker_eval-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyo3_poker_eval-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 324.6 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3d27ce87825d81cdc9f111d98b170d7562ef83f7f6e412a4d73c6b38934fa71c
|
|
BLAKE2b-256 checksum How to use checksums |
f725c6f8eb3c3456ea63c14223d1656c2cb4db34a5e293087092ac1e82d4cc34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / pyo3_poker_eval-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pyo3_poker_eval-0.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 324.6 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e677bb01a9d6648679cc8d67177cde2c8b03c6bdca23880cdc0750fc98dae547
|
|
BLAKE2b-256 checksum How to use checksums |
19b2c42505408acd1828e149e16eb30109914f6b06d995469f94e743b5dcb299
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Security for pyo3-poker-eval 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.