A fork of https://github.com/jsyoon0823/TimeGAN that implements static features and snapshotting
- Original Github repository: https://github.com/det-lab/TimeGAN-Static/
- Documentation https://det-lab.github.io/TimeGAN-Static/
This package is available for install via pip: timegan · PyPI.
You will need a Python 3.10 environment to properly match versions with certain dependencies.
pip install timeganThe timegan package is also equipped with a definition file that allows you to build a timegan training container with root.
After cloning the Repository, run the following command within the directory:
apptainer build 'envname'.sif env.defYou can test the build by checking timegan version install within the container. It should match the latest version on Github.
apptainer shell 'envname'.sif
pip listThis will also work if you are using singularity to build.
This repository is managed with Poetry. See CONTRIBUTING.md for instructions on setting up a development environment, running tests, and submitting a pull request.
New releases are published to PyPI automatically by a GitHub Actions workflow that runs when a release is published on GitHub. To cut a new release:
-
Update the version number in
pyproject.tomlto match the release you're about to cut (the CI workflow also sets it from the tag when publishing, but keeping it in sync locally avoids confusion). -
Tag the commit you want to release, using the version number as the tag name (e.g.
0.1.9):
git tag 0.1.9
git push origin 0.1.9- On GitHub, draft a new release using the tag you just pushed, then publish it.
Publishing the release triggers the release-main workflow, which sets the package version to the tag name, builds the package, and publishes it to PyPI automatically.
Repository initiated with fpgmaas/cookiecutter-poetry.