Skip to main content

Shortcut functions

Project description

Here is a collection of shortcut functions for small tasks.


  • 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


  • 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


  • 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


  • 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


  • 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


  • Add disk.make_enumerated_folder
  • Add log.parse_nested_dictionary


  • Add queue.Pusher, queue.Puller, queue.Publisher, queue.Subscriber
  • Add repository.download_github_repository, repository.get_github_ssh_url


  • Add log.format_path
  • Add text.remove_punctuation


  • 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.

Files for invisibleroads-macros, version
Filename, size File type Python version Upload date Hashes
Filename, size invisibleroads_macros- (20.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size invisibleroads-macros- (14.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page