Hey, this is lib can like this:
from pyndustry.pyndustry import *
storage = CommandsStorage()
Mprint('Hello world!', 'message1')
storage.convert()
Output:
printflush message1
print "Hello world!"
and like this:
from pyndustry.pyndustry import *
from pyndustry.memory import *
storage = CommandsStorage()
mem = MemoryStorage('cell1')
Mif(mem[0] > 10,
Function(lambda :
Mprint('Wow', 'message1'))) \
.apply()
End()
storage.convert()
Output:
read memoryStorageResult__cell1 cell1 0
jump 3 greaterThan memoryStorageResult__cell1 10
jump 5 always x false
printflush message1
print "Wow"
end
and
from pyndustry.pyndustry import *
from pyndustry.graphics import *
storage = CommandsStorage()
display = Display('display1')
display.bind()
display.drawGameSprite(0.5, 0.5, sprites.blocks.router, 16, byCoefficient=True)
storage.convert()
Output:
drawflush display1
draw image 40.0 40.0 @router 16 0 0
Metadata
Release files for pyndustry 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyndustry-0.1.2.tar.gz | 13.3 kB | Without provenance | Details for pyndustry-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyndustry-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pyndustry-0.1.2-py3-none-any.whl |
Total release size: 29.6 kB
Release files / pyndustry-0.1.2.tar.gz
| Download URL | pyndustry-0.1.2.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
488e4e217f1042a88f9a547c47edb006a04b07149048851d2bd9f06f89531234
|
|
BLAKE2b-256 checksum How to use checksums |
74435141d561e4d141e00788f52aef60add4c5c3ca92af2d00b38031920ae068
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|
Release files / pyndustry-0.1.2-py3-none-any.whl
| Download URL | pyndustry-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba64ce4ffca81a8bd7ac135e9d41065f5cf88fd8af3445f0c94ffa3e08f5fa8a
|
|
BLAKE2b-256 checksum How to use checksums |
dfe8bebe49f0eb1159723043f82e32470703a97fe356c9bec20cf1cd0b2ba2f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|
Security for pyndustry 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.