Skip to main content

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 the toolz functional programming library
  • larc.yaml: A few simple wrapper functions around ruamel.yaml that provides a standard interface for reading/writing YAML files
  • larc.markdown: Collection of Python Markdown extensions
    • MetaYamlExtension (meta_yaml): A slight tweak to the Meta-Data extension for providing YAML metadata at the beginning of a markdown file
    • SimpleTableExtension (simpletable): A <table>-parsing extension for markdown that allows you to provide CSS classes for table elements within the markdown
    • YamlDataExtension (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 functional
  • larc.logging: Some logging utility functions that relies on coloredlogs for log coloring
  • larc.parallel: Some functional parallelization utility functions designed for use within the toolz-ish functional idiom
  • larc.signature: Functions to construct a host signature, for use when "fingerprinting" clients is necessary
  • larc.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 - B
  • intips: Given two files with IPs (A and B), get intersection A & B
  • difflines: Given two files with lines of text (A and B), get difference A - B
  • intlines: Given two files with lines of text (A and B), get intersection A & B
  • sortips: Given text content (from clipboard, file, or stdin), extract IPs sort them
  • getips: Given text content (from clipboard, file, or stdin), extract IPs and print them

Metadata

Release files for larc 0.0.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for larc 0.0.20
File Size Uploaded Provenance Actions
larc-0.0.20.tar.gz 35.2 kB Without provenance Details for larc-0.0.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for larc 0.0.20
File Interpreter ABI Platform Actions
larc-0.0.20-py3-none-any.whl Python 3 none any Details for larc-0.0.20-py3-none-any.whl

Total release size: 76.1 kB

Release files / larc-0.0.20.tar.gz

Download URL larc-0.0.20.tar.gz
Size 35.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1508cbfbb9e11e1144459de2834e9b86b6929b531e0f6d57e9b18dc6d4e553fd
BLAKE2b-256 checksum
How to use checksums
55e78f13a020c08e5f4b0912f57c27d53bbd0626eda9f1dd29f784321a6a0aab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

Release files / larc-0.0.20-py3-none-any.whl

Download URL larc-0.0.20-py3-none-any.whl
Size 41.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d4bd52457b13fc92c2ee14f5e8dc197e10dea2e8e7f7abf1df82d2055914313
BLAKE2b-256 checksum
How to use checksums
06b13eb644cab466eee29e8a0c75cc89809db44e07e4e0773d00a06c07ee6829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

Security for larc 0.0.20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page