A suite of CLI utilities for account pool and device spy services.
Project description
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:
- Clone the repository.
- Create a virtual environment:
python -m venv .venv - Activate it:
source .venv/bin/activate(on Linux/macOS) or.venv\Scripts\activate(on Windows) - Install dependencies:
pip install -r requirements-dev.txt(You'll need to create this file if you have dev-specific dependencies likepytest) - Install the package in editable mode:
pip install -e .
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file my_cli_utilities-0.1.5.tar.gz.
File metadata
- Download URL: my_cli_utilities-0.1.5.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8af307e8862c21d7e228ec900e4bfd2af62a22b1b122b576e5fdb85e9af2083
|
|
| MD5 |
1da7c59a0bc9c71c7c213856fcd22b08
|
|
| BLAKE2b-256 |
28b4832f33b7dd583b43b219a28708f7f26d1b76fe42b4155b6509ca3f6a4d85
|
File details
Details for the file my_cli_utilities-0.1.5-py3-none-any.whl.
File metadata
- Download URL: my_cli_utilities-0.1.5-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8d744ce4374f7a2b9038aaabd9665d9b82910b4c2ea51a9020be38858103f7a
|
|
| MD5 |
8f5b754c4d00a525733d87237e683d2c
|
|
| BLAKE2b-256 |
a630083fc2925877ed46515a941c54f7ecf58ee223b7cc69c2b6da298a0a9daa
|