nut_cloud
an online shop and a cloud drive using SQLite, Flask as the backend and the Bootstrap framework to ameliorate the appearance of the frontend.
Usage
The first time
pip install nut-cloud-
- For Linux/macos/BSDs:
$ export FLASK_APP="nut_cloud" - For Windows Powershell:
$ $env:FLASK_APP="nut_cloud"
- For Linux/macos/BSDs:
$ flask init-db(Only needed on the first time running nut_cloud)$ flask run
Later
$ python -c 'import nut_cloud; nut_cloud.create_app().run()'
CAUTION
You need to configure the SECRET_KEY, WEBHOOK_SECRET_KEY and the HOSTNAME yourself!
You can put a config.py in the app instance folder to configure these settings.
Auto deploy
You can configure your WEBHOOK_SECRET_KEY to match the secret key of Github Webhooks,
then you can use Systemd to monitor file changes under {instance path}/restart/ and
restart the uwsgi server each time any file is changed.
Language
Simplified Chinese
License
Copyright (c) 2018-2019 Chijun Sima, Yixue Zhong
Licensed under the MIT License.
Metadata
Release files for nut-cloud 20.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nut_cloud-20.3.1.tar.gz | 375.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nut_cloud-20.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 764.9 kB
Release files / nut_cloud-20.3.1.tar.gz
| Download URL | nut_cloud-20.3.1.tar.gz |
|---|---|
| Size | 375.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff58a64538b0e604336db146d2d3ebf107166c7e505b5a9f70956ad940b7ee72
|
|
BLAKE2b-256 checksum How to use checksums |
b20ad7896d5d9715eb9950fc8d2f4fe7a6690185a726f2270f4cd6cdd15b16cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
|
Release files / nut_cloud-20.3.1-py3-none-any.whl
| Download URL | nut_cloud-20.3.1-py3-none-any.whl |
|---|---|
| Size | 389.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b57d8b5865998a9ccade74a355a9e02573f4f63581a709975ff9ccdefaa64f7
|
|
BLAKE2b-256 checksum How to use checksums |
c4acc58240613659e5674e2e78ab43687256a1df583b86a1a4b00e43e9bc88b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
|
Security for nut-cloud 20.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.