Skip to main content

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:

  1. Understand the event structure (name, signature, contract address, decoded log fields)
  2. Create an EventConfig instance
  3. Ensure consistency in data types
  4. 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)

Source distribution for hypermanager 0.1.12
File Size Uploaded
hypermanager-0.1.12.tar.gz 17.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hypermanager 0.1.12
File Interpreter ABI Platform
hypermanager-0.1.12-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

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