A python wrapper for the Numworks workshop
Project description
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.createScript(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 editScript function, this will update the script at the end of the process and not break script
# Other parameter are updated throught Script object...
workshop.editScript(toaster, name="namev2")
workshop.deleteScript(toaster)
script = workshop.getScript(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 !
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
numWorkshop-0.1.2.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file numWorkshop-0.1.2.tar.gz
.
File metadata
- Download URL: numWorkshop-0.1.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2167410ac4c69c1cdb3c24738a1a5c9e781e4f36b2200dba4e23dbd989341217 |
|
MD5 | cc558f59658331c352de7d0238657a22 |
|
BLAKE2b-256 | 8bd06cf5d08c3baf768884974a92a2c80f5729345164dd72b6d002b506ee8605 |
Provenance
File details
Details for the file numWorkshop-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: numWorkshop-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73b659599803477d359afc0952d3601e029318fc632cddc67b10b96a0cffe751 |
|
MD5 | 138dcaf7f0616612f89cc631470ba4dc |
|
BLAKE2b-256 | 47923c117d95a6cf5d6299ba142fda4f1074eb001b044273a45465312a7746f3 |