Langchain + MTUCI
Данная библиотека содержит обёртки над функционалом MTUCI Private API для AI-агентов.
Возможности
- Информация о пользователе. Агент может получить информацию о текущем пользователе.
- Посещаемость. Агент может получить информацию о посещаемости студента.
- Расписание. Агент может получить информацию о расписании на определённую дату.
- Форматирование. Есть возможности форматировать ответы в разных форматах: JSON и TOON
Установка
Библиотека доступна в PyPI:
pip install langchain-mtuci
uv add langchain-mtuci
Быстрый старт
Чтобы получить инструмент достаточно данного кода:
from langchain_mtuci import MtuciToolFactory, FormatterType
# Создание фабрики инструментов
factory = MtuciToolFactory(
login="ваш_логин",
password="ваш_пароль",
format_=FormatterType.TOON # Необязательный аргумент. По умолчанию - JSON
)
# Получение всех инструментов
tools = factory.create_tools()
Сами по себе инструменты не создаются - только через фабрику, т.к. требуют доступа к её сессии.
Metadata
Release files for langchain-mtuci 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langchain_mtuci-0.2.0.tar.gz | 5.0 kB | Without provenance | Details for langchain_mtuci-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_mtuci-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for langchain_mtuci-0.2.0-py3-none-any.whl |
Total release size: 18.0 kB
Release files / langchain_mtuci-0.2.0.tar.gz
| Download URL | langchain_mtuci-0.2.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2eada9fa36d5330e6ad5624c2d4c310d38b815531e444fdfa2a20b43964e8560
|
|
BLAKE2b-256 checksum How to use checksums |
36d0e24d068b0bd575bf87d6b4453f327a320c62da77e4e6b36dbd472dd489c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / langchain_mtuci-0.2.0-py3-none-any.whl
| Download URL | langchain_mtuci-0.2.0-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ab062b3e706ac26afb826dc25e8764e8336adedec0cf7ce0a25ec884cd00f80
|
|
BLAKE2b-256 checksum How to use checksums |
eda5928bb64bd5829be1a1c714e8f2db52f2c5d9a9dff3c6945bd7f4ecb83011
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for langchain-mtuci 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.