Skip to main content

EGRC Core - Shared functionality and GraphQL support for Enterprise Governance, Risk, and Compliance platform

Project description

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.

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

egrc_core-1.3.0.tar.gz (178.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

egrc_core-1.3.0-py3-none-any.whl (234.3 kB view details)

Uploaded Python 3

File details

Details for the file egrc_core-1.3.0.tar.gz.

File metadata

  • Download URL: egrc_core-1.3.0.tar.gz
  • Upload date:
  • Size: 178.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.10.12 Linux/6.8.0-85-generic

File hashes

Hashes for egrc_core-1.3.0.tar.gz
Algorithm Hash digest
SHA256 d7840627021927d716d97ecee825bc17d4210fa90bfccfd562487d9af02226c4
MD5 e520d2308954b11edb25c809d765019a
BLAKE2b-256 6a2eed1f0e262fc8448bcfc6e47d5fc41be153617acb4c94114944451996a12a

See more details on using hashes here.

File details

Details for the file egrc_core-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: egrc_core-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 234.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.10.12 Linux/6.8.0-85-generic

File hashes

Hashes for egrc_core-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1c0b2f9b9307c21134bea7cb56e2aa3c4f33b8b83d6778207361cc992ad6238
MD5 3e8c01ec40e9f59ebf29af73300ace15
BLAKE2b-256 76e9a0ddd6c1802fc9e191ba814722f91b776640ade3551b1a25aaf7ade9c582

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page