Skip to content

Releases: fulcrumgenomics/pyfgaws

Release 0.0.1

04 Jun 20:35
60eabb8
Compare
Choose a tag to compare

This is the first release of pyfgaws version 0.0.1.

The following tools are new:

  • run-job: runs an AWS batch job and optionally waits for it to reach a given state (ex. succeeded)
  • watch-job: watches an AWS batch job until it completes
  • watch-logs: watches an AWS CloudWatch log stream

The following APIs are new for AWS batch:

  • batch.BatchJob: stores information about and operates on a batch job
  • batch.BatchJob.from_id: retrieves an existing batch job by ID and builds it
  • batch.BatchJob.stream: gets the log stream for this batch job
  • batch.BatchJob.submit: submits the batch job
  • batch.BatchJob.get_status: gets the current status (ex. SUCCEEDED) for the batch job
  • batch.BatchJob.cancel_job: cancels a batch job (does nothing if RUNNING)
  • batch.BatchJob.terminate_job: terminates a batch job (cancels, or terminates if RUNNING)
  • batch.BatchJob.describe_job: gets the current state of the job and associated job metadata
  • batch.BatchJob.wait_on: waits on the batch job to enter one or more states, with each state having success or failure conditions
  • batch.BatchJob.wait_on_running: waits on the batch job to start running
  • batch.BatchJob.wait_on_complete: waits on the batch job to either succeed or fail

The following APIs are new for AWS CloudWatch logs:

  • logs.Log: stores information about a log stream to enable easy iteration over logs
  • logs.Log.reset: resets the Log object to iterate over potentially new log events