2026-07-18 18:34:44 +10:00
2026-07-18 14:22:16 +08:00
2026-07-18 15:19:06 +08:00
2026-07-18 16:31:41 +08:00
2026-07-18 16:31:41 +08:00
2026-07-18 18:34:44 +10:00

Simple tool for archiving CTA data to flat files

Installation

Clone this archive, build and run the image. Pass in your API_KEY and map the output directory to your folder.

git clone https://gitea.iosull.com/iosullivan/cta-archive
cd cta-archive
docker build -t cta-archive .
docker run cta-archive --name cta-archive -d -e API_KEY=<APIKey> -v <outputdir>/usr/cta-archive/output/

By default, the script runs every 5 minutes to write json file to the above. This can be modified by updating the following line in the Dockerfile:

RUN echo ' */5 * * * * /usr/local/bin/python3 /usr/cta-archive/archive.py ' >> /usr/cta-archive/cronjob

# Where 5 indicates every 5th minute. 
S
Description
Simple python script and dockerfile to archive CTA data.
Readme
38 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 54.1%
Dockerfile 43.3%
Shell 2.6%