Skip to main content

Numworks-workshop.py

This project is a python wrapper for the numworks workshop.

How to install ?

Just install the pypi package

With pip :

pip install numworkshop

Or with poetry :

poetry add numworkshop

How to use ?

from numWorkshop import Script, Workshop

workshop = Workshop("email", "password")

toaster = Script(name="name",
                 description="description",
                 content="print('hello-world')",
                 public=True)

workshop.create_script(toaster)
toaster.content = "print('nsi.xyz')"

# Since we use the script name to get acess and edit your script, your should use the name parameter
# of the edit_script method, this will update the script at the end of the process and not break script
# Other parameter are updated throught Script object...
workshop.edit_script(toaster, name="namev2")
workshop.delete_script(toaster)

script = workshop.get_script("https://workshop.numworks.com/python/thierry-barry/annuite_constante")  # This return a script object.
print(script)

If you find a bug or want a new feature you can open an issue.

Adding feature ?

First clone the project :

git clone https://github.com/LeGmask/numWorkshop.git

Install project with poetry :

poetry install

Then you're ready to go !

Metadata

Release files for numworkshop 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for numworkshop 0.1.4
File Size Uploaded
numWorkshop-0.1.4.tar.gz 3.9 kB Details

Built distribution (wheel)

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

Total release size: 7.8 kB

Release files / numWorkshop-0.1.4.tar.gz

Download URL numWorkshop-0.1.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b32b746f8a285016750b9e88abad29ce68c55fe1c50ba4d7e083c4b165c2bc16
BLAKE2b-256 checksum
How to use checksums
864e828e25c3a8ff7a3fe699fd9e9534c54b7d9e3ae181ac4d672d83c4c4d0ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Windows/10

Release files / numWorkshop-0.1.4-py3-none-any.whl

Download URL numWorkshop-0.1.4-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99d73ae60c3a4501857a965a2f330aafbc3fcf2659e1efec163db383fee10c0c
BLAKE2b-256 checksum
How to use checksums
2abb1d8fbbc6d41165b08975102023c3e3a19d9a70b517b67c5ef3dd1c173224
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Windows/10

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.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