Skip to main content
Avatar for Javier Lianes from gravatar.com

Javier Lianes

Username    JaviLianes8
Date joined   Joined

100 projects

tdmread

Last released

Zero-dependency, typed reader for NI TDM/TDX files (XML .tdm header plus binary .tdx), using only the Python standard library

envread

Last released

Typed reader for environment variables: inferred return types, settings dataclasses, .env files and a checker CLI, zero dependencies

mimeatlas

Last released

Deterministic, OS-independent file extension and MIME type mapping generated from mime-db, zero dependencies

walkupward

Last released

Walk up from a start directory to find a marker file or directory, typed and dependency free

figround

Last released

Significant-figures rounding and formatting with exact Decimal math and preserved trailing zeros

monthweekday

Last released

Find the nth weekday of a month (third Thursday, last Friday), read RFC 5545 BYDAY values, zero dependencies

mailtolink

Last released

Parse, validate and safely build mailto: URIs per RFC 6068

stripcontrol

Last released

Remove or detect control characters and terminal escape sequences in text, logs and streams

calltimeout

Last released

Run a callable with a wall-clock timeout in a thread, a process or under SIGALRM, typed, with an honest choice of mechanism

unidash

Last released

Fold Unicode dashes and punctuation to plain ASCII while leaving letters untouched

teluri

Last released

Strict, typed, zero-dependency parser, builder and comparator for tel: URIs (RFC 3966), with a reader for real-world tel: links

hexrgba

Last released

CSS hex and named colors: parse, normalize, exact alpha, rgba(), WCAG contrast and blending

altsvc

Last released

Parse, check and build the HTTP Alt-Svc header (RFC 7838), typed and zero-dependency.

periodictimer

Last released

Drift-free repeating timers for threads and asyncio, with missed-tick policies, fixed delay and jitter

shtemplate

Last released

POSIX shell parameter expansion ($VAR, ${VAR:-default}, ${VAR%pattern}, ...) over any mapping, with a CLI; typed, safe, zero-dependency

hstsheader

Last released

Parse, check and build the HTTP Strict-Transport-Security header, typed and zero-dependency.

timedbatch

Last released

Batch items by a max count and a max age, for iterables, threads and asyncio, without losing items

tabstops

Last released

Expand and unexpand tabs like str.expandtabs and the POSIX tools, with tab stop lists and display columns

dirsize

Last released

Size of a directory tree, apparent and on disk, as typed calls and a du-like CLI, with hard link dedupe and safe link handling

followtail

Last released

Follow a growing text file like tail -f, surviving log rotation, yielding new complete lines

safejoin

Last released

Path-traversal-safe joining of a trusted base directory with untrusted relative parts

dupefind

Last released

Find duplicate files by staged hashing: group by size, then partial hash, then full hash

sniffbom

Last released

Detect, name and strip the Unicode byte-order mark on a byte string

shortenpath

Last released

Shorten a filesystem path to fit a terminal column budget, preferring whole roots and file names

postalcheck

Last released

Validate and normalize postal code formats for 182 countries and territories, with no runtime dependencies

keyedlock

Last released

Lock by key: concurrent work on the same key serializes, different keys run in parallel, with reference-counted cleanup

humanjoin

Last released

Join a list into a natural-language phrase: Oxford comma, overflow limit, and the list patterns of every Unicode CLDR locale

threadfan

Last released

Typed, ordered parallel map over a bounded thread pool for IO-bound fan-out

tzoffset

Last released

Parse and format bare numeric UTC offsets (Z, +05:30, -0800) both ways

indgroup

Last released

Format and strictly parse numbers with Indian lakh and crore grouping and the digit grouping of every Unicode CLDR locale

atomicint

Last released

Thread-safe atomic integers for Python: fetch-and-add, compare-and-set, compare-and-exchange, atomic updates and bounded counters that raise, saturate or wrap. Pure Python, zero dependencies, typed, free-threading ready

deadliner

Last released

Monotonic deadline and time-budget primitive for bounding multi-step operations

busdays

Last released

Zero-dependency business-day arithmetic with a configurable weekend mask and optional holidays

stepdates

Last released

A range() for dates: iterate from start to stop by calendar day, week, month or year

durospan

Last released

Typed, zero-dependency round-trip between human durations and seconds, one grammar both ways

a1col

Last released

Spreadsheet A1 references: column letters, cells, ranges, sheets and R1C1, typed and dependency free

compactnum

Last released

Two-way compact number notation: format large numbers as 1.2k or 3.5M and parse them back

moneyparse

Last released

Parse, find and format money strings as exact Decimal amounts with ISO 4217 currency and CLDR locale rules

wordsnum

Last released

Parse spelled-out English numbers into int or float, fully typed and dependency-free

intranges

Last released

Typed conversion between range strings like 1-3,5 and ints, with a lazy set type, dialects and a CLI

bytesz

Last released

Strict two-way conversion between byte counts and human sizes with explicit IEC and SI units

logfmtkv

Last released

Typed, zero-dependency logfmt codec: parse and serialize key=value log lines in both directions.

colorsupport

Last released

Detect how much color a terminal stream can show (none, 16, 256, truecolor) and why, following NO_COLOR, FORCE_COLOR and CLICOLOR, with Windows console and terminfo support, zero dependencies, fully typed

osc8link

Last released

Build, detect and strip OSC 8 terminal hyperlinks safely, with terminal support detection and plain-text fallback, zero dependencies, fully typed

colfit

Last released

Fit text to terminal columns: grapheme-aware width, truncate, pad, wrap and columnize

zerowidth

Last released

Detect, reveal and strip zero-width, bidi and other invisible characters, keeping emoji and words intact

eolnorm

Last released

Detect, normalize and count line endings in text, bytes, streams and files: git-exact, Unicode-aware, atomic rewrites, zero dependencies

ellipt

Last released

Truncate strings with an ellipsis at the start, middle or end, by characters, grapheme clusters, display columns or UTF-8 bytes, without splitting emoji or accents

cellstr

Last released

Display-width aware len, slice, pad and truncate for terminal text: wide CJK, emoji sequences, combining marks and ANSI codes

authkeyline

Last released

Parse, check and safely build OpenSSH authorized_keys lines the way sshd reads them, with fingerprints, typed and zero-dependency

envname

Last released

Validate and sanitize environment variable names against POSIX, shell and OS rules

crock

Last released

Typed Crockford base32 for bytes and ints, with normalization and an optional check symbol

idcheck

Last released

Strict validation and parsing of UUID and ULID identifier strings, zero dependencies and fully typed

emailsyntax

Last released

Syntax-only email address validation and normalization, zero dependencies, no DNS or network

priorityheader

Last released

Parse, merge and build the HTTP Priority field and PRIORITY_UPDATE frames (RFC 9218), zero dependencies and typed.

srcset

Last released

Parse, build, check and resolve the HTML srcset and sizes attributes like a browser

listunsub

Last released

Parse, build and check the email List-Unsubscribe headers: RFC 2369, RFC 8058 one-click, RFC 6068 mailto, typed and zero-dependency

geouri

Last released

Strict, typed, zero-dependency parser, builder and comparator for geo: URIs (RFC 5870), with the Android map intent form

setcookie

Last released

Parse, validate and safely build HTTP Set-Cookie headers, typed and zero-dependency, per RFC 6265bis

chunkedte

Last released

Strict, incremental, typed, zero-dependency codec for HTTP/1.1 chunked transfer coding

urlsyntax

Last released

Syntax-only http and https URL validation, parsing, normalization and resolution per RFC 3986 and RFC 9110, in agreement with browsers on hosts, zero dependencies, fully typed, no network or DNS

timingheader

Last released

Build, parse and validate the HTTP Server-Timing header the way browsers read it, with timing helpers

weblinking

Last released

Parse, validate, resolve and build the HTTP Link header (RFC 8288, RFC 8187), typed and zero-dependency

bytetrunc

Last released

Truncate a string to a maximum number of UTF-8 bytes on a safe character or grapheme boundary, with an optional counted suffix

authchallenge

Last released

Parse, validate and safely build HTTP WWW-Authenticate, Authorization and Authentication-Info headers per RFC 9110, typed and zero-dependency

preferhdr

Last released

Parse and build HTTP Prefer and Preference-Applied headers per RFC 7240, typed and zero-dependency

permspolicy

Last released

Parse, build and check Permissions-Policy headers and iframe allow attributes, typed and zero-dependency

viaheader

Last released

Parse, build and append the HTTP Via header per RFC 9110: strict or safely lenient, typed, zero-dependency

forwarded

Last released

Parse and build the HTTP Forwarded header (RFC 7239), read X-Forwarded-For, and find the real client behind trusted proxies

contentdisp

Last released

Parse and build HTTP Content-Disposition headers per RFC 6266 and RFC 8187, with safe file names

contentdigest

Last released

Build and verify RFC 9530 Content-Digest, Repr-Digest and Want-* fields: typed, streaming, zero dependencies

retryheader

Last released

Parse and build HTTP Retry-After, HTTP-date, RateLimit and RateLimit-Policy headers, zero dependencies and typed

httprange

Last released

Parse and build HTTP Range and Content-Range headers (RFC 9110), zero dependencies, fully typed

ccdirectives

Last released

Parse, validate and build HTTP Cache-Control and CDN-Cache-Control, and decide freshness, typed and zero-dependency

etag

Last released

Strict, typed and zero-dependency HTTP entity-tags (RFC 9110): create, parse and compare ETag values and evaluate If-Match, If-None-Match and If-Range

typedmultidict

Last released

Pure-Python typed ordered multi-value dictionary with a case-insensitive variant

boolish

Last released

Typed, dependency-free replacement for the strtobool removed from the standard library

mediaparse

Last released

Parse and build HTTP media types, Content-Type and Accept headers, exactly

secretmask

Last released

Typed, zero-dependency secret masker: redact API keys, tokens, passwords, emails and card numbers in strings, logs, JSON and nested data

httpquoted

Last released

Strict, typed and zero-dependency codec for HTTP quoted-strings, comments and tokens (RFC 9110): safe quoting, strict parsing, scanners and quote-aware list splitting

durablewrite

Last released

Durable, cross-platform atomic file writes: temp-same-dir plus os.replace plus file and dir fsync

dotreach

Last released

Typed, zero-dependency get/set/delete/has, flatten, glob and a CLI for nested dicts and lists by dotted path

latchkit

Last released

One-shot synchronization primitives for threads and asyncio: count-down latch, gates, abort with reason, zero-dependency and typed

backoffs

Last released

Typed backoff delays: exponential, linear and Fibonacci growth, AWS, gRPC and Google Cloud jitter, budgets, Retry-After, retry helpers and a CLI

taplimit

Last released

Small, typed, thread-safe in-process rate limiter: N calls per period, block or raise, sync or async, per key

lvxml

Last released

Codec for LabVIEW Flatten To XML / Unflatten From XML between its fixed schema and native Python values

throttlebounce

Last released

Typed, zero-dependency debounce and throttle decorators, sync and async, with lodash edge semantics and injectable time

json-pretty-diff

Last released

HTML-only diff generator for top-level JSON objects

lvext

Last released

Exact pure-Python codec for x87 80-bit extended floats and LabVIEW's flattened EXT

restful-checker

Last released

Check RESTful API compliance from OpenAPI definitions and generate HTML reports

lvtypedesc

Last released

Parse LabVIEW type descriptors into a typed tree, render them, and write them back

lvpath

Last released

Convert LabVIEW path strings, the portable /C/DIR form of config and project files, and the flattened PTH0 form to and from native paths.

lvbitpack

Last released

LabVIEW Boolean arrays in pure Python: Boolean Array To Number with its sign extension modes, Number To Boolean Array, flattening and bit packing

lvmio

Last released

Typed reader and writer for LabVIEW Measurement (.lvm) files, in the layout LabVIEW writes

lvjson

Last released

Read and write LabVIEW Flatten To JSON text: NaN and Infinity tokens, LabVIEW's exact 20-digit numbers, strict portable JSON

lvfxp

Last released

Encode and decode LabVIEW fixed-point (FXP) numbers and their flattened bytes, exactly, in pure Python

lvconfig

Last released

Typed reader and writer for LabVIEW configuration files, with LabVIEW-correct escaping, path and boolean rules

lvtime

Last released

Lossless LabVIEW 128-bit timestamp (1904 epoch) to and from datetime, UTC, sub-microsecond preserved.

lverror

Last released

Offline lookup that turns a LabVIEW or NI error code into a plain-English description, with no LabVIEW installed

lvflatten

Last released

Schema-driven codec for LabVIEW's Flatten To String binary format

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