Skip to main content

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

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)

Source distribution for pyndustry 0.1.2
File Size Uploaded
pyndustry-0.1.2.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyndustry 0.1.2
File Interpreter ABI Platform
pyndustry-0.1.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page