A Python interface to interact with gmail.
Project description
A Python interface to run functions in the background.
Functions:
- background - run a function in the background
Usage:
>>> import backpy >>> def myFunction(text): while 1: print(text)>>> thread = backpy.background(target = myFunction, args = ("hello!")) # run >>> # the function myFunction in the background with args ("hello!") >>> thread._stop() # stop the thread. >>> def myEndFunction(data): print('Finished', data) >>> thread = backpy.background(mode = 'basic+finish', target = myFunction, args = ("hello!"), finish = myEndFunction, fargs = ("data")) >>> thread._stop() # stop the thread. </pre>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file backpy-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: backpy-0.0.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13a4d9f4fef04313c2b20d86c1f7c49837fd6f1f30ca34d538a5e7ff42a96293 |
|
MD5 | a3e85886f8985191a10ef48097171362 |
|
BLAKE2b-256 | 196b425beacd5f8bd4ee82392010cebe778da70e34b9195e2e00035ee1371872 |