Skip to main content

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

  1. Configure PyPI Trusted Publisher for this repository and workflow file:
    • Repository: olkhovoy/gggp
    • Workflow: .github/workflows/publish.yml
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gggp-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gggp-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (237.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

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

Hashes for gggp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 27e7c5e12a75e2ed08b28acbeadbe9a0b85d32ce1d3753cf0e0672ce3505e9cf
MD5 4b686042f956468dbc5db2e1e356cb1b
BLAKE2b-256 c44815d2638092ac66ededed9e6c18c716cff000e5bec6150753deec0cd5833f

See more details on using hashes here.

Provenance

The following attestation bundles were made for gggp-0.1.0.tar.gz:

Publisher: publish.yml on olkhovoy/gggp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gggp-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for gggp-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7557f35c892e365b171c07e10e53895934f91b1fa5350e0fe1beff9b3b1fce36
MD5 d1a88d2b5d2b2ea0a63439ceb14eeca0
BLAKE2b-256 8c3ed8a77fd14cc3072779013101749fac2309ddd2405eac98385f3c99dd1b10

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page