pylizlib


Namepylizlib JSON
Version 0.1.30 PyPI version JSON
download
home_pageNone
SummaryPython utility library.
upload_time2025-02-13 20:20:07
maintainerNone
docs_urlNone
authorGabliz
requires_pythonNone
licenseNone
keywords python configuration utilities
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# PYLIZ
This is a simple python library that contains some useful functions that I use in my projects.

## Installation
```bash
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

```python
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")
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pylizlib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, configuration, utilities",
    "author": "Gabliz",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/a2/30/42e6853f0f7e5b3fba080e37bee8552dc1fa112a22b962896dc792aa48cc/pylizlib-0.1.30.tar.gz",
    "platform": null,
    "description": "\n# PYLIZ\nThis is a simple python library that contains some useful functions that I use in my projects.\n\n## Installation\n```bash\npip install pylizlib\n```\n\n## Description\nThe main class of this library is **PylizLib**. It's a class used for handle file and directories for a python script/project.\n\nIt allows you to:\n- easily manage directories and files\n- easily read and write a single configuration file\n\n### Example\n\n```python\nfrom pylizlib import PylizLib\n\n# Create an instance of PylizLib.\n# This will create a directory with the name of your app in your home directory.\napp = PylizLib(\"name_of_your_app\") \n\n# Create a directory in the app directory.\napp.add_folder(\"key_for_folder\", \"name_of_folder\")\n\n# Get the path directory.\npath = app.get_folder_path(\"key_for_folder\")\n\n# create app ini file and get/set value\napp.create_ini(\"medializ.ini\", [])\napp.set_ini_value(\"section\", \"key\", \"value\")\nvalue = app.get_ini_value(\"section\", \"key\")\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python utility library.",
    "version": "0.1.30",
    "project_urls": null,
    "split_keywords": [
        "python",
        " configuration",
        " utilities"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "861a1290958be2b89e8036711737e8947cfe9a2b14ff438f3eab7cb8538cb134",
                "md5": "4dedf3af5cfda332da89bd4c3e495115",
                "sha256": "21542d52d868fa5e6298215fe28c61b00b98413c6b47a98375d7d446f1d99d93"
            },
            "downloads": -1,
            "filename": "pylizlib-0.1.30-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4dedf3af5cfda332da89bd4c3e495115",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 26800,
            "upload_time": "2025-02-13T20:20:05",
            "upload_time_iso_8601": "2025-02-13T20:20:05.974745Z",
            "url": "https://files.pythonhosted.org/packages/86/1a/1290958be2b89e8036711737e8947cfe9a2b14ff438f3eab7cb8538cb134/pylizlib-0.1.30-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a23042e6853f0f7e5b3fba080e37bee8552dc1fa112a22b962896dc792aa48cc",
                "md5": "aaa1dac85af376d1a2fab4534c0bba57",
                "sha256": "2366f5c3793a559c237072f0b3cd8ccef6bfc1e7d9b2d9b770fd2fa0db3b9dc5"
            },
            "downloads": -1,
            "filename": "pylizlib-0.1.30.tar.gz",
            "has_sig": false,
            "md5_digest": "aaa1dac85af376d1a2fab4534c0bba57",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20314,
            "upload_time": "2025-02-13T20:20:07",
            "upload_time_iso_8601": "2025-02-13T20:20:07.115937Z",
            "url": "https://files.pythonhosted.org/packages/a2/30/42e6853f0f7e5b3fba080e37bee8552dc1fa112a22b962896dc792aa48cc/pylizlib-0.1.30.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-13 20:20:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pylizlib"
}
        
Elapsed time: 0.77760s