Skip to main content

A command line utility to check build usage across multiple Netlify accounts

Project description

Netlify Builds

CI Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License

A command line utility to check build usage across multiple Netlify accounts

Installation

Install this via pip (or your favourite package manager):

pip install netlify-builds

Usage

Create a .netlify-builds.json in your home directory with the following shape:

{
  "team-name-1": "access-token-1",
  "team-name-2": "access-token-2",
  ...
}

To obtain the token for each team, open a private browsing session and login to your team dashboard and copy it from the local storage, it should be located under the key nf-session.

DO NOT LOG OUT. Instead, simply close the private browsing session. If you log out, the token will be invalidated.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Credits

This package was created with Cookiecutter and the browniebroke/cookiecutter-pypackage project template.

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

netlify-builds-0.1.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

netlify_builds-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file netlify-builds-0.1.1.tar.gz.

File metadata

  • Download URL: netlify-builds-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for netlify-builds-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b41f353fba8bf486d51a94553df5f68add59b2b3efe989fb319ec47dae373cf6
MD5 bb16b345add56b46e1b77895fbb03c5e
BLAKE2b-256 c0912afba5c13b16f5d7776a2f289ecda8ec4d22adbd3131aa9a48a70a3d5320

See more details on using hashes here.

File details

Details for the file netlify_builds-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: netlify_builds-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for netlify_builds-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc3bfbe57e1c80effbd56bdc546bf15cfbe26c73152cda8db2c6207f25fce9a
MD5 57cae8468582812ffa37aa8618016eef
BLAKE2b-256 9c5c2be2a18fe028f2b1cb3ea0aaf2871942bfb4753bc3dbc8d8bc37cd4ba6e1

See more details on using hashes here.

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