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.33.tar.gz (20.5 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.33-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pylizlib-0.1.33.tar.gz
Algorithm Hash digest
SHA256 dd9db450b0ad7ea497620ba011f81b61e1eba68e727fb15378f3a9284dd76db4
MD5 7d2d8ea6c1a419068eda808f1595385d
BLAKE2b-256 e1bebc1d6d972f3ce57fc9530c39631b3f5ea4c3a3ba8969a39d7de75a87fe5f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pylizlib-0.1.33-py3-none-any.whl
Algorithm Hash digest
SHA256 0bcefb023f4c0f4c8154a9f075f8d7bad4d24a6ca93af62a7644e1fdb8132022
MD5 26222925ea8433f79d6ca069a03a1a7b
BLAKE2b-256 67ae7fc39a3ea8964d785e323fb2466ab7754989ee7a74333f086242143abe6f

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