A collection manager.
Project description
Hector — a collection manager
Install
For the time being, Hector cannot be installed from PyPI. See CONTRIBUTING.md to set up a development environment.
Configure
Hector is configured using environment variables.
All the variable names are prefixed with HECTOR_
.
$ export HECTOR_SECRET_KEY="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
$ export HECTOR_DSN="sqlite:///data.sqlite"
The secret can be generated using the token_hex()
function from
the Python's secrets
module.
Additional Python database drivers might be required depending on the DSN.
See the settings
module for
a comprehensive list of configuration variables.
Initialise
Once configured, you must initialise Hector's database with the dedicated command:
$ hector init-db
Run
Hector being a Flask application, it can be run using any WSGI server, for instance, with Gunicorn:
$ gunicorn --access-logfile="-" -w 4 -b 127.0.0.1:3000 "bl_hector.configuration.wsgi:app()"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for bl_hector-0.1.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f7c29517dd9600be161f01114e3dd47ec893b8a2829e302db1686dc6de4426 |
|
MD5 | 33df8b02acb00f9b98ff2a1948a0bea8 |
|
BLAKE2b-256 | 9453f272a3b7a6c6a013ddf13e8c7e80be0cc35e0b1c523aeda288d99341b9f7 |