Light weight OS agnostic service monitoring API
Project description
PyNinja
Light weight OS agnostic service monitoring API
Platform Supported
Deployments
Kick off
Recommendations
- Install
python
3.10 or 3.11 - Use a dedicated virtual environment
Install PyNinja
python -m pip install pyninja
Initiate - IDE
import pyninja
if __name__ == '__main__':
pyninja.start()
Initiate - CLI
pyninja start
Use
pyninja --help
for usage instructions.
Environment Variables
Sourcing environment variables from an env file
By default,
PyNinja
will look for a.env
file in the current working directory.
- NINJA_HOST - Hostname for the API server.
- NINJA_PORT - Port number for the API server.
- WORKERS - Number of workers for the uvicorn server.
- APIKEY - API Key for authentication.
Coding Standards
Docstring format: Google
Styling conventions: PEP 8
and isort
Release Notes
Requirement
python -m pip install gitverse
Usage
gitverse-release reverse -f release_notes.rst -t 'Release Notes'
Linting
pre-commit
will ensure linting, run pytest, generate runbook & release notes, and validate hyperlinks in ALL
markdown files (including Wiki pages)
Requirement
python -m pip install sphinx==5.1.1 pre-commit recommonmark
Usage
pre-commit run --all-files
Pypi Package
https://pypi.org/project/PyNinja/
Runbook
https://thevickypedia.github.io/PyNinja/
License & copyright
© Vignesh Rao
Licensed under the MIT License
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 Distributions
Built Distribution
File details
Details for the file PyNinja-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: PyNinja-0.0.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e43abd893957a5d6715fd023bac9f0bec0869383e274ebf398449de64ed6e9f |
|
MD5 | beabdcbef1545a2bfa5d8be808ff1d4d |
|
BLAKE2b-256 | 434d2104eb33e837204612a82481911cf3b69a28f4a9505b68fc8b32d7fbf928 |