TBA
Project description
exectools
Using exectools
# reload modules before importing
> from exectools import _import, _from
> _import('import foo as bar')
> _import('foo as bar')
> _import('from foo import bar, kaz')
> _from('foo import bar')
> _from('foo import bar as kaz')
# execfile for python 3
> from exectools import execfile
> execfile('file.py')
# make refresh helpers
> from exectools import make_refresh
> refresh_me = make_refresh(__file__)
> refresh_me()
# unload all modules matching regex pattern
> from exectools import unload
> unload('exect')
Changelog
0.0.1: initial release (2021-09-24)
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 Distribution
exectools-0.0.5.tar.gz
(6.5 kB
view details)
File details
Details for the file exectools-0.0.5.tar.gz
.
File metadata
- Download URL: exectools-0.0.5.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21e1c2d0923097aa2848318d2ab9d5b64b144908144570202bb8341fb35cca8d |
|
MD5 | 50eac7f254aa1b2ef7fea899ca0d1dff |
|
BLAKE2b-256 | 6a13a998c6dcfe90b62b0de9ab4407f05aadffc7466e72a0773dea2d51f068fa |