Releases: jchen6727/batchtk
Releases · jchen6727/batchtk
v0.0.2a
can use
from batchtk.utils import TOTPConnection
conn = TOTPConnection(host='expanse0', key='OJLE5DEVKNUMPR2ROVM7QXF7M4VNGFPS')
then pass conn to the SSHDispatcher to allow for TOTP connections
What's Changed
- WIP to development merge by @jchen6727 in #2
- updated workflows, including pytest by @jchen6727 in #4
- updated workflows, including pytest, hasattr fixed (raised incorrect error before) by @jchen6727 in #5
- quickfix: changed SSHDispatcher for consistency with other Dispatcher constructors by @jchen6727 in #7
- TOTPConnections, fixed deprecated statements by @jchen6727 in #8
- TOTP Connections now allow SSH with MFA --- by @jchen6727 in #9
Full Changelog: 0.0.2...0.0.2a
trial and custom command and fs method support
Merging completed WIP and updates into release (#6)
Notes
Changes to batchtk —
Global CONSTANTS moved to batchtk.header
— check header.py re: parsing of environment variables and aliases
— change to certain CONSTANTS to resolve naming ambiguities
inspyredtk
— WIP module (no current implementation) utilizing inspyred population based algos
raytk
— trial function that supports interfacing with ray tune/train now utilizing runtk.trial function
runtk
— dispatchers now support custom filesystem and command classes (see protocol classes in batchtk.utils)
— header now moved to its own submodule to avoid circular imports
— runners.py now supports (toggling) singleton, see `_` attributes below Runner class. A Runner will be singleton by default, can do:
```
Runner_Constructor = get_class()
Runner_Constructor._reinstance = True
```
to ensure non-singleton, reinstantiation
— sockets.py
internal refactoring
— submits with new attributes:
```
script_args -> set of {arguments,} that the script takes
script_template -> the template of the script that will be written to .sh
submit_template -> the submit command (i.e. submission through some scheduling system)
handles -> any handles for communication (depends on filesystem or socket based communication,,,)
```
—trial
containing function which runs a single trial with the—
```
start()
connect()
recv()
clean()
```
invocations
— util_class containing:
RunConfig and Comm classes which segregate the trial configuration and trial communication methods
sshtk
—WIP module supporting file transfer via fabric & paramiko
utils
—now containing FS and CMD protocol classes and implementations for local and remote job submission.
for c/w other projects, (i.e. NetPyNE)
- update release number
batchtk v0.0.1c
batchtk v0.0.1c to be run with NetPyNE batchtools beta. Support for additional datatypes implemented, minor code refactoring.
Full Changelog: v0.0.1b...0.0.1c
batchtk v0.0.1b
batchtk v0.0.1b
batchtk v0.0.1a
issue with versioning pypi
batchtk v0.0.1
Initial release batchtk