Some epic utilities
Project description
Epico
Just some epic python utilities
Functions
epico.pause()
Pauses the terminal and waits for input to continue.
epico.checktype(value, type)
Checks if the value is, or can be converted to, the specified type.
epico.dir.delete(path, recursive=False)
Deletes the specified path. recursive is defaulted to false.
epico.dir.create(path)
Creates the specified directory.
epico.file.create(filename, encoding=None)
Creates the specified file. ecoding defaults to None.
epico.file.append(filename, data, encoding=None)
Appends data to an already existing file.
epico.file.write(filename, data, encoding=None)
Overwrites data to an already existing file.
epico.file.delete(filename)
Deletes the specified file
epico.file.exists(filename)
Detects if a file exists, returns True or False.
epico.file.read(filename, mode='s')
Reads the contents of a file, returns a string normally, but if mode set to 'l' it becomes a list
epico.thread.runfunc(function)
Runs the specified function in a thread, and continues on in the code while that function is running
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
Built Distribution
File details
Details for the file epico-0.1.3.tar.gz
.
File metadata
- Download URL: epico-0.1.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88372645a9df52cbac734908de1468b3c177f6ebd3e7d72e19d69beda2ae5520 |
|
MD5 | a4352b4ec07f27a3f634f8979c1532c4 |
|
BLAKE2b-256 | 3d7311aa0cbf14beca823cca09005722455f49d5c95b9a116b366fd106be58f0 |
File details
Details for the file epico-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: epico-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f9e77b3ef2fb8b0b77c072069fc73fd8429b84a641ef6d001783fcb48a20f57 |
|
MD5 | a47ed5de4d35efcbd7acb0feeda02fa8 |
|
BLAKE2b-256 | 2ded1bbaaab88ff2a64e3eb68dc8e2220eff03d94278dee6f80c8f4679eb1f10 |