hypermanager-py
hypermanager-py is an orchestration manager built ontop of the hypersync python client. It makes cross-chain log queries easy to manage and works with blocks and transactions data as well.
Installation
Install with pip install hypermanager. The repository is built with Python 3.12.5. You can easily make a virtual environment for this python version by using rye for virtual environment management.
Example
There is an example that retrieves all log events from the Across Protocol bridging. The example is located in the examples directory. Run the example with python examples/across/spoke_pool_v3.py to see how to execute a multi-chain events query.
Adding Events:
The EventConfig class is a key component of the HyperManager framework, designed to facilitate efficient querying and processing of blockchain events across various protocols. It encapsulates event details, enables dynamic querying, and specifies data mapping. Contributions are welcome to enhance the framework's capabilities and ensure comprehensive data coverage for cross chain events:
@dataclass
class EventConfig:
name: str
signature: str
contract: Optional[str] = None
column_mapping: Optional[hypersync.ColumnMapping] = None
- name: Human-readable event name
- signature: Unique event signature
- contract: (Optional) Associated contract address
- column_mapping: (Optional) Defines transaction and block data processing1
Add a new event configuration:
- Understand the event structure (name, signature, contract address, decoded log fields)
- Create an EventConfig instance
- Ensure consistency in data types
- Add the event to the configuration dictionary and submit a pull request (optional)
Metadata
Release files for hypermanager 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hypermanager-0.1.12.tar.gz | 17.9 kB | Without provenance | Details for hypermanager-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hypermanager-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for hypermanager-0.1.12-py3-none-any.whl |
Total release size: 31.8 kB
Release files / hypermanager-0.1.12.tar.gz
| Download URL | hypermanager-0.1.12.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
536d50b21f7e9e201220c44a5ea18c396d31e1e9e0cab8b10b5636449d7a586b
|
|
BLAKE2b-256 checksum How to use checksums |
983fb37fe3247ff390f22642c509ce540e1777afa66e32961de60d068921f1b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|
Release files / hypermanager-0.1.12-py3-none-any.whl
| Download URL | hypermanager-0.1.12-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
859f0e318553953713ba0e7f867527640faa5c45d2b74c2020865ca2f0d23638
|
|
BLAKE2b-256 checksum How to use checksums |
416d0a88dfc7f0e4f45c03db0638bcf986da696b4265571d0ecc8b2eef777b2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|
Security for hypermanager 0.1.12
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.