Skip to main content

A growing collection of simple utilities functions for Python

Project description

python-simple-toolbelt

A growing collection of simple utilities functions for Python

Installation

pip install simple_toolbelt

Functions


path.ensure_dir

Create the directories, include subs, if don't exist.

from simple_toolbath.path import ensure_dir

with open(ensure_dir('this/path/to/file.txt'), 'w') as f:
    ...

Check on GitHub: https://github.com/mbiemann/python-simple-toolbelt

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

simple_toolbelt-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

simple_toolbelt-0.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file simple_toolbelt-0.0.1.tar.gz.

File metadata

  • Download URL: simple_toolbelt-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for simple_toolbelt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8fd9e5d6d153b6356fd15036db6459b65333df070a58979d40363c42c36ae332
MD5 282cef1655b135a31c54d2f13384a958
BLAKE2b-256 4f2579cc326ccf19ae3612d32c6f0228c5d9dd449e426fd169fc68ea84e2b7e0

See more details on using hashes here.

File details

Details for the file simple_toolbelt-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: simple_toolbelt-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for simple_toolbelt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 237df6ee1384cd972ccb5d464b62d01fb01aa802a41d0823ee3aaba689b01d94
MD5 29daebdfa87cda5564fc5c32d1fea8a6
BLAKE2b-256 5c53135a8b4e2d452f4d1605fc747183607f511089ea076b3d812fee707b8acc

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