eos: Extended os module
Install
pip install extendedos
Quick Start
import os.path as osp
from eos import makedirs
makedirs('/tmp/example/1/2')
osp.exists('/tmp/example/1/2')
# True
from eos import make_fancy_output_dir
make_fancy_output_dir('/tmp/result')
# '/tmp/result/iory-mac-2020-03-27-19-08-17-191116-46504'
make_fancy_output_dir(time_format=None)
# '/tmp/vm7bwis1'
from eos import measure
import time
with measure('measure_example'):
time.sleep(1.0)
# measure_example: 00:00:01.000574
from eos import current_time_str
current_time_str()
# '2021-01-08-07-42-12-301381'
Metadata
Release files for extendedos 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| extendedos-0.1.7.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| extendedos-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / extendedos-0.1.7.tar.gz
| Download URL | extendedos-0.1.7.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2e29a1eeb1fbd6e3f3f298edfabd8b33b6e18a746076e116abb0208fbe3e23d
|
|
BLAKE2b-256 checksum How to use checksums |
edda969fc74ed9db775c8dc11211ccf09e5bf778d9eeb5664e41d06f0b003ff2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / extendedos-0.1.7-py3-none-any.whl
| Download URL | extendedos-0.1.7-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eaa145fd239fe8a065cc11a0a7dadf42659a011c863a1d418f06ac74a8d93085
|
|
BLAKE2b-256 checksum How to use checksums |
470ef716f65bdc0e015afcce2bf1e380d4dc88e74be425c428e847706ab07a89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|