38c9c838ed
[+] let payloads app reuse summarizer
...
1. add rest_client to transform app;
2. wrap summarizer client inside payloads
with domain and protocol configured via settings;
3. update view to request summary generation per each
input list inside POST:/payloads
2025-07-25 13:07:06 +03:00
17f5d81953
[+] deploy payloads app
...
1. add app.py for payloads
alike the one in summarizer app;
2. check that the app service works;
2025-07-25 12:50:04 +03:00
468eac45a2
[+] fix singleton for summarizer
...
1. use explicit singleton class variable
for Summarizer, instead of relying
on fastapi Depends caching;
2025-07-25 12:40:06 +03:00
c0866ee863
[+] fix summarizer created upon every request
...
1. Reuse single Annotated instance;
2025-07-25 12:17:30 +03:00
5568c458c2
[+] improve rest api for summarizer
...
1. refactor out dependency logic into dependencies;
2. fix input schema for summarizer;
3. fix early app initialization before uvicorn sets logging;
4. add manual basicConfig call;
5. update default host and port for fastapi server;
6. add pyright watch mode;
2025-07-25 12:05:20 +03:00
e82586e08c
[+] update service
...
1. adding initialization logging;
2. try to fix no caching for requirements.txt;
2025-07-25 11:35:12 +03:00
520633f383
[+] rework docker for web
...
1. add separate requirements for heavy
packages with custom index-url;
2. rewrite docker file to make sure caching
is not triggering reinstall of requirements
all the time;
3. make sure summarizer has transformers
and torch modules;
2025-07-25 11:23:36 +03:00
491d272304
[+] add app component for transform
...
1. use FastAPI Depends to initialize
Summarizer once for the whole transform app;
2025-07-25 10:40:17 +03:00
d6e1424d89
[+] remove duplicate views from app.py
2025-07-24 11:14:02 +03:00
9bd3c3e45b
[+] partially deploy summarizer as service
...
1. add views, schema for transform module;
2. partially added injection of singleton
instances, like Summarizer;
2025-07-24 11:13:07 +03:00
7355552366
[+] add .whl
2025-07-24 11:03:45 +03:00
64cfccd353
[+] improve worker.py
2025-07-24 11:00:16 +03:00
97e0270550
[+] improve typing for worker.py
2025-07-24 10:26:47 +03:00
c4eb8b5568
[+] partially add worker based on huggingface
...
1. test huggingface manually from IPython;
1.1. seems to work;
1.2 put some long text from documentation,
it has provided some summary;
1.3. runs in about 40-60 seconds on 3-4 cores CPU;
1.4. almost made reuse local cache,
for some reason huggingface still can
download LFS weights from the public repo;
2. partially wrapped into worker
which is to be run as a separate service in docker-compose;
2025-07-23 11:10:13 +03:00
0b5971c4af
[+] partially add transform mock
...
1. researching hugging face model
https://huggingface.co/sshleifer/distilbart-cnn-12-6?library=transformers
2025-07-22 11:14:18 +03:00
80b5a6a64e
[+] update Makefile
2025-07-21 11:25:06 +03:00
bcf300e0c0
[+] update docs, fix url ending
2025-07-21 11:21:44 +03:00
13f5bbc2dd
[+] add return type for rest api payloads
2025-07-21 11:19:59 +03:00
ce50a74510
[+] partially add rest api views
2025-07-21 11:17:26 +03:00
f77399b1d2
[+] add ruff
...
1. add ruff recipies to Makefile;
2. reformat source code with ruff;
2025-07-18 10:11:28 +03:00
207a8737ba
[+] clean async_api
...
1. comment out not used logic;
2. remove app.py and websocket_api.py;
2025-07-18 10:07:43 +03:00
c81ee3c4ec
[+] fix postgresql environment
2025-07-18 10:04:55 +03:00
d185aaf329
[+] add initial payloads/models.py migration
2025-07-18 09:59:16 +03:00
fe33d5c7f6
[+] rename module folder
...
1. rename python module folder;
2. clean up payloads/logic.py;
3. update partially payloads/alembic/env.py;
2025-07-18 09:55:22 +03:00
0ee9e87b7f
[+] update payloads.models
2025-07-18 09:51:05 +03:00
cfdd6b72f0
[+] add requirements
2025-07-17 21:17:41 +03:00
d0ffbeef0f
[+] add simple fastapi template
...
1. rename basic package name;
2. rewrite requirements into docs/readme.md;
2025-07-17 21:14:07 +03:00
b0dd2eb5cf
[+] release .whl
2025-07-16 12:22:32 +03:00
f7abca1e1b
[+] implment assets_index
2025-07-16 12:21:18 +03:00
e73f57670a
[+] fix time serialization
2025-07-16 12:14:51 +03:00
f4831d5759
[+] improve asset_history
2025-07-16 11:04:17 +03:00
17bfb08e43
[+] fix typing
2025-07-16 10:52:37 +03:00
dda9c841fd
[+] improve ticker orm logic
2025-07-15 14:05:45 +03:00
181a9a5ce9
[+] partially add assets history endpoint
2025-07-15 13:10:04 +03:00
7d6ce1eaee
[+] improve websocket api
2025-07-14 11:41:02 +03:00
612d807bc4
[+] add websocket clients manager
2025-07-14 11:17:39 +03:00
25d5b34add
[+] add log_level
2025-07-14 11:07:22 +03:00
0151e61cd6
[+] add websockets dependency
2025-07-14 11:05:26 +03:00
687dc4bb9b
[+] fix typing
2025-07-14 11:03:10 +03:00
814fefd18b
[+] add api settings
2025-07-14 10:59:19 +03:00
afdc7c17b6
[+] partially add fastapi
2025-07-14 10:53:57 +03:00
3cde36d8a7
[+] use timezone for timestamp
2025-07-11 11:34:11 +03:00
83ac7c3a66
[+] update env for emcont_worker
2025-07-11 11:21:14 +03:00
ad7bff67c4
[+] update docker for services
2025-07-11 11:17:48 +03:00
83a09207d6
[+] deploy .whl
2025-07-11 11:04:38 +03:00
7103f3a089
[+] fix periodic retrieval
2025-07-11 10:55:36 +03:00
10c012aba2
[+] improve periodic processing
2025-07-10 11:53:08 +03:00
52df4b54d5
[+] improve timeouts handling
2025-07-10 11:40:53 +03:00
92a9f36acd
[+] fix not frozen Market rows
2025-07-10 11:27:58 +03:00
070a63222c
[+] improve tickers storage in DB
2025-07-10 11:18:15 +03:00