There are no reviews yet. Be the first to send feedback to the community and the maintainers!
unIO! unio is a Python module that tries to set an end to all unicode problems. What it does is providing explicit access to binary and unicode data for both Python 2 and 3 that work exactly the same on both systems and considerably better than the builtin defaults. What it gives you: * explicit access to stdin/stdout/stderr in both binary and text mode * improved file open functions that work the same on 2.x and 3.x that handle all encodings for you and come with sensible defaults * helper functions to deal with all of the crazy Python 3 unicode encoding edge cases Basic API: unio.TextIO: gives the most appropriate in-memory text io (accepts only unicode) unio.BytesIO: gives the most appropriate in-memory bytes io (accepts only bytes) unio.NativeIO: gives the most appropriate in-memory IO for the system. That's bytes only on Python 3 and bytes + unicode within reason on Python 2. unio.get_binary_stdin() unio.get_binary_stdout() unio.get_binary_stderr() Does what the name says, on all platforms. unio.get_text_stdin() unio.get_text_stdout() unio.get_text_stderr() Returns a standard stream wrapped in a way that it yields unicode data. It will do that in the most appropriate encoding and intelligently fix some broken environments to utf-8. You can also force the encoding to be something of your choice this way. unio.capture_stdout() Captures stdout (and optionally stderr) in a bytes io and provides some fixes for Python 3 limitations on flushing. unio.get_binary_argv() Returns a copy of sys.argv fixed up to bytes on all versions of Python. unio.binary_env A byte version of os.environ on all python envs. unio.open() Intelligently opens a file in binary or text mode, by following sane default encodings and the same behavior on 2.x and 3.x. The default encoding for text files is utf-8 or utf-8-sig based on the mode. No magic environment defaults. unio.is_ascii_encoding() Checks if a given encoding is ascii or not. unio.get_filesystem_encoding() Like sys.getdefaultencoding() but will intelligently assume utf-8 in situations where it assumes a broken environment.
rye
An Experimental Package Management Solution for Pythonpipsi
pip script installerinsta
A snapshot testing library for rustpluginbase
A simple but flexible plugin system for Python.similar
A high level diffing library for rust based on diffsminijinja
MiniJinja is a powerful but minimal dependency template engine for Rustflask-oauth
OAuth Support for Flaskpython-modernize
Modernizes Python code for eventual Python 3 migration. Build on top of 2to3self-replace
Utility library that helps to implement processes that replace themselvesidasen-control
Lets you control IKEA IDÃ…SEN desks from the command line.dotfiles
My dotfiles (vim / bash etc.)unp
Unpacks things.systemfd
Development helper utility for helping with auto reloading for projects supporting systemd socket activationwhen
Timezones from the command linebetter-panic
A python inspired panic handler for rustplatter
A useful helper for wheel deployments.teetty
A bit like tee, a bit like script, but all with a fake tty. Lets you remote control and watch a processclassy
A classy JavaScript class libraryflask-pastebin
Example pastebin with websockets, sqlalchemy, facebook connect and a bunch of other buzzwordsdeser
Experimental rust serialization librarypython-geoip
GeoIP database access for Python under a BSD license.snaek
DEPRECATED: Being replaced with milksnake: https://github.com/getsentry/milksnakepython-regex-scanner
Demo of how to use the underlying SRE engine to build a regex scannerlucumr
My personal websitetimesched
Simple time scheduler applicationrstblog
NIH site generatorfragile
Utility wrapper to send non send types to other threads safelyprocspawn
like thread::spawn but for processespython-pbkdf2
Because pbkdf2 is awesome and bcrypt is overkillunbox
A work in progress command line utility to unpack various types of archives quickly.listenfd
Helper crate to work with systemd/catflap socket activationjinja2-htmlcompress
Compresses HTML in Jinja2 streamsphpserialize
A PHP serializer implementation for Pythonwebgl-meincraft
Minecraft engine thingy written in CoffeeScript and WebGLsimilar-asserts
Provides assert_eq! like macros with colorized diff outputvim-jinja
Repository for Jinja support in vim.jsonjinja
A Jinja2 inspired templating language for rendering JSON data on the server and client.bf3-aggregator
Sourcecode for the bf3 developer news aggregator.vim-python-combined
Fork of the python.vim by Dmitry Vasiliev and Neil Schemenauer for 2.x and 3.x.unicode-nazi
Annoying helper module that finds unicode/bytestring comparisionsmultiversion
A hack that allows you to use different versions of the same library in the same Python process without clashessha1-smol
Minimal and dependency free implementation of SHA1 for Rusttemplatetk
My GSOC Project for Template Compilationsolace
Non-plurk fork of Solace. Might eventually be merged back. Solace is a Stackoverflow inspired platform.badideas
Examples from my europython talkhq
jq but for htmlspeaklater
Lazy strings for Pythonelementtree-rust
Port of the Python element tree library to Rustsqlalchemy-django-query
A Django like query object for SQLAlchemyfruity-vim-colorscheme
Fruity Colorscheme for Vimprobe
Probes remote websitesfungiform
A form library for Python based on Zine's form system.serde-plain
A serde serializer that serializes a subset of types into plain stringsstruckdown
An experimental markdown processing systemflask-feedback
flatex-pdf-download
some code to toy with that can download flatex.at pdfsrust-execution-context
Implements a .NET inspired execution context for Rusttwig
a template engine for the chyrp blog engine.rust-excessive-bools-lint
To save future generations from the "bools everywhere" antipattern.unix-ipc
A super minimal wrapper around unix sockets for IPC.dota2-demoinfo2
A version of Valve's Dota2 replay parser that also compiles on OS X (and hopefully Linux)frostbite2-stuff
Python libs for accessing Frostbite stuffjinja2-tmbundle
Editor supportponyguruma
Oniguruma for Pythonflask-extension-wizard
Helper script to create Flask Extension Packagesstack-tokens
Example implementation of stack tokens for Rustproximity-tracing
Holds various things for proximity contact tracing.tokio-unix-ipc
A super minimal wrapper around unix sockets for IPC on top of tokio.python-inifile
Ini file library for Pythoncli-tools
Command line utilitieszine
A blogwebgame
super-secret-wsgi-replacement
My take on a WSGI replacementrust-runas
Runs a command in an elevated contextmictoggle
Toggle microphone through hotkeyhtmldiff
Diffs arbitrary HTML inlinepython-juggernaut
Python client library for juggernautcovidcotra
Some hackery for covid-19 contrac tracingmemo-map
A crate implementing a synchronized map for memoizationpyastutil
Various Python AST utilitiesclicolors-control
Rust library for controlling CLI colorsprettyprint
A prettyprinter for Pythonvim-rst
Restructured text support for vimpython-atomicfile
Helpers for atomic file operationsflask-fungiform
Flask bridge to fungiformrust-eh
More error handling experiments in Rust.rust-incidents
Even more error handling experiments in Rust.aoc19
advent of code 2019 repovim-json
Simple JSON support for vim.frameworkify
Making dylibs on OS X painlessinsta-cmd
CLI extension to instajohanson
A hard fork of yajl for lightweight JSON parsing.kickstarter-scraper
Scrapes kickstarter for some statstwitterlog
A Python log handler that logs to Twitteryamldb
A small wrapper around SQLite and YAMLsandboxcraft
A small project that implements a voxel engine (hopefully)rust-osascript
Rust wrapper around a bit of osascriptunicode-literals-pep
Not yet a proposed PEP about u'' in Python 3.3 and latersmall-ctor
Minimal, dependency free implementation of the ctor cratelibbattlelog
Dig around in battlelogLove Open Source and this site? Check out how you can help us