GraphRAG Common
This package provides utility modules for GraphRAG, including a flexible factory system for dependency injection and service registration, and a comprehensive configuration loading system with Pydantic model support, environment variable substitution, and automatic file discovery.
Factory module
The Factory class provides a flexible dependency injection pattern that can register and create instances of classes implementing a common interface using string-based strategies. It supports both transient scope (creates new instances on each request) and singleton scope (returns the same instance after first creation).
Open the notebook to explore the factory module example code
Config module
The load_config function provides a comprehensive configuration loading system that automatically discovers and parses YAML/JSON config files into Pydantic models with support for environment variable substitution and .env file loading. It offers flexible features like config overrides, custom parsers for different file formats, and automatically sets the working directory to the config file location for relative path resolution.
Metadata
Release files for graphrag-common 3.3.0
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 |
|---|---|---|---|---|
| graphrag_common-3.3.0.tar.gz | 9.3 kB | Without provenance | Details for graphrag_common-3.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| graphrag_common-3.3.0-py3-none-any.whl | Python 3 | none | any | Details for graphrag_common-3.3.0-py3-none-any.whl |
Total release size: 18.5 kB
Release files / graphrag_common-3.3.0.tar.gz
| Download URL | graphrag_common-3.3.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2df8bf2907063b0e7558ebef5b829a97358d015e0d52dce441bda37bf6b2bee
|
|
BLAKE2b-256 checksum How to use checksums |
65d06882cdf079a7acb6e53073510225898c12692dc42bc131d11a90c5ac6aa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.17
|
Release files / graphrag_common-3.3.0-py3-none-any.whl
| Download URL | graphrag_common-3.3.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d584370929959164f5058a5fb60ea80def6a25d72c8d4a8d61a6c28a2070683
|
|
BLAKE2b-256 checksum How to use checksums |
4d72a55ba13ef5db59d81aff5119c7fa4fba5c3d41d46b43b9d6af1a5486e6e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.17
|
Security for graphrag-common 3.3.0
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.