maimai llc tool box
Project description
mailoxy
Installation
Python 3.11.0 or higher is required
pypi
pip install mailoxy
Pre-start
manual compile the db_file
from mailoxy.dmr import export_dict_all
export_dict_all("path/to/sdgb/StreamingAssets", "out_file_name.py")
Example
The following is a simple example.
from mailoxy.db_types import other_db
from mailoxy.maimanager import MaiManager
from mailoxy.maitypes import MaiConfig, MusicDetailRecord
import db # manual compiled file
other_db.db_module = db
g_config = MaiConfig(
mai2_salt='mai2_salt',
region='your region',
placeId='your placeId',
placeName='your placeName',
aes_key=b"aes_key",
aes_iv=b"aes_iv",
chime_salt='chime_salt',
keychip='your keychip',
romVersion='current rom version',
dataVersion='current_data version',
)
manager = MaiManager(g_config)
def user_id_test():
qrcode_data = "SWGCMAID2410311010106396A001F06D1AFD5565FBBD1B03BAAF254B413D08B8BE6125E087E91D303AHS"
mai2 = manager.generate_mai2(manager.generate_user_id(qrcode_data))
mai2.send_ticket(3)
if __name__ == '__main__':
user_id_test()
UpdateLog
Version 1.0.2
- 2022/11/07: Optimize calls
- 2022/11/04: Add diving-fish api
Version 1.0.1
- 2022/11/03: Add diving-fish extension
Version 1.0.0
- 2024/11/01: Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mailoxy-1.0.2.tar.gz
(1.1 MB
view details)
File details
Details for the file mailoxy-1.0.2.tar.gz.
File metadata
- Download URL: mailoxy-1.0.2.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c93f1e11e9ee5acb1e5b9a1e8eaacb5b90868277e49ebe71f82400cf9c1fe8c
|
|
| MD5 |
5658d2d7bdc036e6e6a7a52fc92d1210
|
|
| BLAKE2b-256 |
32b04d6ac23e9c5ede697f3c14c71609618d7814d872fd7d0f5188dff7d7a616
|