[](https://travis-ci.org/evetrivia/thanatos)
[](https://coveralls.io/r/evetrivia/thanatos)
[](https://pypi.python.org/pypi/Thanatos)
[](https://thanatos.readthedocs.org/en/latest/)
Thanatos is a Python library for generating trivia questions for the sci-fi MMO [EVE Online](https://www.eveonline.com/). It
does require a MySQL database backend to operate and will download a selected list of DB tables. These tables come from
the [Static Data Export](https://developers.eveonline.com/resource/static-data-export).
## Example Usage
```python
import thanatos
# For default vagrant/cloud9 connection defaults
db = thanatos.database.db_utils.get_connection()
# Or provide your own connection details
connection_details = {
'host': '127.0.0.1',
'user': 'example',
'password': 'some_secure_password',
'database': 'some_db',
}
db = thanatos.database.db_utils.get_connection(connection_details)
# Asking a random question
question_class = thanatos.questions.question_utils.get_random_question()
question_instance = question_class(db)
question = question_instance.ask()
# Asking a specific question
question_instance = thanatos.questions.universe.BorderingRegionsQuestion(db)
question = question_instance.ask()
# Alternative way of asking a specific question
question_class = question_utils.get_question('borderingregionsquestion')
question_instance = question_class(db)
question = question_instance.ask()
```
Metadata
Release files for Thanatos 0.4.2
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 |
|---|---|---|---|---|
| Thanatos-0.4.2.tar.gz | 1.8 MB | Without provenance | Details for Thanatos-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Thanatos-0.4.2-py2-none-any.whl | Python 2 | none | any | Details for Thanatos-0.4.2-py2-none-any.whl |
Total release size: 3.6 MB
Release files / Thanatos-0.4.2.tar.gz
| Download URL | Thanatos-0.4.2.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdce1129751f2fbbd93075d847c801d961c2953b328ac673329511dd2a3ef5da
|
|
BLAKE2b-256 checksum How to use checksums |
e2a3343e4bffd3c5f05964c09dc9725bc006c9e1f7e66027cfc7988519d493d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Thanatos-0.4.2-py2-none-any.whl
| Download URL | Thanatos-0.4.2-py2-none-any.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
36a0506637a6e157a1a6e9a4b51bdbf2d3f48f35300f626fba62a68de1b53894
|
|
BLAKE2b-256 checksum How to use checksums |
e73f1e7ca7b9dc8b6fa74f85f71d63dd03335f72f33c5157167596810f34bc75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Thanatos 0.4.2
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.