This release is a pre-release and may not be stable for production use.
______ ___________
___ /______ __ /___ /_____ ______________ _
__ / _ __ `/ __/_ __ \ / / /_ ___/ __ `/
_ /__/ /_/ // /_ _ / / / /_/ /_ / / /_/ /
/____/\__,_/ \__/ /_/ /_/\__,_/ /_/ \__,_/
Zathura
Zathura is a sqlite3 based logger. Currently, you can see your error and debug logs from terminal only. However, I am working on webview. Do keep in mind, you will have to handle the authentication for your own project.
How to install
pip install zathuraThis will install the latest version on your virtualenv
Code Preview
1. You can just import Zathura from ZathuraProject.zathura and call insert_error_log function to start logging your errors right away.
from ZathuraProject.zathura import Zathurazathura = Zathura() zathura.insert_error_log(user_id, error_name, long_error_description)
2. View your logs from terminal
zathura helpThis will list all the avaiable command for you. Choose from them to see how you want to sort your logs.
usage: Zathura COMMAND [args] ...
For example: { Zathura v } will show the current version of this pacakge.
-----------------------------------------------------
-----------------------------------------------------
All commands:
[[ v ]] : Show the current version of this package
[[ developer ]] : Search based on developers name. You can filter out the result based on date and descending order
[[ debug_origin ]] : Shows debug messages based on point of origin. Point of origin is the class/function from where you are adding a message in sqlite.
[[ error_user ]] : Shows error generated under the given username
[[ all_debug ]] : Shows all debug messages
[[ error_name ]] : Shows error based on a error name.
[[ date ]] : Shows error occurred in between a specific date.
[[ all_error ]] : Shows all error messages
[[ origin ]] : Shows error generated on the given point of origin
[[ mark_resolve ]] : Given an error name and point of origin all errors logged on database, is marked resolved.
[[ delete_debug ]] : Deletes the last seven days of debug mesasges from the database. It is useful if you dont want to clutter the database with unnecessary debug info.
[[ help ]] : Shows all the commands necessary to run this package from terminal
-----------------------------------------------------
-----------------------------------------------------
For example to see all error, without sorting you can just type
zathura all_error
It is without doubt that there might be some bugs and improvement for this project. I wrote zathura to help me with my projects. If you face any bugs or want some more modules, please open an issue. If you want to contribute, please clone my project and create a pull request for me.
Thank you. Ibtehaz
Run Zathura codebase on your computer
- Clone the project and change your directory into it.
- pip install -r requirements.txt
- pip install --upgrade setuptools wheel
-
python3 setup.py sdist bdist_wheel
This will create a build file for you from the laterst version. -
pip install .
To check on your machine
Metadata
Release files for zathura 0.0.6.0b1
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 |
|---|---|---|---|---|
| zathura-0.0.6.0b1.tar.gz | 10.9 kB | Without provenance | Details for zathura-0.0.6.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zathura-0.0.6.0b1-py3-none-any.whl | Python 3 | none | any | Details for zathura-0.0.6.0b1-py3-none-any.whl |
Total release size: 25.1 kB
Release files / zathura-0.0.6.0b1.tar.gz
| Download URL | zathura-0.0.6.0b1.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7b09b93edbcbd69c8be2aec6584b11b082c2a04b2b39714b97014d7cc8bf943
|
|
BLAKE2b-256 checksum How to use checksums |
94e83bbade3b0e9347110ef7923be2bd7ac0814d5317f7060c31db83c42b2586
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7
|
Release files / zathura-0.0.6.0b1-py3-none-any.whl
| Download URL | zathura-0.0.6.0b1-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efb4edf0b9a2c9a250f699ce97b0f753a1f9fd0d34263df17c4b023ad6a513f7
|
|
BLAKE2b-256 checksum How to use checksums |
054e5fbfb9862602bffeabf3a94c8d334f36f9e8acfea83c3371f6f688a40212
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7
|
Security for zathura 0.0.6.0b1
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.