ascutil 0.1.0__cp311-cp311-musllinux_1_2_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ascutil/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ from .ascutil import *
2
+
3
+ __doc__ = ascutil.__doc__
4
+ if hasattr(ascutil, "__all__"):
5
+ __all__ = ascutil.__all__
ascutil/__init__.pyi ADDED
@@ -0,0 +1,2 @@
1
+ def mutate(fpath: str, rows: list[int], columns: list[int], mutation_chance: float) -> None:
2
+ """Mutates a circuit.asc in place. Rows and columns are 0 indexed."""
ascutil/py.typed ADDED
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: ascutil
3
+ Version: 0.1.0
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
9
+ Project-URL: Homepages, https://github.com/heiljj/ascutil
10
+
11
+ # ascutil
12
+ Python bindings for fast .asc circuit mutation.
13
+
14
+ ## Usage
15
+ ```
16
+ from ascutil import mutate
17
+
18
+ rows = list(range(16))
19
+ columns = list(range(54))
20
+ mutate("circuit_copy.asc", rows, columns, 0.5)
21
+ ```
22
+
23
+ ## Building
24
+ ```
25
+ python3 -m venv .venv
26
+ source .venv/bin/activate
27
+ pip install maturin
28
+ maturin build --release
29
+ ```
@@ -0,0 +1,8 @@
1
+ ascutil/__init__.py,sha256=20rsLVhYScrn7a0zkT14R64ovgqqjy_miaA6WTVMtvo,111
2
+ ascutil/__init__.pyi,sha256=-egqSrKBTScIh13U7kgdkT1wxYt39j8RrVNgtSQT0yA,166
3
+ ascutil/ascutil.cpython-311-x86_64-linux-musl.so,sha256=LICzpoYalWyNEB1HHLRsXm1lrp-LdeTpXraGqr94Chc,576001
4
+ ascutil/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ ascutil-0.1.0.dist-info/METADATA,sha256=n8dUWYgR6w_Qt-i8vDGZonHoWfb6fQG-_r7osws2t_g,696
6
+ ascutil-0.1.0.dist-info/WHEEL,sha256=SOYpkoDtrfa34OrnBaS7eRKsTczHd0mjHpvWdlXWVc8,108
7
+ ascutil.libs/libgcc_s-f685abf1.so.1,sha256=rZiUpi-nw8tNSOJeN-vr3RTEAMCMaHf73gTNGVqRdKs,536145
8
+ ascutil-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.11.5)
3
+ Root-Is-Purelib: false
4
+ Tag: cp311-cp311-musllinux_1_2_x86_64
Binary file