nontrinsic/python
a Python wrapper for Nontrinsic
https://pypi.org/project/nontrinsic
- Python 100%
| src/nontrinsic | bump version | |
| .gitignore | first working version | |
| DOCS.md | it is pypi package time | |
| LICENSE | Initial commit | |
| pyproject.toml | now nontrinsic wrapper is truly os independent | |
| README.md | it is pypi package time | |
Nontrinsic Python wrapper
docs will be here when i uneep
Usage
Getting nonsense
from nontrinsic import Nontrinsic
non = Nontrinsic()
non.get_random_nonsense() # returns one random nonsense as Nonsense object
non.get_nonsense(uuid) # returns Nonsense object with uuid UUID
non.get_nonsense_image(uuid) # returns NonsensePartialFile with image of nonsense with uuid UUID
non.get_all_nonsense(query, format, before, after) #used to return all nonsenses in NonsenseList object with filters such as query, before and after, (all optional), format can be JSON, CSV or TXT, by default its JSON, CSV and TXT are returned as NonsenseFile objects
Misc
non.get_status() # returns NontrinsicStatus object