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
027475e4b3
[+] remove alembic.ini
2025-07-09 12:08:08 +03:00
13e2bff324
[+] add get_or_create for sqlalchemy
2025-07-09 11:51:20 +03:00
731b9d384a
[+] partially add storing of tickers
2025-07-09 11:12:56 +03:00
c8370f96ff
[+] reuse settings from tickers
2025-07-09 10:55:10 +03:00
9aec75cdd7
[+] add basic entry point
2025-07-08 13:17:13 +03:00
38c0b9ba87
[+] add Emcont.worker
2025-07-08 13:08:37 +03:00
ac23cc9397
[+] improve requirements
2025-07-08 10:46:16 +03:00
acd34f2ca5
[+] improve emcont wrapper
2025-07-08 10:44:47 +03:00
eb32f27bad
[+] partially add emcont
...
1. update dependencies;
2. partially add tickers retrieval and parsing;
2025-07-07 10:45:03 +03:00
60ef0e386d
[+] add Ticker table
2025-07-07 10:33:44 +03:00
3f1e8c57ac
[+] update alembic
...
1. fix async connection for alembic;
2. generate Market table migration;
3. migrate database;
2025-07-04 11:33:33 +03:00
18449382e1
[+] update alembic
2025-07-04 10:56:27 +03:00