An async extension to p4python
Project description
p4async
An extension to the p4python module, adding async functionality to Perforce.
Setup
Use your favorite package manager to install the module into your project
pip install p4asyncuv add p4async
Usage
from p4async import P4Async
p4a = P4Async()
await p4a.aconnect()
All relevant Perforce commands have async counterparts prefixed with a.
For example: aconnect(), arun(), arun_clients(), afetch_change(), etc.
Commands are executed with a lock on a worker thread. The way this is done can be customized via subclassing.
Development
- Use uv for dependency management and virtual environments.
License
MIT
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
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 p4async-0.1.1.tar.gz.
File metadata
- Download URL: p4async-0.1.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0e22fd747ab6ead507a13349fa2ce071ee3121bd185c69546fe2091c18448be
|
|
| MD5 |
532218d7bb0615dc1ab15ec89a37974b
|
|
| BLAKE2b-256 |
8b94867199c490747a86ade4e2c0c5dba5ec632a54064bb19d4ebda21dd6b2c8
|
File details
Details for the file p4async-0.1.1-py3-none-any.whl.
File metadata
- Download URL: p4async-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a87653a229863935ce357f2d47ccb017e0b8b03374a04b266ad12cd05a35c15f
|
|
| MD5 |
e525b952ae76ea428372830168afe91e
|
|
| BLAKE2b-256 |
053a6a8d2c8bc515407fc832aaf71e7bbea4b09a1e27c60fcdb5821fc95ff181
|