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.1.0.tar.gz (131.8 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.1.0-py3-none-any.whl (169.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: egrc_core-1.1.0.tar.gz
  • Upload date:
  • Size: 131.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for egrc_core-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c9b4bdbc6ab57b23fa0fed921aee5eb7bde2d70ed10af5e17774ee91e888f5e5
MD5 c0835b2901d5431b8cf21b39f9832639
BLAKE2b-256 ba7927153d106c8460d1bc7cae097637132e5f05850d3009d8e152ea992014d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: egrc_core-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 169.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for egrc_core-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa7cee77e47bdc011fb7deedb9e8f3f27f55fc746a17eb7389cc85b69527e13f
MD5 85e1ebff9e97ad05823c04d49d8a6ed2
BLAKE2b-256 06916be6f706d92de5951322ca37f91366ab233acd750477dee4f7d6362b5667

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