mirror of
https://github.com/knejadshamsi/zele-utils.git
synced 2024-12-22 07:35:51 -05:00
A CLI to preprocess and DB push for Zele project.
functions | ||
styles | ||
.example.env | ||
.gitattributes | ||
.gitignore | ||
classes.py | ||
LICENSE | ||
main.py | ||
README.md |
Zele-Utils
A CLI tool for preprocessing and pushing data to the database for the Zele project.
Installation
- Install Anaconda or Miniconda.
- Create the environment and install required packages:
conda env create -f environment.yml
- Activate the environment:
conda activate zele-utils
- Set up your
.env
file using.example.env
as a template.
Usage
Place the file you want to process in /data/
and push to the database in the appropriate directory. Run the corresponding command. For a list of available commands and options, use:
python main.py --help
Features
- Processes MATSim's
Population.xml
andNetwork.xml
files. - Processes data from the Overpass API and
map.osm
file.