Provides `load_puzzle` which dynamic rebuilds if `chialisp_builder` is available.
Project description
chialisp_loader
This tiny wheel exports load_program
, which is used to load chialisp programs from resources included with python wheels.
Chialisp .clsp
files are compiled into .hex
output. Only .hex
output files need to be included in binary wheels
When load_program
is called, it tries to import chialisp_builder
. If it fails, it assumes this is running at deploy time: any .clsp
files are ignored, and the corresponding program is loaded from the .hex
file.
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
chialisp_loader-0.1.2.tar.gz
(2.4 kB
view details)
File details
Details for the file chialisp_loader-0.1.2.tar.gz
.
File metadata
- Download URL: chialisp_loader-0.1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 085080fc7d4a3fab90fe93db3c599391b869047846608da1ae92b54b4100e8a6 |
|
MD5 | c65ea1cc63ab28ddef8b17a2ef5d64d8 |
|
BLAKE2b-256 | eb0bb6d2201be1194e6264d67ec02f95f1ff0c6ac1bf7bb677ebf87859c74582 |