This package uses Poetry for packaging and Python virtual environment management. To get started:
-
Install pre-commit hooks by running the following two commands:
pip install pre-commit pre-commit install
-
Install Poetry by following their installation instructions.
-
Install this package and its dependencies by running the following command inside your clone of this repository:
poetry install --all-extras
-
Run the following command to launch a shell that is preconfigured with the project's virtual environment:
poetry shell
The package can be executed through two methods:
-
You can obtain all the JSONs associated with a single mission in your current working directory by running the following command:
python3 -m gcn_classic_text_to_json.notices.{missions_name}
-
Alternatively, you can obtain all JSONs associated with all missions in your current working directory by running the following command:
python3 -m gcn_classic_text_to_json