Skip to main content

EGRC Core

EGRC Core is a comprehensive, production-grade foundation service for the Enterprise Governance, Risk, and Compliance (EGRC) platform. It provides shared functionality, utilities, and infrastructure components that other microservices can use to build robust, scalable, and maintainable applications.

Features

  • Multi-Tenant Database Management: Automatic tenant database creation and management
  • Comprehensive Caching: Redis-based caching with decorators and utilities
  • Security: Encryption, JWT handling, input validation, and security middleware
  • Monitoring: Metrics collection, health checks, and observability
  • File Handling: Cloud storage integration and file processing utilities
  • Inter-Service Communication: HTTP clients with retry and circuit breaker patterns
  • Message Queues: RabbitMQ and Kafka integration for event-driven architecture
  • Testing: Comprehensive testing utilities and fixtures
  • GraphQL Support: Complete GraphQL implementation with filtering, sorting, and pagination
  • Audit System: Comprehensive audit logging and event tracking

Installation

pip install egrc-core

Quick Start

from egrc_core import get_service_factory, Settings

# Initialize with settings
settings = Settings(
    database_url="postgresql://user:pass@localhost:5432/mydb",
    redis_url="redis://localhost:6379/0",
)

# Get service factory
factory = get_service_factory(settings)

# Use services
tenant_manager = factory.get_tenant_manager()
redis_client = factory.get_redis_client()

Documentation

For detailed usage instructions, see the Usage Guide.

License

MIT License - see LICENSE file for details.

Metadata

Release files for egrc-core 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for egrc-core 1.3.0
File Size Uploaded Provenance Actions
egrc_core-1.3.0.tar.gz 178.7 kB Without provenance Details for egrc_core-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for egrc-core 1.3.0
File Interpreter ABI Platform Actions
egrc_core-1.3.0-py3-none-any.whl Python 3 none any Details for egrc_core-1.3.0-py3-none-any.whl

Total release size: 413.0 kB

Release files / egrc_core-1.3.0.tar.gz

Download URL egrc_core-1.3.0.tar.gz
Size 178.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d7840627021927d716d97ecee825bc17d4210fa90bfccfd562487d9af02226c4
BLAKE2b-256 checksum
How to use checksums
6a2eed1f0e262fc8448bcfc6e47d5fc41be153617acb4c94114944451996a12a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.10.12 Linux/6.8.0-85-generic

Release files / egrc_core-1.3.0-py3-none-any.whl

Download URL egrc_core-1.3.0-py3-none-any.whl
Size 234.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1c0b2f9b9307c21134bea7cb56e2aa3c4f33b8b83d6778207361cc992ad6238
BLAKE2b-256 checksum
How to use checksums
76e9a0ddd6c1802fc9e191ba814722f91b776640ade3551b1a25aaf7ade9c582
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.10.12 Linux/6.8.0-85-generic

Security for egrc-core 1.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.

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