Rapid Automation Prototyping Toolkit (PART)
Project description
PART
Rapid Automation Prototyping Toolkit.
PART exposes one god-class (Part) that mixes in all core parts.
Local install
python -m pip install -e .
PyPI install
python -m pip install par-toolkit
Import stays:
from part import Part
Basic usage
from part import Part
p = Part()
# all core mixin methods are available on this one object
password = p.generate_password()
print(password)
Multiple instances
from part import Part
websites = [
"https://example.com",
"https://example.org",
]
parts = [Part() for _ in websites]
# or: parts = Part.create_many(len(websites))
for p, site in zip(parts, websites):
# run per-site logic with full method surface
# p.playwright_sync_navigate(...)
print(site)
Configuration
PART uses environment variables only (PART_*).
$env:PART_EVOMI_API_KEY = "evomi_key_here"
$env:PART_CAPSOLVER_API_KEY = "capsolver_key_here"
$env:PART_CAAS_HOST = "localhost"
$env:PART_CAAS_PORT = "8000"
$env:PART_CAAS_API_KEY = "caas_key_here"
$env:PART_EMAIL_IMAP_HOST = "imap.example.com"
$env:PART_EMAIL_IMAP_PORT = "993"
$env:PART_EMAIL_IMAP_USERNAME = "user"
$env:PART_EMAIL_IMAP_PASSWORD = "pass"
from part import Part
p = Part()
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
par_toolkit-0.1.0.tar.gz
(14.5 kB
view details)
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 par_toolkit-0.1.0.tar.gz.
File metadata
- Download URL: par_toolkit-0.1.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e14fb7e0ef7e91124394dd4d511e9fe21c6ce9bf3c38f9577d7886fa2e30743
|
|
| MD5 |
77feaacdcbb1d00380980135cee8db06
|
|
| BLAKE2b-256 |
b426b65977cda637ca60c079d11727475c18e4ce8e1e253a3c863a7e3a6146fa
|
File details
Details for the file par_toolkit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: par_toolkit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0f15f3056efcdc00c3c638cf405107fc24ad5bba7d2c727cbc9aa4b24e681f6
|
|
| MD5 |
fb495acdfe533cc9ccf6cc279947f8d0
|
|
| BLAKE2b-256 |
4e67876c6da48d8113565637974d5714df28ad67d89df8db48ba5562c9bd42d5
|