Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!
Avatar for Cameron Simpson from gravatar.com

Cameron Simpson

Username    cameron.simpson

77 projects

cs.upd

Last released

Single and multiple line status updates with minimal update sequences.

cs.tagset

Last released

Tags and sets of tags with __format__ support and optional ontology information.

cs.sqltags

Last released

Simple SQL based tagging and the associated `sqltags` command line script, supporting both tagged named objects and tagged timestamped log entries.

cs.sqlalchemy-utils

Last released

Assorted utility functions to support working with SQLAlchemy.

cs.fileutils

Last released

My grab bag of convenience functions for files and filenames/pathnames.

cs.result

Last released

Result and friends: various subclassable classes for deferred delivery of values.

cs.cmdutils

Last released

a `BaseCommand` class for constructing command lines, some convenience functions for working with the `cmd` module, and some other command line related stuff

cs.resources

Last released

Resource management classes and functions.

cs.context

Last released

Assorted context managers.

cs.pop3

Last released

POP3 stuff, particularly a streaming downloader and a simple command line which runs it.

cs.app.ydl

Last released

Convenient command line and library wrapper for youtube-dl.

cs.app.mklinks

Last released

Tool for finding and hardlinking identical files.

cs.serialise

Last released

OBSOLETE: some serialising functions. Please use by cs.binary instead.

cs.app.portfwd

Last released

Manage persistent ssh tunnels and port forwards.

cs.app.svcd

Last released

SvcD class and "svcd" command to run persistent service programmes.

cs.progress

Last released

A progress tracker with methods for throughput, ETA and update notification; also a compound progress meter composed from other progress meters.

cs.tty

Last released

Functions related to terminals.

cs.buffer

Last released

Facilities to do with buffers, particularly CornuCopyBuffer, an automatically refilling buffer to support parsing of data streams.

cs.binary

Last released

Facilities associated with binary data parsing and transcription. The classes in this module support easy parsing of binary data structures, returning instances with the binary data decoded into attributes and capable of transcribing themselves in binary form (trivially via `bytes(instance)` and also otherwise).

cs.sh

Last released

Convenience functions for constructing shell commands.

cs.packetstream

Last released

general purpose bidirectional packet stream connection

cs.predicate

Last released

fnctions for expressing predicates

cs.configutils

Last released

utility functions for .ini style configuration files

cs.mailutils

Last released

functions and classes to work with email

cs.iso14496

Last released

Facilities for ISO14496 files - the ISO Base Media File Format, the basis for several things including MP4 and MOV.

cs.py.doc

Last released

Create documentation from python modules and other objects.

cs.dateutils

Last released

A few conveniences to do with dates and times.

cs.fstags

Last released

Simple filesystem based file tagging and the associated `fstags` command line script.

cs.mappings

Last released

Facilities for mappings and objects associated with mappings.

cs.threads

Last released

threading and communication/synchronisation conveniences

cs.logutils

Last released

Logging convenience routines.

cs.lex

Last released

Lexical analysis functions, tokenisers, transcribers: an arbitrary assortment of lexical and tokenisation functions useful for writing recursive descent parsers, of which I have several. There are also some transcription functions for producing text from various objects, such as `hexify` and `unctrl`.

cs.gimmicks

Last released

Gimmicks and hacks to make some of my other modules more robust and less demanding of others.

cs.obj

Last released

Convenience facilities for objects.

cs.excutils

Last released

Convenience facilities for managing exceptions.

cs.x

Last released

X(), for low level debugging.

cs.py.modules

Last released

Convenience functions related to modules and importing.

cs.deco

Last released

Assorted decorator functions.

cs.app.flag

Last released

Persistent filesystem based flags for state and control.

cs.csvutils

Last released

CSV file related facilities

cs.sharedfile

Last released

facilities for shared access to files

cs.pfx

Last released

Easy context prefixes for messages.

cs.units

Last released

Functions for decomposing nonnegative integers according to various unit scales and also parsing support for values written in scales.

cs.queues

Last released

some Queue subclasses and ducktypes

cs.seq

Last released

Stuff to do with counters, sequences and iterables.

cs.ansi-colour

Last released

Convenience functions for ANSI terminal colour sequences [color].

cs.app.mailfiler

Last released

email message filing system which monitors multiple inbound Maildir folders

cs.rfc2047

Last released

unrfc2047: a decoder for RFC2047 (MIME Part 3) encoded text.

cs.py.func

Last released

Convenience facilities related to Python functions. * funccite: cite a function (name and code location) * @prop: replacement for @property which turns internal AttributeErrors into RuntimeErrors * some decorators to verify the return types of functions

cs.py3

Last released

Aids for code sharing between python2 and python3.

cs.debug

Last released

Assorted debugging facilities.

cs.edit

Last released

Convenience functions for editing things. - Cameron Simpson <cs@cskk.id.au> 02jun2016

cs.later

Last released

Queue functions for execution later in priority and time order.

cs.pipeline

Last released

Function pipelines mediated by queues and a Later.

cs.urlutils

Last released

convenience functions for working with URLs

cs.py.stack

Last released

Convenience functions for the python execution stack.

cs.vt

Last released

A content hash based data store with a filesystem layer, using variable sized blocks, arbitrarily sized data and utilising some domain knowledge to aid efficient block boundary selection.

cs.numeric

Last released

some numeric functions; currently primes() and factors()

cs.timeutils

Last released

convenience routines for times and timing

cs.env

Last released

Some environment related functions.

cs.range

Last released

a Range class implementing compact integer ranges with a set-like API, and associated functions

cs.psutils

Last released

Assorted process management functions.

cs.clockutils

Last released

implementation of PEP0418 with the "Choosing the clock from a list of constraints" get_clock() and get_clocks() functions

cs.socketutils

Last released

some utilities for network sockets

cs.cache

Last released

caching data structures and other lossy things with capped sizes

cs.filestate

Last released

Trivial FileState class used to watch for file changes.

cs.wol

Last released

Tool for sending a wake on LAN (WOL) packet out a specific interface to a specific MAC address.

cs.app.ssh

Last released

OpenSSH configuration parsing.

cs.rfc2616

Last released

RFC2616 (HTTP 1.1) facilities

cs.nodedb

Last released

a simple and versatile collection of nodes with attributes, accessed as direct Python objects and automatically transcribed to assorted backing stores (CSV, SQL, GDBM, etc); the CSV backend can be (loosely) shared between multiple clients

cs.inttypes

Last released

various trite types associated with integers, such as bitmasks, flags and enums

cs.html

Last released

easy HTML and XHTML transcription

cs.app.maildb

Last released

a cs.nodedb NodeDB subclass for storing email address information (groups, addresses, so forth)

cs.app.beyonwiz

Last released

Beyonwiz PVR and TVWiz recording utilities

cs.app.megacli

Last released

command line tool to inspect and manipulate LSI MegaRAID adapters, such as used in IBM ServerRAID systems and Dell PowerEdge RAID Controller (PERC)

cs.mixin.ucattrs

Last released

Mixin for .FOO uppercase attributes mapped to ['FOO'] access.

cs.id3

Last released

support for ID3 tags, mostly a convenience wrapper for Doug Zongker's pyid3lib

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page