Enhydris-synoptic - Display current weather conditions
Enhydris-synoptic is an app that adds a page to Enhydris that shows current conditions in several stations.
Note that it does not check permissions; any synoptic view created will be public, regardless of whether the timeseries from which it is derived are marked top secret.
Enhydris-synoptic is free software, available under the GNU Affero General Public License.
Installing and configuring
pip install enhydris-synoptic
In the Enhydris settings.py file, add enhydris_synoptic to INSTALLED_APPS, and set ENHYDRIS_SYNOPTIC_ROOT and ENHYDRIS_SYNOPTIC_URL.
Enhydris-synoptic works by creating static files which are then served by the web server. ENHYDRIS_SYNOPTIC_ROOT indicates where this files shall be stored. ENHYDRIS_SYNOPTIC_URL is currently not used anywhere, but it’s better to set it anyway; later versions might start to use it without warning.
In the Enhydris configuration directory, execute python manage.py migrate.
Run celery and celerybeat, and configure celerybeat to execute the enhydris_synoptic.tasks.create_static_files task once in a while.
Configure your web server to serve ENHYDRIS_SYNOPTIC_ROOT at ENHYDRIS_SYNOPTIC_URL.
Go to the admin and setup a view.
After celery executes, the report will be available at ENHYDRIS_SYNOPTIC_URL + slug + '/', where slug is the URL identifier given to the synoptic view.
Metadata
Release files for enhydris-synoptic 0.1.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 |
|---|---|---|---|---|
| enhydris-synoptic-0.1.1.tar.gz | 9.2 kB | Without provenance | Details for enhydris-synoptic-0.1.1.tar.gz |
Release files / enhydris-synoptic-0.1.1.tar.gz
| Download URL | enhydris-synoptic-0.1.1.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f9f62c8f56341c14b2b425559f21a4fb612b391392369fe062d7a16a50c627f
|
|
BLAKE2b-256 checksum How to use checksums |
504da2906860d65122374a8f9eaeee2217d8feec70f2166cfba81b70aac981e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for enhydris-synoptic 0.1.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.