ySanic subclass with some addons to sanic
Project description
ySanic
ySanic is a Sanic subclass with a bunch of utilities to help the developer to work with it in the context of the yRest framework (which includes yModel and yAuth by the moment and yOpenSanic in the future)
yBlueprint adds some decorators and route creators both for CRUD and tree models
Example
In the tests folder there is an app with two models: Todos and Nodes Todos shows how to program the typical plain structure while Nodes shows how to program the tree ones If you respect the contract you could use the helpers (like the routes generators)
Installation
pip install ySanic
Help
Feel free to help if you think something is weird or incomplete by submiting a pull request
What is already needed
- [] More testing
- [] Continous integration
- [] Better help & documentation
I'm not a technical person but still want to help
You can tip the project with cryptos too:
BTC: 1GtKxwZGR65ar9V8xafxhMiniZyqXej2GC
ETH: 0x01bd478b8C07633D2f4E58AC553f72CE4E590d56
LTC: LYUzrFX6ck5uMhw5VqcD9piQHnX7oeSLdh
XMR: 49stcvbfjEkWLjb6mdG21zMJ3uRrLmN3bazGQ8cHjjsVHYYyY61N6P7emCXhpsvB2Vc8Uuz2FA1Qk6hkE8e4ADmJQQ64eyT
ADA: DdzFFzCqrhsoUF5UjGGAYUayV5uNCJZ17PJn9V8X9MTQ26m2wDVycme42gufKufPNWMazfJLg8RKHpc1iFvn6j8BTJjaozGtLPzCDx5t
NEM: NDGYO6X3NTD6CX3V7MCCYKQPBIOYGZRXEKDLCDW2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ySanic-0.1.0.tar.gz
.
File metadata
- Download URL: ySanic-0.1.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d95c136adfbc33837724a2616283de85b3c7492e3561f0634b90091d87d5a28 |
|
MD5 | 252e8fa05f522d8dc72495eb97faf877 |
|
BLAKE2b-256 | f94193bb29bcfba0f873ae5990d6f248e239750d4a43acef9fa53ce5c30fa6f5 |
File details
Details for the file ySanic-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: ySanic-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d82b81d19d63709f6eeb588881a4c37861ef88ec63629dc18e3c3e563066a181 |
|
MD5 | b4b1ec9bb0faa3aef2566eb806c06ff0 |
|
BLAKE2b-256 | 72bab674c705aa7214ff39f463e0d78daca4bd5972a9b3ccc3cb142de742ab6d |