Skip to content

Repository files navigation

TimeGAN-Static

Release Build status codecov Commit activity License

A fork of https://github.com/jsyoon0823/TimeGAN that implements static features and snapshotting

Installing this Software

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 timegan

Creating a Singularity Container

The 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.def

You 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 list

This will also work if you are using singularity to build.

Contributing

This repository is managed with Poetry. See CONTRIBUTING.md for instructions on setting up a development environment, running tests, and submitting a pull request.

Releasing a New Version to PyPI

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:

  1. Update the version number in pyproject.toml to 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).

  2. 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
  1. 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.

About

A fork of https://github.com/jsyoon0823/TimeGAN that implements static features and snapshotting

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages