Skip to main content

A Webservice for Scraping Files and Plotting Data Against Presidential Party Variation

patella uses Flask to host an interactive html/css/js frontend through which users can navigate to data and plot it.

Flask Url Paths

patella uses the http GET and POST commands to send data between one page and another. The homepage paths are / and /index from which you can navigate to the rest of the front end.

Install and Run Directions

patella is uploaded to the pip package repository.

To install, simply run pip install patella. A requirements.txt file that comes with the package specifies its dependencies. Install these with pip install -r requirements.txt. It is recommended you run this in a virtual environment so as not to interfere with previous installations.

To start the Flask server, run patella startup <URL>, where URL is the path to be prepended to the page url. Next, use a browser to browse to 127.0.0.1:4444. To access the service from other computers on the same network, use the public ip of the host computer on port 4444. From these two addresses the webservice can be accessed as long as the server is running.

Files

Log Files

A log file will be generated in the path that you run the webservice from named webservice.log. this file includes server reloads, error reporting, logs get and post requests and debugger pins. POST and GET logs are timestamped, but others are not

Data Files

Data files from the webservice will be downloaded to a data/ directory created at runtime in the directory the server is started from. In that directory, all files downloaded from the webservice will be browseable.

Metadata

Release files for patella 0.1.12

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

Source distribution (sdist)

Source distribution for patella 0.1.12
File Size Uploaded Provenance Actions
patella-0.1.12.tar.gz 10.1 kB Without provenance Details for patella-0.1.12.tar.gz

Release files / patella-0.1.12.tar.gz

Download URL patella-0.1.12.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d0a1146f0de9f1cb052dfc9153b21f927f32b5dcf78dba840bb5e782b833f49a
BLAKE2b-256 checksum
How to use checksums
ef422de780296f580e21acdb0191473e40f5f2e8d3b4c0baf8b6529f1a2bdd87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for patella 0.1.12

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