Run a python function (e.g., a test) in it's own process
Project description
decoupled
Motivation
Imagine...
- You're developing a python extension OR
- You're writing some C or C++ code, but decided to add some python bindings because you're more familiar with python unit testing libraries
Now this C/C++ code can fail in ways which Python code cannot. It can cause a segfault and take your whole Python process down. That means, that your testing library doesn't get to display it's results - you don't get told which tests fail.
The solution
decoupled runs your code in a separate process. If it crashes, this doesn't take down the parent process. Instead, a ChildCrashedError is raised in your parent process.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file decoupled-0.0.7.tar.gz.
File metadata
- Download URL: decoupled-0.0.7.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfa1bf822260c4764ef51e34a530d3a34aa9f138333331a696287dfdd81d84cd
|
|
| MD5 |
e5cf7b035556afee9e2716539a3e50d8
|
|
| BLAKE2b-256 |
9f15ac29c7b811042c8119c91053406ad95a5b343254217e4a380bbc164ef349
|
File details
Details for the file decoupled-0.0.7-py3-none-any.whl.
File metadata
- Download URL: decoupled-0.0.7-py3-none-any.whl
- Upload date:
- Size: 6.0 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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37b316e2f6affef845f19f13107cc678c6a94abf37cfadef5be7f2dc09e87228
|
|
| MD5 |
0a2c1063da25a842dbe476e99167db6b
|
|
| BLAKE2b-256 |
c901557a2e7558d54481b4a03250d6b26bff1fa53ac35195bcb4138efdf3ed63
|