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.4.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

migas-0.0.4-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: migas-0.0.4.tar.gz
  • Upload date:
  • Size: 30.0 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.4.tar.gz
Algorithm Hash digest
SHA256 634acd03a50a219072c47b3d6a7315f640e9ab061ec7f5af30292a089674ed2e
MD5 8b6ca54c2e7eca0dd2afc83b7b422e27
BLAKE2b-256 f8bfc013ec20ad74ced4f5ef2604252cd9ed7af2f62601444ab1ba81fe22f321

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: migas-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cbf75bd86539c8a78ef0e1c381eb64d9b2dfd7bdf89e9ed470fbe03a52f1cc32
MD5 89f90e952aea2f07d9a22ee6a905bb47
BLAKE2b-256 2a620347db4792526fb96d793aebd435ee9d73c368e4ef6ded24bbbd930cbf0b

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