Rust-powered GGGP core with Python bindings
Project description
gggp
Minimal Rust Library + Python SDK foundation for GGGP.
This repository currently provides a small Python extension module (built from Rust via pyo3 + maturin) to establish release and CI/CD workflows.
Install (local)
python -m pip install -U pip maturin
maturin build --release -o dist
python -m pip install dist/*.whl
Python API
import gggp
print(gggp.version())
child_a, child_b = gggp.one_point_crossover([1, 2, 3], [10, 20, 30], split=1)
mutated = gggp.mutate_gene([1, 2, 3], index=2, value=99)
Release
- Configure PyPI Trusted Publisher for this repository and workflow file:
- Repository:
olkhovoy/gggp - Workflow:
.github/workflows/publish.yml
- Repository:
- Create and push a version tag:
git tag v0.1.0
git push origin v0.1.0
The publish workflow will build wheel + sdist and upload to PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gggp-0.1.0.tar.gz.
File metadata
- Download URL: gggp-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27e7c5e12a75e2ed08b28acbeadbe9a0b85d32ce1d3753cf0e0672ce3505e9cf
|
|
| MD5 |
4b686042f956468dbc5db2e1e356cb1b
|
|
| BLAKE2b-256 |
c44815d2638092ac66ededed9e6c18c716cff000e5bec6150753deec0cd5833f
|
Provenance
The following attestation bundles were made for gggp-0.1.0.tar.gz:
Publisher:
publish.yml on olkhovoy/gggp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gggp-0.1.0.tar.gz -
Subject digest:
27e7c5e12a75e2ed08b28acbeadbe9a0b85d32ce1d3753cf0e0672ce3505e9cf - Sigstore transparency entry: 953413494
- Sigstore integration time:
-
Permalink:
olkhovoy/gggp@fba0f6e6f8daa5ac5aad1041705e8e9a593aa36f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/olkhovoy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fba0f6e6f8daa5ac5aad1041705e8e9a593aa36f -
Trigger Event:
push
-
Statement type:
File details
Details for the file gggp-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: gggp-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 237.3 kB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7557f35c892e365b171c07e10e53895934f91b1fa5350e0fe1beff9b3b1fce36
|
|
| MD5 |
d1a88d2b5d2b2ea0a63439ceb14eeca0
|
|
| BLAKE2b-256 |
8c3ed8a77fd14cc3072779013101749fac2309ddd2405eac98385f3c99dd1b10
|
Provenance
The following attestation bundles were made for gggp-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl:
Publisher:
publish.yml on olkhovoy/gggp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gggp-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl -
Subject digest:
7557f35c892e365b171c07e10e53895934f91b1fa5350e0fe1beff9b3b1fce36 - Sigstore transparency entry: 953413495
- Sigstore integration time:
-
Permalink:
olkhovoy/gggp@fba0f6e6f8daa5ac5aad1041705e8e9a593aa36f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/olkhovoy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fba0f6e6f8daa5ac5aad1041705e8e9a593aa36f -
Trigger Event:
push
-
Statement type: