Metadata-Version: 2.1
Name: numworkshop
Version: 0.1.2
Summary: A python wrapper for the Numworks workshop
Home-page: https://workshop.numworks.com/
License: MIT
Keywords: Numworks,workshop
Author: Evann DREUMONT
Author-email: 53308142+LeGmask@users.noreply.github.com
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet
Classifier: Topic :: Utilities
Requires-Dist: beautifulsoup4 (>=4.9.3,<5.0.0)
Requires-Dist: requests (>=2.25.1,<3.0.0)
Project-URL: Repository, https://github.com/LeGmask/numWorkshop
Description-Content-Type: text/markdown

# Numworks-workshop.py

This project is a python wrapper for the numworks [workshop](workshop.numworks.com/).

## How to install ?

Just install the pypi [package](https://pypi.org/project/numworkshop/)

With pip :

```
pip install numworkshop
```

Or with poetry :

```
poetry add numworkshop
```

## How to use ?

```py
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](https://python-poetry.org) :

```
poetry install
```

Then you're ready to go !

