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
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 apgman-0.2.2.tar.gz.
File metadata
- Download URL: apgman-0.2.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c83ef174d61b539df29c1f139d3dfbf7745e6778a5793d9cda8de3d453d14b2
|
|
| MD5 |
fbf6c7d6d96c2cb620b304ae9d8facac
|
|
| BLAKE2b-256 |
09aedb2f87d0b2e855bb8c5a20f2d6a29076c6d4b4dd7ee2a431fddd302c1ec5
|
File details
Details for the file apgman-0.2.2-py3-none-any.whl.
File metadata
- Download URL: apgman-0.2.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5e606fad354d9397e0136cb21229f86482d15b460ad671913f503132a2a5883
|
|
| MD5 |
eb30f455665ca95a153a8c09ea79195d
|
|
| BLAKE2b-256 |
ed0b7a9512eaf0a2eb1f391d3d59f082b83290449b54638e3921e5e7528dc6f6
|