Skip to main content

PyUtilities :: Useful python 3.10+ utilities library for various use cases.

Project description

Python Utilities Library

(C) 2018 - 2022, Dmitrii Gusev
Last update 26.06.2024

[TOC]

Project Description

Useful utilities/experimental modules/research in python 3.10+. Contains a lot of useful python functions and scripts. Some of the modules/scripts are just a research or experiments...

CMD Line Integrations

  • fedit
  • echo-server
  • ???

Useful tech info and links

Versions history

2.0.0

Major release after a long time :) It includes a lot of changes and updates. Refactored most of the methods, added a lot of tests, improved documentation and modules/methods descriptions.

  • removed all unnecessary modules or obsolete methods
  • added several modules and methods from various projects
  • fixed a lot of grammar issues ;)
  • added socket-based echo-server (can be run from the cmd line)
  • added powerful http client module
  • all tests are on pytest library

1.0.1

  • Minor fixes for the major release 1.0.0

1.0.0

  • total refactoring of existing modules and scripts
  • added convenient web client for various purposes (scraping)
  • added pipenv for development
  • reworked setup with setup.cfg
  • added several automation scripts

0.13.3

  • updated build mechanism with pipenv, instead of virtualenv and requirements.txt file

0.13.1

Updated library dependencies. Added openpyxl as support of xlsx format was removed from xlrd library. Updated unit tests. Minor fixes and several code refactors. Doc updates. Removed windows batch script.

0.12.0

Significant update for library. Many changes were done and sometimes tested :).

Changes that were done:

  • added pylog.py module, for logging purposes (convenience mostly). Method setup_logging() was moved here (from utils.py).
  • method setup_logging() now is able to initialize logger by name and return it
  • added deprecation of direct execution to utils.py
  • added module strings.py for various convenient methods for strings (with unit tests)
  • added unit tests modules for strings.py and pylog.py
  • added pysftp.py module for working with SFTP protocol (currently - empty DRAFT!)
  • added pyssh.py module for working with SSH protocol (currently - DRAFT!)
  • added pymaven.py module for representing Maven functionality (not tested yet!)
  • added pygit.py module for representing Git functionality (PyGit class)
  • methods git_clean_global_proxy()/git_set_global_proxy() moved to pygit module
  • added internal exception class PyUtilsException (module pyexception.py)
  • added type hints for some classes methods/functions
  • added shell script for executing unit tests with creating coverage report

0.5.5

Added compatibility with Python 3.7. Should also still work on Python 2.7. Let me know if it's not the case :)

0.5.4

Added method contains_key() to Configuration class.

0.5.3

Added one utility method - write_report_to_file(). Minor fixes, comments improvements.

0.5.0

Added ability for ConfigurationXls class to merge provided list of dictionaries on init. Added more unit test cases for ConfigurationXls class (initialization, dictionaries merge).

0.4.0

Added ability for Configuration class to merge list of dictionaries on init. Minor improvements, added several unit test cases. Minor refactoring.

0.3.0

Added ConfigurationXls class. It extends (inherits) Configuration class with ability of loading configuration from XLS files, from specified sheet, as name=value pairs. Added some unit tests for new class. Added dependencies list: requirements.txt file.

0.2.0

Added tests and some new methods.

0.1.0

Initial version/release. Just draft of utilities library.

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

pyutilities-2.0.0b2.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

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

pyutilities-2.0.0b2-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file pyutilities-2.0.0b2.tar.gz.

File metadata

  • Download URL: pyutilities-2.0.0b2.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.11 Windows/10

File hashes

Hashes for pyutilities-2.0.0b2.tar.gz
Algorithm Hash digest
SHA256 d8f29c4c3e64719a5aeb6683fce968adcb513e650b3018d050246acaab53b366
MD5 9dbb54c1a69fe2512c0da09f7d27606f
BLAKE2b-256 0d9ff46a4c8673f215ad6d317bb4ec72fcee2821998bbe4d88bc431ec55fa7e1

See more details on using hashes here.

File details

Details for the file pyutilities-2.0.0b2-py3-none-any.whl.

File metadata

  • Download URL: pyutilities-2.0.0b2-py3-none-any.whl
  • Upload date:
  • Size: 35.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.11 Windows/10

File hashes

Hashes for pyutilities-2.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 70d134b0085dfc104a0ae7911fd44203a8235d11710d31495b92d44627574e3e
MD5 d9640bb50f170bd74a0ea5bd7d7b6d3c
BLAKE2b-256 2edc0e617b351771b7353c7f2be0f8969e9ae1bb27e5298ea468c013ea9ce4f5

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