Skip to main content

Python bindings for APGman shell scripts

Project description

APGman Python API README

FOR THE MAIN README PLEASE SEE README.md

To use

Install

pip install apgman

Import

import apgman

Functions

add_rule(rule_file: str) -> str

Adds a .rule file to APGman.

build(rule: str = 'b3s23', symmetry: str = 'C1') -> str

Builds a new instance of APGman

init(path: Optional[str] = None) -> str

Installs APGman on your system.

run(rule: str = 'b3s23', symmetry: str = 'C1', *args: str) -> str

Runs a search using apgman

Example

# Can be also found in /example.py
import apgman

apgman.build("b3s23", "C1")
apgman.run("b3s23", "C1", "-t", "1", "-n", "1000000", "-p", "4")

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

apgman-0.2.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

apgman-0.2.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file apgman-0.2.1.tar.gz.

File metadata

  • Download URL: apgman-0.2.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for apgman-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f5f02f40ca8ec8cb1597d9d70a6abb877f5479c1e5ae37fe23adeac17cdfbb6e
MD5 eee031815ce8e8420c4b013df837cbd0
BLAKE2b-256 5da4e8686b6953282a993c4d84e02f8d7b59a63134f2323cc72829b7245761e3

See more details on using hashes here.

File details

Details for the file apgman-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: apgman-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for apgman-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc39e4d9521d25a5991e9ebb87af4676acdd7f42394436deaa110207d33ccf38
MD5 07e66e32e41b999de8dca15b87bfa73e
BLAKE2b-256 443d2c929383e61483ec48db9fc2f52c6662e9bf086740320be77a52243050a2

See more details on using hashes here.

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