Skip to main content

Library with a collection of some more or less useful functions.

Project description

Salmagundi

Library with a collection of some more or less useful functions.

This includes encryption, decryption, configuration, helpers for console/terminal input, validation, string and file utilities.

For more information see the documentation.

History

2020-04-21 (0.12.0)

  • Add function convert_string() to module config
  • Add class StopWatch to module utils

2020-01-30 (0.11.3)

  • Add parameter numeric to config.convert_loglevel()

2020-01-16 (0.11.2)

  • Change utils.ensure_single_instance(): parameter lockfile -> lockname

2020-01-11 (0.11.1)

  • Bugfix: utils.ensure_single_instance()

2020-01-11 (0.11.0)

  • Add functions sys_exit() and ensure_single_instance() to module utils
  • Add parameter err_code to utils.docopt_helper()

2020-01-04 (0.10.0)

  • Add wildcards in spec for sections and options in module config
  • Add function docopt_helper() in module utils

2020-01-02 (0.9.4)

  • Bugfix: microseconds format in strings.format_timedelta()

2019-10-07 (0.9.2)

  • Fix documentation for module config
  • Link to overview table for selected module now in sidebar

2019-10-06 (0.9.1)

  • Bugfix: files.read_lines() stripped all whitespaces, not only line breaks
  • Improve documentation: add overview table to each module

2019-10-01 (0.9.0)

  • Add function slugify() to module strings
  • Add class TranslationTable to module strings
  • Change function strings.insert_separator()
  • Add module validation
  • Add __all__ to all modules

2019-06-26 (0.8.0)

  • Longer secret keys in module crypto

2019-05-12 (0.7.3)

  • Minor improvements/corrections of the documentation
  • Upgrade dependency: cryptography 2.4.2 -> 2.6.1

2019-04-15 (0.7.2)

  • Bugfix: problem with inputs.menu() when cursor is in the last row of the terminal

2019-02-07 (0.7.1)

  • Add 2 tags in module config

2019-01-31 (0.7.0)

  • Add module config
  • Add function int2str() to module strings
  • Bugfix: strings.str2tuple() can now use whitespace as separator

2019-01-15 (0.6.1)

  • Bugfix: *_prefix() functions in module strings now handle negative numbers correctly

2019-01-14 (0.6.0)

  • Add check_*() functions to module inputs
  • Add parameter caption to function menu() in module inputs
  • Add parameter errors to *_all() and *_lines() functions in module files
  • Add parameter reverse to function insert_separator() in module strings

2019-01-07 (0.5.0)

  • Replace create() with touch() in module files
  • Add functions to module files
  • Add functions to module strings
  • Add module crypto
  • Add module utils

2018-12-27 (0.4.0)

  • Add functions to module inputs
  • Rename line() to read() in module inputs

2018-12-24 (0.3.0)

  • Add module inputs

2018-12-23 (0.2.0)

  • Add functions to module colors
  • Add module strings

2018-12-17 (0.1.0)

  • First public release

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

salmagundi-0.12.0.tar.gz (37.3 kB view details)

Uploaded Source

Built Distribution

salmagundi-0.12.0-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

Details for the file salmagundi-0.12.0.tar.gz.

File metadata

  • Download URL: salmagundi-0.12.0.tar.gz
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.2

File hashes

Hashes for salmagundi-0.12.0.tar.gz
Algorithm Hash digest
SHA256 d21fd84df92afaf596bf3b7b85ac9c28aa916d6f669b3033c8ff8675426fc930
MD5 a70df0d91cfabe72fa35ab50f9ff95c2
BLAKE2b-256 eb6d4ba7f427aa6057eb03d85f606c45a3e9e9e419c41f866ab9601965fec9ea

See more details on using hashes here.

File details

Details for the file salmagundi-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: salmagundi-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 39.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.2

File hashes

Hashes for salmagundi-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d38b945b71b4b8317f6a82eff9b1cbfb74f764ba33b70b8b3e82ed80edcc141d
MD5 d79fdef3fdb96e9718b179ebebe562c0
BLAKE2b-256 2e24d1560dd7b4bd74e9c84af6fc7168d807a9ee99558ffd05686c6ead8efb73

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