Skip to main content

Shortcut functions

Project description

Here is a collection of shortcut functions for small tasks.

0.9

  • Define link_safely, make_relative_path_safely, make_tree

  • Deprecate define_get_numbers, get_list, parse_settings, set_default

  • Rename cancel_callback to cancel_shell_callback

  • Resolve links when validating relative or absolute paths

  • Update transform_geometries to support polygons

0.8

  • Add cut_and_strip

  • Add encode_object, define_decode_object

  • Add schedule_shell_callback, schedule_curl_callback

  • Add define_gather_numbers, parse_second_count

  • Add format_decimal, format_number

0.7

  • Add configuration.load_settings and configuration.save_settings

  • Add disk.TemporaryFolder and disk.TemporaryPath

  • Add math.divide_safely

  • Remove parse_date_safely thanks to latest dateutil

  • Replace get_interpretation_by_name with gather_settings

0.6

  • Add iterable.flatten_dictionaries, iterable.merge_dictionaries

  • Add log.format_summary, log.print_error

  • Add table.normalize_key

  • Filter keys in parse_nested_dictionary with is_key

  • Make disk.compress and disk.uncompress compatible with non-Linux

0.5

  • Add disk.make_enumerated_folder_for, disk.change_owner_and_group_recursively

  • Add repository.get_github_repository_commit_timestamp

  • Move queue.* to invisibleroads-sockets package

  • Move repository.* to invisibleroads-repositories package

0.4

  • Add disk.make_enumerated_folder

  • Add log.parse_nested_dictionary

0.3

  • Add queue.Pusher, queue.Puller, queue.Publisher, queue.Subscriber

  • Add repository.download_github_repository, repository.get_github_ssh_url

0.2

  • Add log.format_path

  • Add text.remove_punctuation

0.1

  • Add disk.compress, disk.uncompress

  • Add text.compact_whitespace

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

invisibleroads-macros-0.9.5.1.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

invisibleroads_macros-0.9.5.1-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file invisibleroads-macros-0.9.5.1.tar.gz.

File metadata

  • Download URL: invisibleroads-macros-0.9.5.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.5

File hashes

Hashes for invisibleroads-macros-0.9.5.1.tar.gz
Algorithm Hash digest
SHA256 1ed13daeafd4886204de78fa5c2358efdc76473ec13d51fc9b899c150a68ac00
MD5 96a9c6af005dbb2e023fad902ed068ea
BLAKE2b-256 a21d28082f481c54bfa1aae5f357a7c1c93ff5e446b34eb0616f73203ea28642

See more details on using hashes here.

File details

Details for the file invisibleroads_macros-0.9.5.1-py3-none-any.whl.

File metadata

  • Download URL: invisibleroads_macros-0.9.5.1-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.5

File hashes

Hashes for invisibleroads_macros-0.9.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1878c3b474683347f2eca359d8bd6b07b88057ef6477b8ec74d395e77d7d7ad7
MD5 95dcfb568e4bd3548794f620005594db
BLAKE2b-256 0a818b8bd1061c780da835b55780e77ce6cef0b1200f96964c470a1ea02f5410

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