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 thetoolzfunctional programming librarylarc.yaml: A few simple wrapper functions aroundruamel.yamlthat 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 oncoloredlogsfor 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.27.tar.gz
(38.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
larc-0.0.27-py3-none-any.whl
(44.1 kB
view details)
File details
Details for the file larc-0.0.27.tar.gz.
File metadata
- Download URL: larc-0.0.27.tar.gz
- Upload date:
- Size: 38.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75011fc683f7198133ed6ce2e4f55aa7cf3e6e759df976efc53dd55804d3766d
|
|
| MD5 |
1dfc4482ef29b5698989de0965d08299
|
|
| BLAKE2b-256 |
f30ef3ed688fa0d6c7e54141a4bb0bc37af0fe038642d7d1ef16efdf95d10861
|
File details
Details for the file larc-0.0.27-py3-none-any.whl.
File metadata
- Download URL: larc-0.0.27-py3-none-any.whl
- Upload date:
- Size: 44.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.1+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b50867c74186cfac94d2e0ccc43daf7675e3376b20cdeb60a61d2c93fdce3d5b
|
|
| MD5 |
71ba384810d214b529e58e9ac3a5f48e
|
|
| BLAKE2b-256 |
87a1ec5652d0ec6e8a088040dd0fa4b9d4c5fd0b7a3da6e47fe775224ddcbbf9
|