txwebbackendbase
Generic Base framework for Web App backend using Twisted
Free software: MIT
Features
Set of utility function not part of Twisted official library I often need, for example:
txwebbackendbase.logging.setupLogger: setup colorful logger (if colorlog installed)
txwebbackendbase.request.[jsonify|dejsonify]: send or receive json with request/treq
txwebbackendbase.singleton.singleton: declare a class as singleton to instance it once in the whole application
txwebbackendbase.threading.deferredAsThread: function decorator to run a blocking function in a thread
Note: See pipenv documentation for Pipfile specification.
Contributing
Create your environment with
$ make dev
Activate the environment:
$ make shell
Execute a command directly inside the environment:
$ make run
Execute unit tests:
$ make test-unit
Build source package:
Use it for most package without low level system dependencies.
make pypi
Build binary package:
Needed for package with a C or other low level source code.
make bdist
Build Wheel package:
Always provide a wheel package.
make wheel
(Only for package owner)
Create a release:
Go on GitHub and create a tag with a semver syntax. Optionally you can tag code locally and push to GitHub.
git tag 1.2.3 make pushOn successful travis build on the Tag branch, your Pypi package will be updated automatically.
Metadata
Release files for txwebbackendbase 0.2.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 | Actions |
|---|---|---|---|---|
| txwebbackendbase-0.2.1.tar.gz | 20.7 kB | Without provenance | Details for txwebbackendbase-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| txwebbackendbase-0.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for txwebbackendbase-0.2.1-py2.py3-none-any.whl |
Total release size: 36.1 kB
Release files / txwebbackendbase-0.2.1.tar.gz
| Download URL | txwebbackendbase-0.2.1.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f42b5fd6c69fa8837011ab597360a9f25cfd2b2d2de858cafba4b8323d1d5d5e
|
|
BLAKE2b-256 checksum How to use checksums |
ca1111f2d59be6f003b469af73cc4f2876b9960d5eb09f87564939159d4bd44f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / txwebbackendbase-0.2.1-py2.py3-none-any.whl
| Download URL | txwebbackendbase-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fc150a0bd1e5d106bd93ffc48dfad4134386d6a628780b367a6b5b0fd0a28003
|
|
BLAKE2b-256 checksum How to use checksums |
bbfbe95ecb2606e0a9e89a4d56aa339ae9344c65028fc6750a0b37cb8d2f0091
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for txwebbackendbase 0.2.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.