Source code

Some small programs or libraries that I coded.

 

Transliteration profile iconv

transliteration_profile_iconv is a library that brings a variant of iconv that does encoding conversion with or without transliteration stricto sensu. It operates on the principle that a simple encoding conversion is already transliteration at the level of octets/bytes. The goal of this library is flexibility because almost everything is parametrable in a file called a transliteration profile.

Libiconv cannot be as flexible and iconv in glibc is almost as flexible for standard uses, but with the big constraint that you must use a dedicated locale. This can create a tight coupling that is a problem when you must keep a locale for user messages and at the same time convert in another encoding for an export. transliteration_profile_iconv does not suffer from this coupling problem but its more general architecture is less performant.

The source code is available on GitHub: here.

 

TSODLULS

TSODLULS is a library for linear? time sorting (cf. my article).

The source code is available on GitHub: here.

 

DecimalsRangeRegexpGenerator

DecimalsRangeRegexpGenerator is a web micro-application (reduced to a HTML file with about two thousand lines of JS code) that generates regular expressions for validating decimal numbers, i.e. numbers that can be written as a fraction with an arbitrary numerator, and a denominator that is a power of ten. One of the goals is to avoid using HTML inputs of number type, because they have a few ergonomy problems (cf. the README.md file in the source code).

It is possible to use the app directly in your webbrowser on this website here; a simple save of the webpage enables to use it offline. The source code is available on this website here or on GitHub: there.

 

DjangoTypesGen

DjangoTypesGen is a web nano-application (reduced to a HTML file with about thirty lines of JS code) that generates types definitions to use with Django models (cf. the README.md file in the source code).

It is possible to use the app directly in your webbrowser on this website here; a simple save of the webpage enables to use it offline. The source code is available on this website here or on GitHub: there.

 

RatioDelta

RatioDelta is a manifesto with source code for "Batteries Included" movement and for Donald Knuth "Name and conquer" advice, illustrated with arithmetic operations. The choice to know if the batteries should be included as early as hardware level or uniquely in software level still needs to be determined.

The source code is available on this website here or on GitHub: there.

 

DevOrSysAdminScripts

A repository I should have created years before. It contains scripts or configuration files useful to development or system administration, for a personal or professional use.

The source code is available on this website here or on GitHub: there.

 

django-monkey-patches

My first Python package with patches to correct or enhance Django framework.

The source code is available on this website here or on GitHub: there. The package is available on PyPI there.

 

python-none-objects

My second Python package with constant empty immutable objects definitions to enhance Python language.

The source code is available on this website here or on GitHub: there. The package is available on PyPI there.

Valid XHTML 1.0 Transitional Valid CSS!