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

Brestart2-0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

Brestart2-0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Brestart2-0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for Brestart2-0.1.tar.gz
Algorithm Hash digest
SHA256 db5ac7ae72efe561820754479f8b935f8a41799677558346061b0f638745db25
MD5 02e75dfbb769ac068cbcd0b09abefbe3
BLAKE2b-256 1eea8c89d1973065c5c61a481c47d9b2e0c448ffa5c145b06664cf43331fdfca

See more details on using hashes here.

File details

Details for the file Brestart2-0.1-py3-none-any.whl.

File metadata

  • Download URL: Brestart2-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for Brestart2-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a2678287e960a00e4aa0e33fce8348bc444d953f766ce20b6cdf712a68e11c0
MD5 c07b87a8bf5b6a7b89e1453fdc56f5cb
BLAKE2b-256 4cc7d52008a57be2b4d930474b9e04076d83956c650f419a4205abd2459b8f7d

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