vreuter / gertils

general GERlich group uTILitieS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gertils

General GERlich group uTILities

These tools are organised by use case at the module level; that is, tools that are used in a similar context will tend to be defined in the same module, with the module name reflecting that shared usage context. If you see that something's not well placed, please open an issue and/or a pull request.

Index

  • collection_extras.py -- tools for working with generic containers / collections
  • environments.py -- tools for working with conda and pip environments
  • gpu.py -- tools for running computations on GPUs, especially with TensorFlow
  • group_paths.py -- tools for working with Gerlich group paths on filesystems
  • pathtools.py -- tools for working with filesystem paths generally

Development

This project is configured to use Nix for a shell/environment with dependencies, and Nox to make common development commands/workflows easier. Start always with nix-shell. If it takes a long time to build, try...

  1. Stop the shell build: Ctrl-c
  2. Remove the Poetry lockfile: rm poetry.lock
  3. Clear Poetry's PyPI cache (assuming you have an active Nix shell): poetry cache clear PyPI --all
  4. Exit Nix shell: Ctrl-d
  5. Rebuild Nix shell: shell.nix

About

general GERlich group uTILitieS

License:MIT License


Languages

Language:Python 96.6%Language:Nix 3.4%