Pywhereisrunning
To see where the python script is running when the script is running.
Basically, it uses SIGUSR1 to send the signal to the python script, the script get the signal and use the frame to display where the script is running.
Installation
pip install pywhereisrunning
Usage
Just
import pywhereisrunning
to make the function available.
when you're run the script, use
pywhereisrunning $(filename)
to show where the script is running.
After the command, will show
File "src/preprocess.py", line 50, in <module>
click_df,train_user,test_user=merge_files()
File "src/preprocess.py", line 36, in merge_files
click_df=click_df.fillna(-1)
File "/home/sky/.conda/envs/py3.6/lib/python3.6/site-packages/pandas/core/frame.py", line 4153, in fillna
downcast=downcast,
File "/home/sky/.conda/envs/py3.6/lib/python3.6/site-packages/pandas/core/generic.py", line 6237, in fillna
value=value, limit=limit, inplace=inplace, downcast=downcast
TODOS
[x] pywhereisrunning + $(filename)
Metadata
Release files for pywhereisrunning 0.0.2
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 |
|---|---|---|---|---|
| pywhereisrunning-0.0.2-py36-none-any.whl | Python 3.6 | none | any | Details for pywhereisrunning-0.0.2-py36-none-any.whl |
Release files / pywhereisrunning-0.0.2-py36-none-any.whl
| Download URL | pywhereisrunning-0.0.2-py36-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3.6 |
|
SHA-256 checksum How to use checksums |
cc76fde3885caf4b6ed339da8c85db6d1e1e58d7feae40c16c5a6c63857b7050
|
|
BLAKE2b-256 checksum How to use checksums |
f52f3a375f2c31fe0b47f74c5d7a5c60a12e3e7052d86a45781d48a5860ae407
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.7
|
Security for pywhereisrunning 0.0.2
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.