FlaskBump
$ curl -L bump.area51.jb2170.com
1989
$ curl -L bump.area51.jb2170.com
1990
$ curl -L bump.area51.jb2170.com
1991
A simple Flask app that counts the number of requests to it, a visitor count perchance
Installing
I run this as a reverse proxy via Apache. Example systemd unit files and friends are in daemon-files of this repo
- create a venv, say in
~/.local/var/lib/FlaskBump, and source it $ pip install FlaskBump gunicorn- place the systemd unit file and shell script into the correct folders, for example I use
~/.local/var/lib/systemd/{etc/user,usr/bin} - place the
.htaccessfile in the public http folder corresponding to the domain you want to serve the app from - adjust the unix socket path in the
.htaccessfile and.serviceunit - copy the default
state.jsonfile fromdaemon-filesinto the app's working directory (as specified asWorkingDirectoryin the.servicefile)
Make sure you have the headers, proxy, and proxy_http modules enabled for Apache!
You can probably figure out the rest, enabling / starting the systemd service...
Metadata
Release files for FlaskBump 1.0.0
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 |
|---|---|---|---|---|
| flaskbump-1.0.0.tar.gz | 39.5 kB | Without provenance | Details for flaskbump-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FlaskBump-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for FlaskBump-1.0.0-py3-none-any.whl |
Total release size: 67.2 kB
Release files / flaskbump-1.0.0.tar.gz
| Download URL | flaskbump-1.0.0.tar.gz |
|---|---|
| Size | 39.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6023dd066392bdcc4edba0d3ee0d9ac552df51c84f0c90c9b4518503822aa37
|
|
BLAKE2b-256 checksum How to use checksums |
04f19b95579978bdd2d92167476892a868ee9086c91fe12c193151ade8d38be2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.7
|
Release files / FlaskBump-1.0.0-py3-none-any.whl
| Download URL | FlaskBump-1.0.0-py3-none-any.whl |
|---|---|
| Size | 27.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71553be6985bce9aff8824008b566889024480f7b39887b768b718bde8b3b30d
|
|
BLAKE2b-256 checksum How to use checksums |
39c1f22beb7632d54f826da1af400409c42a213569b860c3870e88d239b5df32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.7
|
Security for FlaskBump 1.0.0
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.