Collection of helper functions and general utilities used across various LARC projects
Project description
LARC Core Toolset
Collection of utilities for use across LARC projects.
Installation
pip3 install larc
How to Use
The larc
library provides a number of utilities:
larc.common
: Collection of general-purpose functions and types, patterned after thetoolz
functional programming librarylarc.yaml
: A few simple wrapper functions aroundruamel.yaml
that provides a standard interface for reading/writing YAML fileslarc.markdown
: Collection of Python Markdown extensionsMetaYamlExtension
(meta_yaml
): A slight tweak to the Meta-Data extension for providing YAML metadata at the beginning of a markdown fileSimpleTableExtension
(simpletable
): A<table>
-parsing extension for markdown that allows you to provide CSS classes for table elements within the markdownYamlDataExtension
(yaml_data
): A more general YAML-parsing extension that allows you to provide chunks of YAML data throughout the markdown file (not just at the beginning)
larc.rest
: A ReST client-building tool that attempts to be more functionallarc.logging
: Some logging utility functions that relies oncoloredlogs
for log coloringlarc.parallel
: Some functional parallelization utility functions designed for use within thetoolz
-ish functional idiomlarc.signature
: Functions to construct a host signature, for use when "fingerprinting" clients is necessarylarc.shell
: Shell command functions
The library also provides the following command-line tools:
diffips
: Given two files with IPs (A and B), get difference A - Bintips
: Given two files with IPs (A and B), get intersection A & Bdifflines
: Given two files with lines of text (A and B), get difference A - Bintlines
: Given two files with lines of text (A and B), get intersection A & Bsortips
: Given text content (from clipboard, file, or stdin), extract IPs sort themgetips
: Given text content (from clipboard, file, or stdin), extract IPs and print them
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
larc-0.0.18rc2.tar.gz
(35.2 kB
view hashes)