Skip to main content

common libraries to enhance base workflow, Some decorators/context managers for your code and others

Project description

WOLLWO COMMON

"""TEXT Copyright (c) 2025 by Michal Perzel. All rights reserved.

License: MIT """

HOW TO, WITH POETRY

Bump package versions

cd /path/to/project/custom_logging

poetry version patch  #: 0.1.0 -> 0.1.1
poetry version minor  #: 0.1.0 -> 0.2.0
poetry version major  #: 0.1.0 -> 1.1.0

#: check with
poetry version
poetry list
poetry config --list

Build project

Before building bump version of package (see above or in /path/to/project/custom_logging/pyproject.toml). After build check /path/to/project/custom_logging/dist

cd /path/to/project/custom_logging
poetry build

New poetry Project

poetry init      #: in current folder initialize new poetry project
poetry new test  #: create new project
cd test
poetry env info  #: check project env info
poetry env info --path
poetry lock      #: Locks the project dependencies
#: deactivate creation of ENVs
poetry config virtualenvs.create false

add/remove library to dependency

poetry add package_name
poetry add package_name@0.1.0   #: exact version
poetry add package_name@^0.1.0  #: greater version than 0.1.0, but less than next major version 1.0.0
poetry add package_name@<0.1.0  #: lesser version than specified
poetry remove package_name

poetry add --dev package       #: add package necessary only for development

install project with poetry as python library

cd /path/to/project/custom_logging
poetry install

Check information about packages

poetry show
poetry show package
poetry show | awk '{print $1"="$2}'  #: export current dependency versions
poetry show -T | awk '{print $1"="$2}'  #: Top level dependencies

Activate ENV

poetry env activate

CUSTOM_LOGGING

WOLLWO_DECORATORS

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

wollwo_common-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

wollwo_common-0.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file wollwo_common-0.1.0.tar.gz.

File metadata

  • Download URL: wollwo_common-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.12.41-1-MANJARO

File hashes

Hashes for wollwo_common-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ccc7850e1137b4e04478ab539d4836bdcb7ccdd4705cea3f7006f0a0eb1816b1
MD5 8f6ab73010eaecd62564f98258666242
BLAKE2b-256 1cfd78d31ff17a1dadcbb24ecac02d091f95be24bc382fc272d968dc135827ad

See more details on using hashes here.

File details

Details for the file wollwo_common-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wollwo_common-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.12.41-1-MANJARO

File hashes

Hashes for wollwo_common-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94b5ca8cfe5dc85c43449649e6e6b400e1e97294caa861c9d0011aee725e1468
MD5 43bb924eefc879ef7393758da5b78225
BLAKE2b-256 8c44fd0377ae500f9c45e19162f81ab25d6a7a50b18c482ad80a64c7c27c3fbc

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