Skip to main content

A comprehensive utility package to simplify common tasks in Python programming

Project description

EssentialKit

Functional Description

A comprehensive utility package to simplify common tasks in Python programming

Owner

For any bugs or questions, please reach out to Dani Gavilán

Branching Methodology

This project follows a Git Flow simplified branching methodology

  • Master Branch: production code
  • Develop Branch: main integration branch for ongoing development. Features and fixes are merged into this branch before reaching master
  • Feature Branch: created from develop branch to work on new features

Prerequisites

This project uses:

  • Language: Python 3.10
  • Libraries:
    • pyhocon
    • pytest
    • assertpy
    • selenium

How to use it

Install the library

pip install essentialkit
directory: Path = "/home/user/Documents/test/"

files: list[Path] = essentialkit.files.list_files(path=directory)

Functionalities

File Module

  • list_files: Retrieve a list of all file paths within a specified folder and its subdirectories.
  • read_json: Read and parse a JSON file into a Python dictionary.
  • write_json: Serialize a Python dictionary into JSON format and write it to a file.
  • read_hocon: Read and parse a HOCON file into a Python dictionary.
  • iterate_hocon: Read nested dictionaries and lists into dot and index generator.
  • write_hocon: Serialize a Python dictionary into HOCON format and write it to a file.
  • update_excel_column: Update a specific column in an Excel sheet with values from a list.

String Module

  • find_pattern_in_string: Find all occurrences of a pattern in a given string using regex.
  • replace_all: Replace all occurrences of keys in input dict within input string with their corresponding values.

Scraping Module

  • launch_chrome: Launches a Chrome browser instance with custom settings.

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

essentialkit-0.5.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

essentialkit-0.5.1-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file essentialkit-0.5.1.tar.gz.

File metadata

  • Download URL: essentialkit-0.5.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for essentialkit-0.5.1.tar.gz
Algorithm Hash digest
SHA256 f70c3b0d21c47b3ddb0e52d25d50d82686bb3deab7a86cb2bc560cafb9b6ddc6
MD5 b76bdfe7fd4b860c4534713bd1d36984
BLAKE2b-256 9869e6520f2c087db2f8e964d8083a78427ffdf1533f1cade9e207ad9c1014b0

See more details on using hashes here.

File details

Details for the file essentialkit-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: essentialkit-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for essentialkit-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d83288c7eee29839276604d977ac7814d1bbb8f468a116fd666252b8053021f1
MD5 e412c3c5269cd3e73c501879c609cfa4
BLAKE2b-256 a45309fca7db9110bc16c9bc31c847c855cfcd897772367658a9df30aaeec7e3

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