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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

migas-0.0.3-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: migas-0.0.3.tar.gz
  • Upload date:
  • Size: 29.6 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.3.tar.gz
Algorithm Hash digest
SHA256 86c79c276e247da88fbbe41ad9ab865866f0c1a4481aaeb69eaa93862a47119f
MD5 cb8cac58c9d56d9a90b84d992ab1e405
BLAKE2b-256 92efc1537f8a04167fa4f4cbfaaf546a8476b6fe6feecc8e8b5fbbeffb5727b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: migas-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a31369950f092ebd992b1fdfb456c2b8542b0009020352eea9639958356a0cda
MD5 401fd94458d7d538f8164dc82c9fad1e
BLAKE2b-256 760d1d7fddc2c1c35e5310aab278a9c2cfa1c50330e20c73acf945f1c2e27d9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page