Skip to main content

Migas Python client

Project description

Migas Client

A Python package to communicate with a migas server.

API

migas includes the following functions to communicate with the telemetry server:

migas.add_project()

Send a breadcrumb with usage information to the server. The server will attempt to return information about the project, such as the latest version and bad versions.

migas.get_usage()

Check number of uses a project has received from a start date, and optionally an end date. If no end date is specified, the current datetime is used.

Customization

Normally, calling migas.setup() will populate the internal configuration with the default endpoint, but in cases where you wish to host your own instance of a migas server, you can pass in an endpoint parameter to route traffic accordingly.

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

migas-0.0.1.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

migas-0.0.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file migas-0.0.1.tar.gz.

File metadata

  • Download URL: migas-0.0.1.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for migas-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8c05d94d0d3293ce28828093115e61b5d5fa0ceb4575092ae8595fb1d9101a52
MD5 68656c68e937ca7b132772d59cac128a
BLAKE2b-256 0ef7c87b5b128c788af7507949394b682d5b044afd3bbad4f721b86eae22083a

See more details on using hashes here.

Provenance

File details

Details for the file migas-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: migas-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for migas-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba70faa822e61e29bc64e0c29c141f98cf59a37d1ef6e10a19be98507cb3b30d
MD5 d27fffc373d0845324c7d5208b663a5a
BLAKE2b-256 46f1947b48a11085f617cc634018f2bc786d4011798cda446bca0f402dec651a

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