Skip to main content

Some epic utilities

Project description

Epico

Just some epic python utilities

Functions

epico.pause()

Pauses the terminal and waits for input to continue.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epico-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

epico-0.1.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file epico-0.1.2.tar.gz.

File metadata

  • Download URL: epico-0.1.2.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

Hashes for epico-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6b54ade57ff06bfbab71a2473227cbce7a781c3d84c2c499be0d42e11d79763b
MD5 7b44898fa021514134282b38a7960253
BLAKE2b-256 957e6d302a3db8b7b9e6d42c24a8d1decdcaf5ce24951e3bf7cac6b07a635c74

See more details on using hashes here.

File details

Details for the file epico-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: epico-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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

Hashes for epico-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f0f7a8071ca9f2a9070026e1f48c2290868cddeaec82a4874ea3f36b82c44ec
MD5 5fd9721c938951fc2857b837edfa7886
BLAKE2b-256 d9c627a97f73aa292df6bc33be325bb601eb32f1c4e4030a477eb8e0568e0d11

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page