Extended os module
Project description
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
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
extendedos-0.1.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for extendedos-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e66b54d15f7f97bed221ad42574d082e9f45f7a61292f058a57a18082a819bbb |
|
MD5 | f33307553c0d0c57de220d2b9132b618 |
|
BLAKE2b-256 | 6c9a3c947b0386de2592b946eaa6afd99938023f9fbe90e4339366ac342df11d |