Skip to main content

image0

Flask text-entry service and database system

introduction

Upbox is a text-entry web program. Text and an optional comment is entered and then these are saved to a database.

image1

setup

sudo apt install sqlite
sudo pip install upbox

Flask

while true; do
    upbox --home="home.html"
done

The service should now be accessible via a link like the following: 10.10.10.95:443/upbox

Gunicorn

sudo gunicorn --workers=1 "upbox.__init__:WSGI(argv=['--home=home.html'])" --bind=0.0.0.0:443 --certfile=/home/user/certificates/fullchain.pem --keyfile=/home/user/certificates/privkey.pem

upbox database structure

There is one table in an upbox database called “data”. This table has the following fields:

field

description

comment

comment for entry

IP

IP address that created the entry

text

entry text

timestamp

entry creation timestamp

unique_ID

entry unique identifier

Metadata

Release files for upbox 2022.1.20.210

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for upbox 2022.1.20.210
File Size Uploaded Provenance Actions
upbox-2022.1.20.210.tar.gz 124.7 kB Without provenance Details for upbox-2022.1.20.210.tar.gz

Release files / upbox-2022.1.20.210.tar.gz

Download URL upbox-2022.1.20.210.tar.gz
Size 124.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f67faa3f1be058c89ff41dffea496a2b49a1d9c046b11ea7202faeb01f5afb5f
BLAKE2b-256 checksum
How to use checksums
b01528d1649169ea3b3df134a8ce9b129f65e5979a849e176fa4287e52b60e3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.8

Security for upbox 2022.1.20.210

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page