Skip to main content

Python client for the MyAnonaMouse API

Project description

Usage

from myanonamouse import MamApi

api = MamApi("your mam_id here")

api.set_seedbox_ip()

print(api.load_user_data(snatch_summary=True))

torrents = api.torrent_search("", tor={
    "main_cat": 13,
}, limit=1000)

total_size = 0
for i, torrent in enumerate(torrents):
    size = human_read_to_byte(torrent["size"])
    total_size += size
    print(i, torrent["title"], torrent["size"], f"total size: {total_size / 1024 / 1024 / 1024:.2f} GB")

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

myanonamouse-0.1.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

myanonamouse-0.1.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file myanonamouse-0.1.2.tar.gz.

File metadata

  • Download URL: myanonamouse-0.1.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.2-arch1-1.1

File hashes

Hashes for myanonamouse-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b764aef98e7692f1142e2e3833262d973cde656c14f19c01ffbfcb996fd0fa6a
MD5 4708133d0ac17481206bc457fd81dae1
BLAKE2b-256 78591eb3b76e18ac8268f8ff3529d0607fb2b1db4b23a8a5a75ba592292739c2

See more details on using hashes here.

File details

Details for the file myanonamouse-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: myanonamouse-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.2-arch1-1.1

File hashes

Hashes for myanonamouse-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33c02f206e3e9b9a71d18ce8eedfc675bbc700be6ca2f8be2f8946ca1be5c04c
MD5 b27138e4c23bee6a9d5599cdecb1f83e
BLAKE2b-256 d5b2309d787f904ce158c2aca60b65532b15ec87543ff0152852c5809466679c

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