semvec/pypi-packages huggingface dataset:
tp-shared 0.2.401
Pydantic cхемы для всех проектов
Requires Python: >=3.12

# 🧩 tp-shared

Общий репозиторий схем для использования в нескольких проектах.

---

## Установка:
`poetry add tp-shared`

## Очистка при обновлении
```
poetry cache clear pypi --all --no-interaction; poetry add tp-shared@latest
```

```
poetry cache clear pypi --all --no-interaction && poetry add tp-shared@latest
```

## Публикация:
Собирает и загружает собранный пакет в PyPI.

`poetry publish --build`

## Структура проекта

**messages** 
-------------------------
Схемы сообщений от сервисов

Пример импорта  

from tp_shared_schemas.messages import GibddDcResultMessage

В каждой папке лежат соответствующие Pydantic-схемы, сгруппированные по функционалу.
--------------------------
---

## Как подключить репозиторий к существующему проекту

Если у вас есть локальный проект и вы хотите добавить репозиторий с общими схемами, выполните команды:
в файле pyproject.toml прописать зависимость:
1) 

```Python
[tool.poetry.dependencies]
tp-shared = { git = "https://gitlab.8525.ru/modules/tp-shared.git", rev = "main" }
```

poetry add git

```python
poetry add git+https://gitlab.8525.ru/modules/tp-shared.git
```

2) Выполнить команду poetry install или poetry update


## Репозиторий
```
cd existing_repo
git remote add origin https://gitlab.8525.ru/modules/tp-shared.git
git branch -M main
git push -uf origin main
```
charmlibs 1.0.0a1
The charmlibs namespace. This package should not be installed.
Requires Python: >=3.10

# charmlibs

This package should not be installed - it exists solely to reserve the `charmlibs` namespace.

This namespace is for packages designed to be used by [Juju charms](https://juju.is/charms-architecture). Visit the [charmlibs documentation site](https://canonical-charmlibs.readthedocs-hosted.com/) for more information about charm libraries.

See more:

- Get started with charm development, using [Charmcraft tutorials](https://documentation.ubuntu.com/charmcraft/stable/tutorial/) and [Ops tutorials](https://documentation.ubuntu.com/ops/latest/tutorial/)
- Learn how to [use and write charm libraries](https://documentation.ubuntu.com/ops/latest/howto/manage-libraries/)
- Learn how to [distribute your own charm library as a Python package](https://canonical-charmlibs.readthedocs-hosted.com/how-to/python-package/)
charmlibs-interfaces 1.0.0a1
The charmlibs.interfaces namespace. This package should not be installed.
Requires Python: >=3.10

# charmlibs-interfaces

This package should not be installed - it exists solely to reserve the `charmlibs.interfaces` namespace.

This namespace is for packages designed to be used by [Juju charms](https://juju.is/charms-architecture) to implement [relations](https://documentation.ubuntu.com/ops/latest/howto/manage-relations/), known as charm interface libraries. Read the [charmlibs documentation](https://documentation.ubuntu.com/charmlibs) for more information about charm libraries.

See more:

- Get started with charm development, using [Charmcraft tutorials](https://documentation.ubuntu.com/charmcraft/stable/tutorial/) and [Ops tutorials](https://documentation.ubuntu.com/ops/latest/tutorial/)
- Learn how to [use and write charm libraries](https://documentation.ubuntu.com/ops/latest/howto/manage-libraries/)