funora 0.0.1.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- funora/__init__.py +265 -0
- funora/_account.py +661 -0
- funora/_aclient.py +1484 -0
- funora/_budget.py +579 -0
- funora/_calc.py +182 -0
- funora/_canonical.py +235 -0
- funora/_catalog.py +473 -0
- funora/_chat_history.py +367 -0
- funora/_chats.py +392 -0
- funora/_chips.py +403 -0
- funora/_classify.py +466 -0
- funora/_client.py +1490 -0
- funora/_currency_switch.py +130 -0
- funora/_cursor.py +120 -0
- funora/_delivered.py +233 -0
- funora/_diff.py +752 -0
- funora/_engine.py +4795 -0
- funora/_extract.py +124 -0
- funora/_field_schema.py +112 -0
- funora/_fileio.py +58 -0
- funora/_gate.py +69 -0
- funora/_hops.py +101 -0
- funora/_host.py +120 -0
- funora/_identity.py +284 -0
- funora/_json.py +31 -0
- funora/_listen.py +312 -0
- funora/_lot_form.py +331 -0
- funora/_market.py +406 -0
- funora/_matching.py +147 -0
- funora/_money.py +279 -0
- funora/_monitoring.py +396 -0
- funora/_observed.py +237 -0
- funora/_order.py +552 -0
- funora/_order_details.py +281 -0
- funora/_orders.py +807 -0
- funora/_outbound.py +453 -0
- funora/_own_lots.py +301 -0
- funora/_poll.py +410 -0
- funora/_price_audit.py +281 -0
- funora/_proxies.py +232 -0
- funora/_raise.py +150 -0
- funora/_refund.py +102 -0
- funora/_result.py +157 -0
- funora/_retry.py +213 -0
- funora/_review_write.py +138 -0
- funora/_reviews.py +584 -0
- funora/_runner.py +651 -0
- funora/_secret.py +385 -0
- funora/_showcase.py +362 -0
- funora/_signals.py +375 -0
- funora/_skeleton.py +752 -0
- funora/_snapshot.py +276 -0
- funora/_state.py +279 -0
- funora/_stock.py +32 -0
- funora/_thread.py +574 -0
- funora/_transport.py +1023 -0
- funora/_updates.py +292 -0
- funora/_verdicts.py +91 -0
- funora/_viewing.py +143 -0
- funora/_watch.py +825 -0
- funora/_watch_state.py +237 -0
- funora/_whoami.py +546 -0
- funora/bot/__init__.py +52 -0
- funora/bot/_delivery.py +341 -0
- funora/bot/_outbox.py +261 -0
- funora/bot/_runtime.py +447 -0
- funora/bot/_spool.py +534 -0
- funora/budget.py +311 -0
- funora/capabilities.py +297 -0
- funora/conformance.py +758 -0
- funora/contract.py +73 -0
- funora/errors.py +996 -0
- funora/events.py +189 -0
- funora/extraction.py +420 -0
- funora/observe.py +560 -0
- funora/operations.py +671 -0
- funora/py.typed +0 -0
- funora/reconciliation.py +51 -0
- funora/response_classes.py +155 -0
- funora/retry.py +238 -0
- funora/send_outcome.py +78 -0
- funora/skeleton_format.py +77 -0
- funora-0.0.1.dev2.dist-info/METADATA +294 -0
- funora-0.0.1.dev2.dist-info/RECORD +87 -0
- funora-0.0.1.dev2.dist-info/WHEEL +4 -0
- funora-0.0.1.dev2.dist-info/entry_points.txt +2 -0
- funora-0.0.1.dev2.dist-info/licenses/LICENSE +201 -0
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: funora
|
|
3
|
+
Version: 0.0.1.dev2
|
|
4
|
+
Summary: Unofficial multi-language framework for the FunPay marketplace - Python SDK
|
|
5
|
+
Project-URL: Homepage, https://github.com/Funora-Develop
|
|
6
|
+
Project-URL: Repository, https://github.com/Funora-Develop/Funora-python
|
|
7
|
+
Author: Funora Contributors
|
|
8
|
+
License-Expression: Apache-2.0
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: funpay,marketplace,sdk,unofficial
|
|
11
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Typing :: Typed
|
|
17
|
+
Requires-Python: >=3.11
|
|
18
|
+
Requires-Dist: httpx>=0.27
|
|
19
|
+
Requires-Dist: selectolax>=0.3.21
|
|
20
|
+
Provides-Extra: dev
|
|
21
|
+
Requires-Dist: hatchling>=1.27; extra == 'dev'
|
|
22
|
+
Requires-Dist: mypy>=1.11; extra == 'dev'
|
|
23
|
+
Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
|
|
24
|
+
Requires-Dist: pytest-cov>=6; extra == 'dev'
|
|
25
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
|
26
|
+
Requires-Dist: pyyaml>=6; extra == 'dev'
|
|
27
|
+
Requires-Dist: ruff>=0.6; extra == 'dev'
|
|
28
|
+
Provides-Extra: docs
|
|
29
|
+
Requires-Dist: mkdocs-material>=9.5; extra == 'docs'
|
|
30
|
+
Requires-Dist: mkdocs>=1.6; extra == 'docs'
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
|
|
33
|
+
<p align="center">
|
|
34
|
+
<img src="https://raw.githubusercontent.com/Funora-Develop/.github/main/assets/funora-python.svg" width="76" height="76" alt="">
|
|
35
|
+
</p>
|
|
36
|
+
|
|
37
|
+
<h1 align="center">Funora для Python</h1>
|
|
38
|
+
|
|
39
|
+
<p align="center"><em>Эталонная реализация контракта Funora.</em></p>
|
|
40
|
+
|
|
41
|
+
<p align="center">
|
|
42
|
+
<img alt="status" src="https://img.shields.io/badge/status-draft-6E7681?style=flat-square">
|
|
43
|
+
<a href="https://pypi.org/project/funora/"><img alt="PyPI" src="https://img.shields.io/pypi/v/funora?style=flat-square"></a>
|
|
44
|
+
<img alt="license" src="https://img.shields.io/badge/license-Apache--2.0-2F7D95?style=flat-square">
|
|
45
|
+
<img alt="FunPay" src="https://img.shields.io/badge/FunPay-unofficial-B4501E?style=flat-square">
|
|
46
|
+
</p>
|
|
47
|
+
|
|
48
|
+
<p align="center"><a href="https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/README.en.md">English</a></p>
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
> **Неофициальный проект.** Funora не аффилирована с FunPay, не одобрена ею и никак с ней не связана.
|
|
53
|
+
> Работает с приватным веб-интерфейсом, который может измениться в любой момент без предупреждения.
|
|
54
|
+
> Использование может привести к блокировке аккаунта и заморозке средств - этот риск несёте вы.
|
|
55
|
+
> Прочитайте [DISCLAIMER.md](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/DISCLAIMER.md) прежде, чем строить на этом то, что приносит вам деньги.
|
|
56
|
+
|
|
57
|
+
## Тестовый pre-alpha: `0.0.1.dev2`
|
|
58
|
+
|
|
59
|
+
Установка из [PyPI](https://pypi.org/project/funora/0.0.1.dev2/):
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
python -m pip install "funora==0.0.1.dev2"
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Установка и ограничения описаны в [заметке о выпуске](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/pre-alpha.md).
|
|
66
|
+
Контракт пока имеет статус draft; сборка пакета не означает проверку всех
|
|
67
|
+
операций на действующем аккаунте.
|
|
68
|
+
Новые версии на PyPI выходят на крупных этапах; текущая доработка идёт в ветках и PR.
|
|
69
|
+
|
|
70
|
+
Реализованы и проверяются тестами тридцать пять операций: двадцать четыре чтения и одиннадцать записей - отправка текста и картинки, отметка прочтения, отзыв и его снятие, правка цены лота, поднятие предложений, включение и выключение лота, смена валюты интерфейса и возврат по заказу.
|
|
71
|
+
|
|
72
|
+
**Руководство: [docs/index.md](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/index.md).** Оно собирается в сайт
|
|
73
|
+
(`mkdocs serve`) и проверяется тем же прогоном, что и код: примеры разбираются
|
|
74
|
+
интерпретатором, ссылки разрешаются, а каждая упомянутая операция ищется на
|
|
75
|
+
настоящем клиенте.
|
|
76
|
+
|
|
77
|
+
## Что это
|
|
78
|
+
|
|
79
|
+
Python SDK для FunPay. Здесь протокол прорабатывается первым; остальные языки
|
|
80
|
+
реализуют его заново по спецификации, а не портируют этот код построчно.
|
|
81
|
+
|
|
82
|
+
```python
|
|
83
|
+
from funora import Client, EnvSecretProvider
|
|
84
|
+
|
|
85
|
+
# Секрет берётся из FUNORA_GOLDEN_KEY и в коде не появляется ни разу.
|
|
86
|
+
with Client(EnvSecretProvider()) as client:
|
|
87
|
+
page = client.orders.list()
|
|
88
|
+
for order in page.rows():
|
|
89
|
+
print(order.order_id, order.description_text)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
То же асинхронно. Фасада два, ядро одно: нормативный порядок шагов, политика
|
|
93
|
+
повторов, расход бюджета и правила курсора написаны один раз и обоим достаются
|
|
94
|
+
готовыми. Перевод бота сводится к `await`.
|
|
95
|
+
|
|
96
|
+
```python
|
|
97
|
+
from funora import AsyncClient, EnvSecretProvider
|
|
98
|
+
|
|
99
|
+
async with AsyncClient(EnvSecretProvider()) as client:
|
|
100
|
+
page = await client.orders.list()
|
|
101
|
+
for order in page.rows():
|
|
102
|
+
print(order.order_id, order.description_text)
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Что уже работает
|
|
106
|
+
|
|
107
|
+
| Операция | Возвращает |
|
|
108
|
+
|---|---|
|
|
109
|
+
| `client.orders.list()` | список продаж сокращёнными записями |
|
|
110
|
+
| `client.orders.get(order_id)` | один заказ целиком |
|
|
111
|
+
| `client.orders.details(*ids)` | заказы структурно: сумма числом, валюта кодом, стороны порознь |
|
|
112
|
+
| `client.orders.refund(order_id)` | средства возвращены покупателю |
|
|
113
|
+
| `client.chats.list()` | список диалогов |
|
|
114
|
+
| `client.chats.thread(node_id)` | переписку с определением происхождения сообщений |
|
|
115
|
+
| `client.chats.send_text(node_id, text)` | квитанцию отправки с исходом |
|
|
116
|
+
| `client.chats.mark_read(node_id)` | диалог помечен прочитанным |
|
|
117
|
+
| `client.chats.send_image(node_id, content, ...)` | картинка в переписке |
|
|
118
|
+
| `client.chats.buyer_viewing(node_id, *buyer_ids)` | что покупатель смотрит сейчас |
|
|
119
|
+
| `client.lots.list_own(node_id)` | свои лоты раздела с идентификаторами предложений |
|
|
120
|
+
| `client.lots.form(node_id, offer_id)` | форму правки лота и признак показа в выдаче |
|
|
121
|
+
| `client.lots.update_price(...)` | лот с новой ценой, всё прочее нетронутым |
|
|
122
|
+
| `client.lots.promote(game_id, node_id)` | поднятие всех предложений раздела |
|
|
123
|
+
| `client.lots.calculate_prices(node_id, price)` | что заплатит покупатель |
|
|
124
|
+
| `client.lots.activate(...)` | лот в выдаче |
|
|
125
|
+
| `client.lots.deactivate(...)` | лот снят с выдачи |
|
|
126
|
+
| `client.lots.showcase(user_id)` | витрину продавца разделами |
|
|
127
|
+
| `client.market.offers(node_id)` | публичные предложения раздела: чужие цены и продавцы |
|
|
128
|
+
| `client.market.snapshot(node_id)` | снимок выдачи для сравнения во времени |
|
|
129
|
+
| `client.market.chips(node_id)` | второй рынок: предложения по количеству |
|
|
130
|
+
| `client.reviews.get(user_id, rating=None, cursor=None)` | страница отзывов, отбор по оценке 1..5 и курсор продолжения |
|
|
131
|
+
| `client.reviews.leave(order_id, rating=..., text=...)` | отзыв к заказу |
|
|
132
|
+
| `client.reviews.remove(order_id)` | отзыв снят |
|
|
133
|
+
| `client.account.get()` | личность аккаунта |
|
|
134
|
+
| `client.account.refresh()` | её же, перечитанную |
|
|
135
|
+
| `client.account.health()` | пригодность сессии |
|
|
136
|
+
| `client.account.balance()` | баланс и операции |
|
|
137
|
+
| `client.account.switch_currency(code)` | валюта показа сменена |
|
|
138
|
+
| `client.account.capabilities()` | что из объявленного доступно |
|
|
139
|
+
| `client.catalog.categories(refresh=False)` | разделы площадки с кэшем |
|
|
140
|
+
| `client.catalog.search(query)` | публичный поиск игр и разделов; полнота совпадений не подтверждена |
|
|
141
|
+
| `client.catalog.field_schema(section_id)` | поля фильтров раздела, варианты выбора и диапазоны |
|
|
142
|
+
| `client.chats.history_before(node_id, cursor=...)` | предыдущие сообщения и сохраняемый курсор |
|
|
143
|
+
| `client.market.calculate_chip_prices(game_id, price)` | расчёт цены на рынке по количеству |
|
|
144
|
+
|
|
145
|
+
## Реакция за секунды, а не за минуты
|
|
146
|
+
|
|
147
|
+
У площадки есть собственный канал обновлений - `POST /runner/`, промежуток пять
|
|
148
|
+
секунд, - и наблюдение его слушает. Пока канал молчит, страницы не читаются
|
|
149
|
+
вовсе; сказал «изменилось» - читаются немедленно. Прежде изменение замечалось за
|
|
150
|
+
время опроса: от трёх секунд при активности до двух минут в тишине.
|
|
151
|
+
|
|
152
|
+
Из канала берётся ОДНО решение: изменилось что-нибудь или нет. События
|
|
153
|
+
по-прежнему собираются чтением страниц, тем же кодом и с теми же гарантиями.
|
|
154
|
+
Так и задумано: поведения канала при истёкшей сессии и при исчерпании предела не
|
|
155
|
+
наблюдал никто, а сигналу верить не нужно - ошибка в одну сторону стоит лишнего
|
|
156
|
+
чтения страниц, в другую ловится сторожевым сроком в две минуты.
|
|
157
|
+
|
|
158
|
+
Непонятный ответ канала не роняет наблюдение: оно возвращается к опросу страниц
|
|
159
|
+
и говорит об этом в журнал. Выключить быстрый путь целиком -
|
|
160
|
+
`client.watch(router, use_channel=False)`.
|
|
161
|
+
|
|
162
|
+
Для операций записи существенны исход запроса и сохранность прежнего состояния.
|
|
163
|
+
|
|
164
|
+
**Отправка текста** - [глава в руководстве](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/guide/sending.md): исходов у неё
|
|
165
|
+
три, а не два, и третий - «неизвестно» - это то, ради чего глава написана.
|
|
166
|
+
|
|
167
|
+
**Правка цены** - [глава про лоты](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/guide/lots.md): отправляется прочитанное
|
|
168
|
+
целиком, меняется ровно одно поле, а прежняя цена ложится в долговечный журнал
|
|
169
|
+
раньше, чем уходит запрос. Без файла состояния операция отказывает: у площадки
|
|
170
|
+
нет ни истории цен, ни отката, и «как было» знает только наша запись.
|
|
171
|
+
|
|
172
|
+
Поверх этого есть слой бота: `funora.bot`. Он даёт очередь исходящих, в которую
|
|
173
|
+
можно класть **из любого потока** - скажем, из обработчика телеграм-бота, - а
|
|
174
|
+
отправляет тот же поток, что ведёт наблюдение. Прямой вызов из чужого потока
|
|
175
|
+
портит счёт ограничителя молча, и потому отвергается вслух.
|
|
176
|
+
|
|
177
|
+
Есть и вторая очередь - **каталог с файлами**, для телеграм-бота, поднятого
|
|
178
|
+
ОТДЕЛЬНОЙ командой: до очереди в памяти он не дотягивается ничем. Задание,
|
|
179
|
+
взятое умершим процессом, повторно не отправляется никогда - его судьба
|
|
180
|
+
неизвестна, и решает о нём человек. Как это выглядит целиком - в [главе про
|
|
181
|
+
бота](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/guide/bot.md).
|
|
182
|
+
|
|
183
|
+
Полный реестр незавершённых механизмов с причинами лежит в
|
|
184
|
+
`Funora-spec/spec/conformance/not-implemented.yaml`. Он включает ограничения
|
|
185
|
+
планировщика, недостающие наблюдения и ещё не исполняемые части общего контракта.
|
|
186
|
+
Наличие всех сервисных методов не означает, что весь межъязыковой контракт завершён.
|
|
187
|
+
|
|
188
|
+
## Чего SDK пока не умеет
|
|
189
|
+
|
|
190
|
+
- Вывод средств не реализован.
|
|
191
|
+
- Догрузка длинных списков заказов и операций счёта: семантика `continue`
|
|
192
|
+
ещё не установлена. Предыдущие сообщения чата читаются отдельной операцией.
|
|
193
|
+
- Восстановление пропущенных событий канала по позиции: сейчас используются
|
|
194
|
+
повторное чтение страниц и сохранённые курсоры наблюдения.
|
|
195
|
+
- Отмена уже отправленного запроса ради более приоритетного.
|
|
196
|
+
|
|
197
|
+
Публичное чтение рынка уже использует отдельный транспорт без секрета аккаунта.
|
|
198
|
+
Общий сетевой бюджет и пауза после HTTP 429 сохраняются.
|
|
199
|
+
|
|
200
|
+
Читаются состояния заказа `paid`, `closed` и `refunded`. Другие носители
|
|
201
|
+
сохраняются как ненаблюдённое значение; выдачу нужно разрешать по конкретному
|
|
202
|
+
состоянию, а не по условию «не закрыт». Сообщение в переписке не подтверждает оплату.
|
|
203
|
+
|
|
204
|
+
`orders.details()` читает сумму числом и код валюты из структурного ответа.
|
|
205
|
+
Точное время нельзя восстановить там, где площадка даёт только текст для показа.
|
|
206
|
+
|
|
207
|
+
Возврат по заказу уже реализован: доступность формы проверяется перед запросом,
|
|
208
|
+
а результат определяется по ответу. Проверка этой реализации на записанных
|
|
209
|
+
ответах не заменяет проверку на действующем тестовом аккаунте.
|
|
210
|
+
|
|
211
|
+
Подробности: [границы SDK](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/limits.md),
|
|
212
|
+
[план наблюдений](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/observation-plan.md).
|
|
213
|
+
|
|
214
|
+
## Как устроено
|
|
215
|
+
|
|
216
|
+
Три решения, которые видно в первом же вызове.
|
|
217
|
+
|
|
218
|
+
**Результат - страница, а не список.** Записи получают методом `rows()`, и при
|
|
219
|
+
неполноте нужен явный `accept_incomplete=True`. Молча отданный неполный список
|
|
220
|
+
неотличим от полного, и обработчик примет решение по данным, которых нет.
|
|
221
|
+
|
|
222
|
+
**Поля различают «пусто» и «не наблюдалось».** `None` одинаково выглядит для
|
|
223
|
+
обоих случаев, а решения по ним противоположные: пустое описание перечитывать
|
|
224
|
+
незачем, отсутствующее - повод заподозрить изменение вёрстки. Поэтому чтение
|
|
225
|
+
`.value` у ненаблюдённого поля бросает исключение, а не возвращает `None`.
|
|
226
|
+
|
|
227
|
+
**Механические части порождаются из спецификации.** Ошибки, возможности,
|
|
228
|
+
политики повторов, бюджет и таблица соответствия вердиктов ошибкам не пишутся
|
|
229
|
+
руками ни в одном из шести SDK. Сборка падает, если порождённое отстало от
|
|
230
|
+
источника.
|
|
231
|
+
|
|
232
|
+
Подробнее - в [docs/architecture.md](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/architecture.md), а как этим
|
|
233
|
+
пользоваться - в [руководстве](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/index.md).
|
|
234
|
+
|
|
235
|
+
## Наблюдения за протоколом
|
|
236
|
+
|
|
237
|
+
Пакет содержит инструмент `funora-observe`, которым собраны все факты о
|
|
238
|
+
протоколе, на которых стоит спецификация. Он сохраняет структурный скелет
|
|
239
|
+
страницы: разметка целиком, текст и значения атрибутов заменены подписями.
|
|
240
|
+
|
|
241
|
+
- [docs/observations.md](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/observations.md) - что установлено и как проверить.
|
|
242
|
+
- [docs/protocol-questions.md](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/protocol-questions.md) - что осталось открытым.
|
|
243
|
+
- [docs/limits.md](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/limits.md) - чего Funora не умеет и почему это не чинится кодом.
|
|
244
|
+
- [docs/observing.md](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/observing.md) - как снять наблюдение самому.
|
|
245
|
+
- [tests/fixtures/pages/README.md](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/tests/fixtures/pages/README.md) - формат
|
|
246
|
+
снимков и почему их можно публиковать.
|
|
247
|
+
|
|
248
|
+
## Проект целиком
|
|
249
|
+
|
|
250
|
+
Funora - это один контракт, реализованный нативно на нескольких языках. Меняется язык,
|
|
251
|
+
но не ментальная модель: `Client`, сервисы, события, роутер и
|
|
252
|
+
таксономия ошибок означают одно и то же везде.
|
|
253
|
+
|
|
254
|
+
| Репозиторий | Что это | Статус |
|
|
255
|
+
|---|---|---|
|
|
256
|
+
| [Funora](https://github.com/Funora-Develop/Funora) | Один контракт, один набор тестовых векторов, нативный SDK на каждый язык. | `design` |
|
|
257
|
+
| [Funora-spec](https://github.com/Funora-Develop/Funora-spec) | Канонический контракт, который реализует каждый SDK. | `design` |
|
|
258
|
+
| [Funora-codegen](https://github.com/Funora-Develop/Funora-codegen) | Генерирует скучную повторяющуюся часть каждого SDK. | `design` |
|
|
259
|
+
| [Funora-conformance](https://github.com/Funora-Develop/Funora-conformance) | Тестовый контракт между языками. | `design` |
|
|
260
|
+
| [Funora-python](https://github.com/Funora-Develop/Funora-python) | Эталонная реализация контракта Funora. | `draft` |
|
|
261
|
+
| [Funora-javascript](https://github.com/Funora-Develop/Funora-javascript) | Исходник на TypeScript, на выходе JavaScript и декларации типов. | `planned` |
|
|
262
|
+
| [Funora-java](https://github.com/Funora-Develop/Funora-java) | Java SDK. | `planned` |
|
|
263
|
+
| [Funora-dotnet](https://github.com/Funora-Develop/Funora-dotnet) | .NET SDK. | `planned` |
|
|
264
|
+
| [Funora-cpp](https://github.com/Funora-Develop/Funora-cpp) | C++ SDK. | `planned` |
|
|
265
|
+
| [Funora-c](https://github.com/Funora-Develop/Funora-c) | C SDK - самый узкий контракт в проекте. | `planned` |
|
|
266
|
+
| [Funora-docs](https://github.com/Funora-Develop/Funora-docs) | Документация всех SDK из одного источника. | `design` |
|
|
267
|
+
| [Funora-examples](https://github.com/Funora-Develop/Funora-examples) | Сквозные примеры, которые реально прогоняет CI. | `planned` |
|
|
268
|
+
|
|
269
|
+
## Участие в разработке
|
|
270
|
+
|
|
271
|
+
Сначала прочитайте [CONTRIBUTING.md](https://github.com/Funora-Develop/.github/blob/main/CONTRIBUTING.md).
|
|
272
|
+
|
|
273
|
+
Полезнее всего сейчас три вещи.
|
|
274
|
+
|
|
275
|
+
Снимки страниц в состояниях, которых у нас нет: заказ в возврате или споре,
|
|
276
|
+
непрочитанный диалог, длинный список с постраничной навигацией. Каждый такой
|
|
277
|
+
снимок закрывает пункт в [docs/protocol-questions.md](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/docs/protocol-questions.md).
|
|
278
|
+
|
|
279
|
+
Разбор спецификации в [Funora-spec](https://github.com/Funora-Develop/Funora-spec):
|
|
280
|
+
она проверяется употреблением, и первая же попытка её применить дала восемнадцать
|
|
281
|
+
мест, где она противоречила сама себе.
|
|
282
|
+
|
|
283
|
+
Реализация операций чтения по уже написанным правилам извлечения.
|
|
284
|
+
|
|
285
|
+
## Безопасность
|
|
286
|
+
|
|
287
|
+
Никогда не вставляйте сессионный ключ, сырой HTML со страницы под авторизацией или содержимое
|
|
288
|
+
личной переписки в публичный issue. Сессионный ключ FunPay - это доступ ко всему аккаунту.
|
|
289
|
+
Сообщайте приватно через [Security Advisories](https://github.com/Funora-Develop/Funora/security/advisories/new),
|
|
290
|
+
подробности - в [SECURITY.md](https://github.com/Funora-Develop/.github/blob/main/SECURITY.md).
|
|
291
|
+
|
|
292
|
+
## Лицензия
|
|
293
|
+
|
|
294
|
+
[Apache-2.0](https://github.com/Funora-Develop/Funora-python/blob/v0.0.1.dev2/LICENSE) © Funora Contributors
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
funora/__init__.py,sha256=yFO5Htuv4G0e0X2FOil7SMxx6OuQGDoHuOM4cd__lM4,7979
|
|
2
|
+
funora/_account.py,sha256=d2nbZ_pVOGPbxJX177GWrxKQhQOqyJvSfaDXC7AyvTM,31846
|
|
3
|
+
funora/_aclient.py,sha256=VGbzdv1MCbHQ-gd-EPTsEMViOXGKJjuClfghjZ7DSXg,77274
|
|
4
|
+
funora/_budget.py,sha256=tPM3BRKD_HVknP3T29E1aKtY0JUwV5S0cLTjOc2MuHw,30699
|
|
5
|
+
funora/_calc.py,sha256=ql1IRlrxxcMIX77zZN2kMOxWFyXojuyoHM8yQAwRWTE,8649
|
|
6
|
+
funora/_canonical.py,sha256=gg6R0vaOyjblqcYXK4MFsKvjx2266KLN7mustUXJIAE,13101
|
|
7
|
+
funora/_catalog.py,sha256=i7ER-7A7821-IFaDYYmlBiqEEQi_-J3PX_r8egMFT1E,23045
|
|
8
|
+
funora/_chat_history.py,sha256=q8j9cLTirWzCBjAA_pUb5TLNtoxbkdjoM2hM67zguO0,19007
|
|
9
|
+
funora/_chats.py,sha256=IaZv9ArK621HiSQDgMTuoF03fPSLbqDrHbNS527Mekg,18765
|
|
10
|
+
funora/_chips.py,sha256=TrpE3uvv928L9dAXSRvad24gMFh081pz3Y-6qhpYVTI,19828
|
|
11
|
+
funora/_classify.py,sha256=9jgoXT_gvA38rxFJ6svSB2UJ3e2K8A6ajGil3aeP8-s,26199
|
|
12
|
+
funora/_client.py,sha256=jEiCa26yDd3iWz7qqcLSnoi7D8nEfBod3kP1ocEv5ds,77459
|
|
13
|
+
funora/_currency_switch.py,sha256=rmcbeSOMjPdIf-Aq40HWSEphEthFBr-RUb7S2FdHmss,7283
|
|
14
|
+
funora/_cursor.py,sha256=7UpDdwtZJVp94-_aiKOSK_EmxczudO3xxrmqzhtSoME,5144
|
|
15
|
+
funora/_delivered.py,sha256=-PTpvisjW9gr82J9CxlORjUkyPE-Wh6ItAS8d3d-97Y,12129
|
|
16
|
+
funora/_diff.py,sha256=k5obmUeErmF_a4s5eEh4voz6ZFoGoUr1ZWd07DnZNx8,43516
|
|
17
|
+
funora/_engine.py,sha256=qI4dg40DX9iIP5QSCq2BEcpTxWXgHULYu3nKNryRJoE,277324
|
|
18
|
+
funora/_extract.py,sha256=uqzYfsT86gNq24pk-rmes9LJ73rq2N1XScpp8vVVJJ0,8050
|
|
19
|
+
funora/_field_schema.py,sha256=kIpEfkaJHOINm-cGNHREbcOh8zRaJKKzY-3qFY7P2E0,4528
|
|
20
|
+
funora/_fileio.py,sha256=dhOvPrXx6e7U3I-cCuXegiKZ8DM3UVgakYXrIM1tpTA,2327
|
|
21
|
+
funora/_gate.py,sha256=rZSJgRRpuDZcS6vsluHZUKAitEuPU1MwSa4mGBdldB4,4216
|
|
22
|
+
funora/_hops.py,sha256=ODabnEe6kgT7AUuDdRzlUQrarXC94V2dLYr9XVBRGgE,4506
|
|
23
|
+
funora/_host.py,sha256=ZVHzQHM2yjvN9CL1ulrQJlAIoQUw8el1ko7tibGE7Ko,6461
|
|
24
|
+
funora/_identity.py,sha256=9J__2J2AwrQOiOQLLjDSxIdE_Y3xyqMCtqKNj2WjkzI,14901
|
|
25
|
+
funora/_json.py,sha256=3SwddriQ00XPfkq5bffkhTRCF6VDXQdx8imrblTMtq0,926
|
|
26
|
+
funora/_listen.py,sha256=QUhMHxJjr-U24hPc7AcAoUkT8InFV3TFixf7QNFpteU,18221
|
|
27
|
+
funora/_lot_form.py,sha256=3_cNyMX59Lr85OlRa6xTHwPp7rbI5k8ImfwImMF7mlc,17124
|
|
28
|
+
funora/_market.py,sha256=sfD5OHJTRaReydzzUVSsTeYUfPUmPr03mzfpr32WykM,20274
|
|
29
|
+
funora/_matching.py,sha256=IV1AWDaSShpWSItUGYuAQWrO-kTSHdXUYY-e_Vr6rdM,8813
|
|
30
|
+
funora/_money.py,sha256=62wYXdalWce7sWQ0KX-bL17cffCpeSRf-TjenpOLmmI,14934
|
|
31
|
+
funora/_monitoring.py,sha256=UUrXX_38REqr9zCioa0D3aQanNHhMJRxrDBdZu0G6-A,17786
|
|
32
|
+
funora/_observed.py,sha256=5PkHSsWoLjofHvuJR03pf7LDCJ3JyXEGJW-BAuD3u6M,12264
|
|
33
|
+
funora/_order.py,sha256=TDcGYrogyJrJE2Zq7pN6RyRmeZpeLQYiTzQ6n7W3Dy0,27934
|
|
34
|
+
funora/_order_details.py,sha256=7Nxn3mNQrkMlmsYpfqzn9mH7HjjUgUQFExcoE2sfNak,14004
|
|
35
|
+
funora/_orders.py,sha256=dYpD61GrAs3GKvkWm576V88uhwmyQssymncfHmxD2EY,47905
|
|
36
|
+
funora/_outbound.py,sha256=z1hhYeA7qmfxOlKiiQwgwLZIZ99MNGtgh96FtxrGRHk,24493
|
|
37
|
+
funora/_own_lots.py,sha256=4iT62DoSMlI_Ea9vfHiz8uXj1iaPqXqwM4VIGQZIZUo,14944
|
|
38
|
+
funora/_poll.py,sha256=Jb-N4IpvwgjjUBvQHdSFZC-VKN6t47bDpEWqQvHS1Ts,22397
|
|
39
|
+
funora/_price_audit.py,sha256=uAsw_XAgzN4sKtPwfysJbNfTSJ6ebdhkG2IXczDl86U,13660
|
|
40
|
+
funora/_proxies.py,sha256=szUPn4_nDhJT6K4hXWdaTcEbIl4Sv3Dd72BCOdRdG_I,11691
|
|
41
|
+
funora/_raise.py,sha256=fmyloT5Yt08nzLdInNFymkiZdNnYfNr-bSoAMEM0Hro,8990
|
|
42
|
+
funora/_refund.py,sha256=EIiGR0OyVRZuUfjJMA1T6VGIecH1SyRgeu8f6UU2yOg,5633
|
|
43
|
+
funora/_result.py,sha256=7ziFU9-479Ki2-LVbhPPOmNPlt7YlF3funaUzCsGvbE,7145
|
|
44
|
+
funora/_retry.py,sha256=EkMFdrxCsr7hKwyB1JVPPTUuELPPO_lZ5pUwoMsCdcY,12344
|
|
45
|
+
funora/_review_write.py,sha256=zE-_zHOIaJt4vFicrygUX5ZJnD_oVvg_xxEchzP50-0,7095
|
|
46
|
+
funora/_reviews.py,sha256=XpiWpGM_hT95m4-RWVEqxKqf-awxG9Ib4CGXxGDv6VA,28519
|
|
47
|
+
funora/_runner.py,sha256=Tj0FKXGDfHz7enuPAWPPPLSWbtIlw3rj5KL9NH_v2YQ,32019
|
|
48
|
+
funora/_secret.py,sha256=qqWJ5CPqsJziHGo92ghMWB7Sfa1WUVmf7K_qD7Q4O94,17413
|
|
49
|
+
funora/_showcase.py,sha256=5iPp-pBRwkl-phUVbuIJCd1Xsd-J29XPfH46D9kauw4,18204
|
|
50
|
+
funora/_signals.py,sha256=zWeomJW-FgNmFsnT4MtrU-DU9SdWzTdnd4jNqwdqhxQ,18319
|
|
51
|
+
funora/_skeleton.py,sha256=63szZ_ZeIoStum3uhsBFPyMC8n8Y9lCUC5VtLEQn6v0,46108
|
|
52
|
+
funora/_snapshot.py,sha256=qJcbtHoPxoYVmPDK2Ot2XOHC3ArzscwU_QwFaxSiOnM,13028
|
|
53
|
+
funora/_state.py,sha256=r35Y_T4rancKXE0XuApq8s9qNe1FmWIipjIRvBkAF4g,17211
|
|
54
|
+
funora/_stock.py,sha256=LxYniEzh72eL4xcjLlyeFKy4t_hCbEWk8qC197ysXTI,1289
|
|
55
|
+
funora/_thread.py,sha256=9-TsKtqn-Kp7q_CsCvCfnepnJiwCiLsRCYIzP7bHa-0,30428
|
|
56
|
+
funora/_transport.py,sha256=O2z7GLVss8jkkiJw10LrTifbPPAlvyc33zWEBYiTx64,50676
|
|
57
|
+
funora/_updates.py,sha256=oGF6bi30Lr-wty8m3y7d-atZ8cT5nknbqQK10bl8OnE,15029
|
|
58
|
+
funora/_verdicts.py,sha256=RWOMJa9kzonjk5EIfAHwb7n6ljqrEK1obis-d_lfVuI,5214
|
|
59
|
+
funora/_viewing.py,sha256=0z9AwH6yeIiOjHJLdzeKhVwOhdqmsbTcQMzcn7V4eQY,7045
|
|
60
|
+
funora/_watch.py,sha256=734hldIWjcRga2XmHhNZVfVUCUoK9ZeCiC2rYaTSibA,44932
|
|
61
|
+
funora/_watch_state.py,sha256=qqllDVty0PLgaqys7uX47TJ0K5EJiL8jPCH1ylJon74,11235
|
|
62
|
+
funora/_whoami.py,sha256=AZrrr8v_pdAlz-_HttwrAI4lGUt2GqgJalN54XSO29k,26498
|
|
63
|
+
funora/budget.py,sha256=DD_vMUnlQ0xhHOtBDfl0QIseyctQwKTPiEfIJYhGEWA,13787
|
|
64
|
+
funora/capabilities.py,sha256=9sRxw65ro3XX9YoewWOseevoFzOtYjECgIeEBqwT50c,15840
|
|
65
|
+
funora/conformance.py,sha256=yjLypYI9CDzFQ38pVigqWfZNRcGHkQKgKhe6g9MTr9E,36689
|
|
66
|
+
funora/contract.py,sha256=hQVKKaXnASzN2TJjg-KW3F2Q2KKK6A7iCokWqM5cRoE,3761
|
|
67
|
+
funora/errors.py,sha256=AGtE3D6sWww7V_M_c3CN-7y0XIoJdnKiveG0Yy0DXm4,49002
|
|
68
|
+
funora/events.py,sha256=d6S2DX08yWEcpzYqfLz-0bY6FMCLgYhlKdfu8qt_dik,9938
|
|
69
|
+
funora/extraction.py,sha256=pBrQYs0F1owQwio4g3CEZS6yIyCRUS-xB9Hh00iJylk,22055
|
|
70
|
+
funora/observe.py,sha256=5uBuf8pbrWEDd3cD7bil91P7oRcn-KgnMtI2CgPlfrY,29439
|
|
71
|
+
funora/operations.py,sha256=frwv8yuD1q6lmh7kBT4q-r4SKa6-_7AnSbsYrtJK__Y,28942
|
|
72
|
+
funora/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
73
|
+
funora/reconciliation.py,sha256=nZ6FvmM1XwfLeODKPn2KJQ8QV4YL4-wz3rJ2Emz3jfI,2598
|
|
74
|
+
funora/response_classes.py,sha256=eyAyS6rdPS4WfqXZD2ciFkUOBbQmlka25vgHxrxvJQA,7071
|
|
75
|
+
funora/retry.py,sha256=IseYYRb3haR6_RgPzzcZOUpr4gAsIRKJF6a0w6gAGZE,8803
|
|
76
|
+
funora/send_outcome.py,sha256=jofTAVwhMfWpki0cwFyRcO_DGnK-nNxIfRZqz_s4u_Y,5161
|
|
77
|
+
funora/skeleton_format.py,sha256=CiJos-i7KMB47AvPXpO9gb1zmDKly7-rKGSR6ZQtZvg,3695
|
|
78
|
+
funora/bot/__init__.py,sha256=cv_BDmWODMBCUthAqIj2jw3ypJzL0B2CHhkue0L9gV4,2696
|
|
79
|
+
funora/bot/_delivery.py,sha256=PkbTJKwLfmBNeK1Y_tHUrswmufFBjn2BUMQEORRqwCs,17390
|
|
80
|
+
funora/bot/_outbox.py,sha256=YOw7is8sY9L8OEV20Y0--zJjgeQTUxS0EaDVhYqnR1I,11833
|
|
81
|
+
funora/bot/_runtime.py,sha256=hoJrhXzfaXoga9G3Sordeijn2QMQg_5i1c4HQsYTRRY,21977
|
|
82
|
+
funora/bot/_spool.py,sha256=GtNhDLmpgePQkmihqmpyX-qs70cQQyBiL0yf-GdlcLE,26417
|
|
83
|
+
funora-0.0.1.dev2.dist-info/METADATA,sha256=cdAWeKNZgY27Tq0djAq_zoyer3WaBBzrKmVcnwv6glU,23294
|
|
84
|
+
funora-0.0.1.dev2.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
85
|
+
funora-0.0.1.dev2.dist-info/entry_points.txt,sha256=LSbXH_mlr85dUPmyOSvHXF9fSFtledcMVXN9wblIZxs,55
|
|
86
|
+
funora-0.0.1.dev2.dist-info/licenses/LICENSE,sha256=Jg8Tck7c9PAnPm4BRCi7zmvr_IVThAmGT9MmUs5O9nE,11349
|
|
87
|
+
funora-0.0.1.dev2.dist-info/RECORD,,
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Funora Contributors
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|