Python library for communicating with the NewRelic API
Project description
myb-newrelic-api
An API client for the NewRelic API
Installation
The package is availble via PyPi and can be installed with the following command:
pip3 install myb-newrelic-api
To install it from the repo, clone the repo and cd into the directory:
git clone https://github.com/mine-your-business/myb-newrelic-api.git
cd myb-newrelic-api
You can install this library with pip
:
pip3 install .
Testing
To run tests, simply run the following command:
pytest --verbose
Releases
Releases should follow a Semantic Versioning scheme.
When changes have been made that warrant a new release that should be published, modify the __version__
in setup.py
After the change is merged to the main
branch, go to releases and Draft a new release
. The Tag version
should follow the pattern v1.0.0
and should Target
the main
branch.
The Release title
should not include the v
from the tag and should have a reasonably detailed description of the new release's changes.
Once the release has been published, the .github/workflows/python-publish.yml
GitHub Actions Workflow should trigger and automatically upload the new version to PyPi using GitHub secrets credentials stored with the Mine Your Business GitHub Organization.
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
File details
Details for the file myb-newrelic-api-1.0.1.tar.gz
.
File metadata
- Download URL: myb-newrelic-api-1.0.1.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 577a4f11ca41c2c860388a1476f5082c166fbce6c5d12564d3ad1f68cbd86960 |
|
MD5 | fde244a3be9f2248ce764b8d704e5543 |
|
BLAKE2b-256 | 7207aa3d96fbe297559217ad56baf4f0cf6f1c714add658747918ccda2456e7a |
File details
Details for the file myb_newrelic_api-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: myb_newrelic_api-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 053f03daee995d44ead72b23ddf34b8431bbc0e32629e062b2b164a3eb30abd7 |
|
MD5 | b94840a44c87494ce6b0953a0326b9a6 |
|
BLAKE2b-256 | de5adac63d0824003099c0f38500adeca8df0703901b0da93063d09723542b7c |