Skip to main content

PyUtilities :: Useful python 3.x utilities library.

Project description

Python Utilities Library

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

Project Description

Useful utilities/experimantal 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...

Versions history

1.0.1

  • Minor fixes for the major release 1.0.0

1.0.0

  • total refactpring of exisiting 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 / refactorings. 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 functionalitys (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 compatability 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 (inherites) 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. Just draft of utilities library.

MIT License

Copyright (c) 2022 Dmitrii

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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-1.0.1.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

pyutilities-1.0.1-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file pyutilities-1.0.1.tar.gz.

File metadata

  • Download URL: pyutilities-1.0.1.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for pyutilities-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8308ea850b240825a85596dd4de67d75010ed8b445784585afdc0303bb6a9d0a
MD5 13f4e65f86ae716506f9061b0b57eaab
BLAKE2b-256 2b043493b129a4c4b97b4a08a1382e426ff549af6aaf6922d031a3b27c862714

See more details on using hashes here.

File details

Details for the file pyutilities-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyutilities-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for pyutilities-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0718a4bb3fc34ef4c89abcdaf3ae28ada0ff31f2614564484653213117430272
MD5 451d5ccb396ee04b2ba7b791e62cbe2c
BLAKE2b-256 427b66bdf29be3650dc31fd206acbe6a751bb0478b72d5cfd65727cdf0c6bf4e

See more details on using hashes here.

Supported by

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