infcommon3
所属分类:工具库
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-08-07 09:37:59
上 传 者:
sh-1993
说明: 通用基础架构(记录器、docker compose、yaml读取器、序列化器、时钟)
(Common infrastructure (logger, docker-compose, yaml reader, serializer, clock))
文件列表:
.editorconfig (147, 2024-01-09)
CHANGELOG.md (1318, 2024-01-09)
LICENSE (1087, 2024-01-09)
dev/ (0, 2024-01-09)
dev/env_develop (87, 2024-01-09)
dev/setup_venv.sh (115, 2024-01-09)
infcommon/ (0, 2024-01-09)
infcommon/__init__.py (570, 2024-01-09)
infcommon/clock.py (1523, 2024-01-09)
infcommon/docker_compose/ (0, 2024-01-09)
infcommon/docker_compose/__init__.py (0, 2024-01-09)
infcommon/docker_compose/docker_compose.py (2704, 2024-01-09)
infcommon/docker_compose/factory.py (311, 2024-01-09)
infcommon/factory.py (220, 2024-01-09)
infcommon/generic_factory_test.py (3581, 2024-01-09)
infcommon/info_container/ (0, 2024-01-09)
infcommon/info_container/__init__.py (0, 2024-01-09)
infcommon/info_container/info_container.py (1942, 2024-01-09)
infcommon/logger.py (3459, 2024-01-09)
infcommon/logging_utils.py (1586, 2024-01-09)
infcommon/serializer/ (0, 2024-01-09)
infcommon/serializer/__init__.py (0, 2024-01-09)
infcommon/serializer/exceptions.py (184, 2024-01-09)
infcommon/serializer/factory.py (1014, 2024-01-09)
infcommon/serializer/serializers.py (1800, 2024-01-09)
infcommon/settings_retriever/ (0, 2024-01-09)
infcommon/settings_retriever/__init__.py (0, 2024-01-09)
infcommon/settings_retriever/factory.py (672, 2024-01-09)
infcommon/settings_retriever/settings_retriever.py (961, 2024-01-09)
infcommon/utils.py (1270, 2024-01-09)
infcommon/yaml_reader/ (0, 2024-01-09)
infcommon/yaml_reader/__init__.py (0, 2024-01-09)
infcommon/yaml_reader/exceptions.py (46, 2024-01-09)
infcommon/yaml_reader/factory.py (778, 2024-01-09)
infcommon/yaml_reader/yaml_loaders.py (1613, 2024-01-09)
... ...
# infcommon3
[![CI](https://github.com/aleasoluciones/infcommon3/actions/workflows/ci.yml/badge.svg)](https://github.com/aleasoluciones/infcommon3/actions/workflows/ci.yml)
![Python versions supported](https://img.shields.io/badge/supports%20python-3.9%20|%203.10%20|%203.11-blue.svg)
This library contains some utils that are commonly used in most of the Alea's projects.
## Installation
```bash
mkvirtualenv infcommon3 -p $(which python3)
workon infcommon3
source dev/env_develop
dev/setup_venv.sh
```
## Running the tests
```bash
all_tests
```
## Usage of this library in another project
To use this library add the line below to your *requirements.txt*:
```
-e git+https://github.com/aleasoluciones/infcommon3.git@#egg=infcommon
```
Then install the dependencies:
```bash
python -m pip install -r requirements.txt
```
## Logging configuration
* You can set the SENTRY\_DNS environment variable to use Sentry as logger handler.
* To disable the logs, set the environment variable TEST\_MODE (e.g. when executing the tests we don't want logs to be printed or breaking the execution).
近期下载者:
相关文件:
收藏者: