Skip to main content

migate is a simplified Xiaomi authentication gateway for Python projects

Project description

migate

Xiaomi authentication gateway for Python


Version Changelog


Install

pip install migate

Usage

import migate
# default param = { 'sid': 'passport'}
pass_token = migate.get_passtoken()
service = migate.get_service(pass_token)

To use a custom param ex:

param = {"sid": "unlockApi", "checkSafeAddress": True}
pass_token = migate.get_passtoken(param)
service = migate.get_service(pass_token, param)

To get the account region:

account_region = migate.get_region(pass_token)
region_cfg = migate.get_regionConfig(account_region)

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

migate-1.1.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

migate-1.1.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file migate-1.1.0.tar.gz.

File metadata

  • Download URL: migate-1.1.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for migate-1.1.0.tar.gz
Algorithm Hash digest
SHA256 edee32ab701f65d582ec0d53e2e339b885a3d194538492c4adea8aa334613fb6
MD5 934909187a80b5c7b9bb53fac0d59796
BLAKE2b-256 632fc8f926687247897b47c8ced65d217f32e8838a4e863edab138d0561feb2a

See more details on using hashes here.

File details

Details for the file migate-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: migate-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for migate-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dc0f8d07a78e7dd2ea0134657bb8dcef3c44c504efeb5c61943c8dc6d3ce49c
MD5 a4eeb04f57a32783466f465ba6a780a0
BLAKE2b-256 7211b05db34294a296ed34ebb57fb953dabec8c5d7f0aa6eda41c88fbd3f7224

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