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.1.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.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: migate-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a6276861a71b88ae913c8a34417230b9a12a7c287b6cc61602668fa2e3ac334a
MD5 c8a38172543405c9dd868a34ddee5321
BLAKE2b-256 1250e7951767ecadd7d7226fd95495a411cd29f7eb8d9b4cdd3b3eaa9aa87971

See more details on using hashes here.

File details

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

File metadata

  • Download URL: migate-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27a53711f6264f6e68ad3ab7c745894897777f7d201164ad9bb538505f87dded
MD5 f4ee550b47e19ed747340e15dbb2ba68
BLAKE2b-256 3ff42350f768724b6366d38518e2152d722bb2ea81162b2bfd8398dcf7abf874

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