Skip to main content

Python utility library.

Project description

PYLIZ

This is a simple python library that contains some useful functions that I use in my projects.

Installation

pip install pylizlib

Description

The main class of this library is PylizLib. It's a class used for handle file and directories for a python script/project.

It allows you to:

  • easily manage directories and files
  • easily read and write a single configuration file

Example

from pylizlib import PylizLib

# Create an instance of PylizLib.
# This will create a directory with the name of your app in your home directory.
app = PylizLib("name_of_your_app") 

# Create a directory in the app directory.
app.add_folder("key_for_folder", "name_of_folder")

# Get the path directory.
path = app.get_folder_path("key_for_folder")

# create app ini file and get/set value
app.create_ini("medializ.ini", [])
app.set_ini_value("section", "key", "value")
value = app.get_ini_value("section", "key")

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

pylizlib-0.1.28.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylizlib-0.1.28-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file pylizlib-0.1.28.tar.gz.

File metadata

  • Download URL: pylizlib-0.1.28.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for pylizlib-0.1.28.tar.gz
Algorithm Hash digest
SHA256 2a9198b2d6afc6db436ba8aa5e1c8f1d9e22ac303f5decb539518ed1cae859ed
MD5 22677355732afa5fe76f9717b166e197
BLAKE2b-256 3ad1fc5bb8473f6bbb437374903922ebe1e1bae37d13eb42f903dd2756f63bec

See more details on using hashes here.

File details

Details for the file pylizlib-0.1.28-py3-none-any.whl.

File metadata

  • Download URL: pylizlib-0.1.28-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for pylizlib-0.1.28-py3-none-any.whl
Algorithm Hash digest
SHA256 4b84d841a9a39e2c9e829b452ad17a1b68b30d65e037b6a5776ea0a3e68b8b36
MD5 a17235374a65851c3a4620e64ba0fbba
BLAKE2b-256 3dcf7e40637d2883208fb7e82936ebb0d8e2ae4e360726f658c1e09f64d2d03a

See more details on using hashes here.

Supported by

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