Skip to main content

Account Pool CLI

A simple CLI tool to interact with the account pool service, allowing you to fetch account details.

Installation

To install the Account Pool CLI, run the following command in your terminal:

pip install .

(If you publish it to PyPI, you would use pip install account-pool-cli)

Usage

Once installed, you can use the ap command:

Get account info by main number

ap info <main_number> [--env_name <environment_name>]

Example:

ap info 1234567890
ap info +1234567890 --env_name specific_env

env_name defaults to webaqaxmn if not provided.

Get a random account

ap get_random_account <account_type> [--env_name <environment_name>]

Example:

ap get_random_account "QQ" 
ap get_random_account "YOUR_ACCOUNT_TYPE" --env_name specific_env

Get account info by ID

ap get_account_by_id <account_id> [--env_name <environment_name>]

Example:

ap get_account_by_id "60c72b2f9b1d8f001f8e4d3a"
ap get_account_by_id "60c72b2f9b1d8f001f8e4d3b" --env_name specific_env

Development

To set up for development:

  1. Clone the repository.
  2. Create a virtual environment: python -m venv .venv
  3. Activate it: source .venv/bin/activate (on Linux/macOS) or .venv\Scripts\activate (on Windows)
  4. Install dependencies: pip install -r requirements-dev.txt (You'll need to create this file if you have dev-specific dependencies like pytest)
  5. Install the package in editable mode: pip install -e .

Metadata

Release files for account-pool-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for account-pool-cli 0.1.0
File Size Uploaded Provenance
account_pool_cli-0.1.0.tar.gz 5.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for account-pool-cli 0.1.0
File Interpreter ABI Platform
account_pool_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / account_pool_cli-0.1.0.tar.gz

Download URL account_pool_cli-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
897eea194ef51d2449a2c908ba54f7a03ee1826d00059bc56cb09638d1ed556e
BLAKE2b-256 checksum
How to use checksums
11c3857fd03f3d32fce05a1744b75314f6144dacf93cf8f87f8b48c7383a456d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / account_pool_cli-0.1.0-py3-none-any.whl

Download URL account_pool_cli-0.1.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae165d09f6445ad20ed16622d5925a56006010b7d727485a1ff35f6b7986a713
BLAKE2b-256 checksum
How to use checksums
c63e0849b17a7457fcb3d7a6725501b471b5258fa740d5f8fb6ee1034af04df4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for account-pool-cli 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page