Skip to main content

An optimizing chunking command runner

Project description

Orbiteer

A tool to control time-range based scripts, programs, and more.

Goals

  1. Provide a consistent, elegant way of running a script repeatedly with varied inputs in a useful way, such as fitting a goal run-time.
  2. Provide clear error handling and notification, failing gracefully.
  3. Be highly configurable.
  4. Be highly tested.

Wanted Features

Legend:

Symbol Meaning
:white_check_mark: Merged
:yellow_square: In progress
:red_square: Not yet begun

Input Generation:

  • :white_check_mark: Datetime range
    • :white_check_mark: Old -> New
    • :white_check_mark: New -> Old
  • :red_square: Iterate over item chunks
    • :red_square: In presented order
    • :red_square: Sorted

Target Measurement

  • :white_check_mark: Direct time taken by command
  • :white_check_mark: Number returned by command

Optimization Strategy

  • :white_check_mark: Direct ratio
    • :white_check_mark: With damping
  • :red_square: PID

Targets

  • :white_check_mark: Run command line
    • :white_check_mark: Args at end of command string
    • :red_square: Command line formatting
  • :white_check_mark: Python Callable
  • :red_square: Call URL
    • :red_square: Via request parameters
    • :red_square: Via request body
  • :red_square: Append to file

Failure retries

  • :white_check_mark: Quit
  • :red_square: N retries (before quit)
    • :red_square: Immediately
    • :red_square: Timed wait
    • :red_square: Exponential backoff
  • :red_square: Skip
    • :red_square: Retry pattern and then skip
    • :red_square: Skip and retry again at end of run

Notification methods

  • :yellow_square: Logs
  • :red_square: User-named scripts
  • :red_square: PushOver

Notification events

  • :yellow_square: Nominal completion
  • :yellow_square: Erroring out
  • :red_square: N% completion
  • :red_square: Time passed

Development

Setup

  1. Install Poetry
  2. Run ./scripts/setup.sh

Check lint & formatting

make lint

Fix formatting

make format

Run tests & view coverage

make test

Check lint & run tests

make

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orbiteer-0.2.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orbiteer-0.2.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file orbiteer-0.2.0.tar.gz.

File metadata

  • Download URL: orbiteer-0.2.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.10 Linux/5.10.60.1-microsoft-standard-WSL2

File hashes

Hashes for orbiteer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1cce1972873d760041134e12da7374fbe560b4a7ab3d8bf5ffebec12dd3d5658
MD5 950d38579ad14d628d9fac8e9b361784
BLAKE2b-256 7624b0afbb1def3922ea89581a8bf7803853ec9bc2288f2d6cfb3de7b9bf333c

See more details on using hashes here.

File details

Details for the file orbiteer-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: orbiteer-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.10 Linux/5.10.60.1-microsoft-standard-WSL2

File hashes

Hashes for orbiteer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64b7373ffa35576f9a3ab4fca07d706ca1ea9765c20bcf770cec43c89fdc63d5
MD5 6b85a26422e78898c82f546785a3083f
BLAKE2b-256 614257faffea4636d35b492679471076b3966a7f2341583bc2e2f3260d179578

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page