Meet Live Info
Python HTTP-клиент для Live Info Server из
Splash Meet Manager.
Библиотека предоставляет типизированный и удобный доступ к официальному HTTP JSON API Meet Manager без UDP, подписок и фоновых серверов.
Подходит для:
- live-табло
- веб-клиентов
- аналитики соревнований
- экспорта результатов
- интеграций с внешними сервисами
Возможности
- Чистый HTTP-клиент
- Полная типизация ответов через pydantic
- Поддержка всех динамических HTTP эндпоинтов Live Info Server
- Корректная работа с языками (
Accept-Language,language=) - Простая интеграция в backend и скрипты
- Python 3.11+
Требования
- Python >= 3.11
- Splash Meet Manager с включённым Live Info Server (HTTP)
Зависимости:
requestspydantic
Установка
pip install meetliveinfo
или
poetry add meetliveinfo
Быстрый старт
from meetliveinfo import HTTPClient
client = HTTPClient("http://localhost:3001")
events = client.events()
for event in events:
print(event.id, event.status)
Работа с языком
Язык данных зависит от:
- HTTP-заголовка
Accept-Language - или query-параметра
language
client = HTTPClient(
"http://localhost:3001",
language="us"
)
us→ английские имена- любой другой язык → локализованные данные
Поддерживаемые HTTP эндпоинты
Общие данные
/globals/agegroups/clubs/athletes/events/events/bysession/events/bystroke/events/timing
Заплывы и результаты
/heats/{event}/{heat}/heats/byid/{heatid}/heats/ares/{event}/{round}/{heat}/results/{event}
Медали и очки
/medals/medals/{event}/pointscores/pointscores/{id}
Рекорды
/records/records/{id}/records/{id}/all/records/byevent/{event}
Подсчёт очков
/time2Points/time2Points/handicap/time2Points/master
Коды и справочники
Gender
1— Men2— Women3— Mixed
Stroke
1— Freestyle2— Backstroke3— Breaststroke4— Fly5— Medley
Status
1— Entries2— Seeded3— Running4— Unofficial5— Official
Архитектура
- Один HTTPClient
- Синхронные запросы
- Без фоновых процессов
- Без UDP
- Без side-effects
Библиотека безопасна для использования в:
- FastAPI
- Django
- Celery
- CLI-скриптах
Статус проекта
- Активная разработка
- API может расширяться до версии
1.0.0
Лицензия
MIT
Автор
LordCode / Dybfuo 📧 9999269010dddd@gmail.com
Metadata
Release files for meetliveinfo 1.0.3
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 |
|---|---|---|---|---|
| meetliveinfo-1.0.3.tar.gz | 10.4 kB | Without provenance | Details for meetliveinfo-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| meetliveinfo-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for meetliveinfo-1.0.3-py3-none-any.whl |
Total release size: 26.3 kB
Release files / meetliveinfo-1.0.3.tar.gz
| Download URL | meetliveinfo-1.0.3.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0ea72ebc50015463555e7eff4be5033f50273ae133fbaad37d326d947170650
|
|
BLAKE2b-256 checksum How to use checksums |
7a553d8588432a88e67715dd5ff4c83729e2c8888b17dd3f8b35f1cca0d9deec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.0 CPython/3.11.14 Linux/6.11.0-1018-azure
|
Release files / meetliveinfo-1.0.3-py3-none-any.whl
| Download URL | meetliveinfo-1.0.3-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc99a9b83e9f86fda41ad561cfe3b91750c562223cf7f7680d25c27780c60bbb
|
|
BLAKE2b-256 checksum How to use checksums |
bba596ae6e8a8f498292cc02d583cfad610463c253bb664ddd1f1fbd904b218e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.0 CPython/3.11.14 Linux/6.11.0-1018-azure
|
Security for meetliveinfo 1.0.3
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.