Skip to main content

Zathura is a small space logger. It logs stuff into her logbook as she drifts into vast unknown of development phase.

Project description

Build Status

______       ___________                       
___  /______ __  /___  /_____  ______________ _
__  / _  __ `/  __/_  __ \  / / /_  ___/  __ `/
_  /__/ /_/ // /_ _  / / / /_/ /_  /   / /_/ / 
/____/\__,_/ \__/ /_/ /_/\__,_/ /_/    \__,_/  

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 zathura 
This 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 Zathura

zathura = Zathura() zathura.insert_error_log(user_id, error_name, long_error_description)

2. View your logs from terminal

zathura help
This 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

  1. Clone the project and change your directory into it.
  2. pip install -r requirements.txt
  3. pip install --upgrade setuptools wheel
  4. python3 setup.py sdist bdist_wheel
    This will create a build file for you from the laterst version.
  5. pip install .
    To check on your machine

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zathura-0.0.5.8b1.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

zathura-0.0.5.8b1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file zathura-0.0.5.8b1.tar.gz.

File metadata

  • Download URL: zathura-0.0.5.8b1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for zathura-0.0.5.8b1.tar.gz
Algorithm Hash digest
SHA256 523dd3dafd11dcd51c28da3822d59cb47c7d50f0b97cc5e164f88e8493fa362d
MD5 e7143aacbc45b800758a0d929fe2c869
BLAKE2b-256 cf49dfdfb0ad23f73f45f7e4798c64db5361ea0728f2fbceb534eee81b583c07

See more details on using hashes here.

Provenance

File details

Details for the file zathura-0.0.5.8b1-py3-none-any.whl.

File metadata

  • Download URL: zathura-0.0.5.8b1-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for zathura-0.0.5.8b1-py3-none-any.whl
Algorithm Hash digest
SHA256 1fcf18bd7b3f4853fbd74120b91669a870cf92fd6a311cb5b9f9e8400786c380
MD5 a10b8d68ccbad5b479934c25c652366e
BLAKE2b-256 c64d4a671b3b5b7ce3affff8cfbbe4c43fb18583c808b3e7dcbf9354fb715773

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page