## Introduction
swutils is a Python library for interacting with [ScraperWiki](https://scraperwiki.com/products/data-science-platform) boxes.
With swutils, you can
- Schedule jobs to run on daily basis
- Get email notifications if a job fails
- and much more...
## Requirements
swutils has been tested on the following configuration:
- MacOS X 10.9.5
- Python 2.7.10
swutils requires the following in order to run properly:
- [Python >= 2.7](http://www.python.org/download) (MacOS X comes with python preinstalled)
## Installation
(You are using a [virtualenv](http://www.virtualenv.org/en/latest/index.html), right?)
pip install swutils
## Usage
```python
import swutils
job = lambda: 'Code to update SW database'
exc_handler = swutils.ExceptionHandler('reubano@gmail.com').handler
swutils.run_or_schedule(job, True, exc_handler)
```
## Scripts
swutils comes with a built in task manager `manage.py` and a `Makefile`.
### Setup
pip install -r dev-requirements.txt
### Examples
*Run python linter and nose tests*
```bash
manage lint
manage test
```
Or if `make` is more your speed...
```bash
make lint
make test
```
## Contributing
View [CONTRIBUTING.rst](https://github.com/reubano/swutils/blob/master/CONTRIBUTING.rst)
## License
swutils is distributed under the [MIT License](http://opensource.org/licenses/MIT).
Metadata
Release files for swutils 0.11.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swutils-0.11.1-py2-none-any.whl | Python 2 | none | any | Details for swutils-0.11.1-py2-none-any.whl |
Release files / swutils-0.11.1-py2-none-any.whl
| Download URL | swutils-0.11.1-py2-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
994b72c452e97b8ef805239c13bf6907829a0fced0cc8c0041d292064da3960c
|
|
BLAKE2b-256 checksum How to use checksums |
bfc01aff785421dfa7247dd4296811ce4638eabc7d8709119310606381173388
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for swutils 0.11.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.