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.2.0.tar.gz (158.0 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.2.0-py3-none-any.whl (211.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: egrc_core-1.2.0.tar.gz
  • Upload date:
  • Size: 158.0 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.2.0.tar.gz
Algorithm Hash digest
SHA256 01b8d9c0afab38303050c51082d921fbf48b846de449e59be51cdd972efd58e0
MD5 f7768baf85bb9229d9fce5b97ff24ec2
BLAKE2b-256 d2d235ed9d09e2115839db65437aa4f32576b3d76a07cedc04db2f17317ea1d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: egrc_core-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 211.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aed128340302b1df5e39b9761f4302e8b9e95f9efa5631a14e08c49ed7a479f3
MD5 d9d1e4bca5c9bf1f6c9fd009c773ce6c
BLAKE2b-256 3d42665692cdcdbb3a85cde63bef883de7199ad3f55bc4f6138ed36cf53e97ce

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