Skip to main content

restart functions at breakpoint

Project description

## Function: this module make it easy for any python script recorde results after some time-consuming task; so if some unpredictable errors happened and crashed your script, it can pass the funcs that has already successfully finished, just begin from the breakpoint;

## Method: a. before run your task,import this module, and at the fist run step – Brestart.preRunCheck() ; check if something wrong ,and wether it needs breakpoint restart; b. use @Brestart.logFunc to decorate the functions that cost much time,make it a recorde point; c. finally Brestart.end() at the last run step ,can clear temp log and do not affect next run.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

Brestart-0.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file Brestart-0.1.tar.gz.

File metadata

  • Download URL: Brestart-0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for Brestart-0.1.tar.gz
Algorithm Hash digest
SHA256 34e5b3a420740d3f610d31679a27c918296f6b25f156fef799f0d81e2900d044
MD5 ba719317514611aaabfb078f5f57f06d
BLAKE2b-256 bb1777197fb0c4103f9aa41983cb3316c6f9962138a00ed6aa0dbf1c9e196fd8

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