Commit Graph

20 Commits

Author SHA1 Message Date
Mahmoud Hashemi 5a2b011b00 some python version housekeeping 2019-02-11 00:02:17 -08:00
Santiago Castro 874e930bd6 Remove indentation in code blocks in README 2018-10-11 15:13:16 -07:00
Mahmoud Hashemi 4d1711989a
Update utility count in README (docs have the most up-to-date data) 2018-10-09 22:37:53 -07:00
Bruno Oliveira f26242b9d4 Add conda-forge and python versions badges to README
Adds badges for [conda-forge](https://github.com/conda-forge/boltons-feedstock)(maintained by myself and a few others) and a Python versions badge, which shows the supported Python versions at a glance.
2018-08-29 22:29:37 -07:00
Caleb Hattingh 4e3dac5286 Update README to mention all the tested versions (in travis.yml) 2017-08-14 15:40:05 +10:00
Brant Watson 580142da3b Add ioutils module
Spooled Temporary Files are file-like objects
that start out mapped to in-memory objects, but
automatically roll over to a temporary file once
they reach a certain (configurable) threshhold.
Unfortunately the built-in SpooledTemporaryFile
class in Python does not implement the exact API
that some common classes like StringIO do.
SpooledTemporaryFile also spools all of it's in-memory
files as cStringIO instances. cStringIO instances cannot
be deep-copied, and they don't work with the zip
library either. This along with the incompatible api makes
it useless for several use-cases.

To combat this but still gain the memory savings and
usefulness of a true spooled file-like-object, two custom
classes have been implemented which have a compatible API.

SpooledBytesIO is a spooled file-like-object that only
accepts bytes. On Python 2.x this means the 'str' type; on
Python 3.x this means the 'bytes' type. Bytes are written
in and retrieved exactly as given, but it will raise TypeErrors
if something other than bytes are written.

SpooledStringIO is a spooled file-like-object that only accepts
unicode values. On Python 2.x this means the 'unicode' type and
on Python 3.x this means the 'str' type. Values are accepted as
unicode and then coerced into utf-8 encoded bytes for storage. On
retrieval, the values are returned as unicode.
2016-10-21 16:13:44 -05:00
Mahmoud Hashemi 074ddea676 add some badges, per @kdeldycke in #82, including the brand new, all-important CalVer badge 2016-06-24 01:12:12 -07:00
Mahmoud Hashemi 3fd091b58e quick README update, fixes #67 2016-03-12 23:53:53 -08:00
Mahmoud Hashemi 67907a5e76 expand the mention of vendorization 2016-02-25 02:04:22 -08:00
Mahmoud Hashemi a9228df4c7 remap howto link 2016-02-25 02:01:48 -08:00
Mahmoud Hashemi 0e1910568a a couple more feature highlights for the README 2016-02-25 02:00:40 -08:00
Mahmoud Hashemi 8efab42b1d last bit of README formatting I swear 2016-02-25 01:57:50 -08:00
Mahmoud Hashemi cc1a294c45 README formatting 2016-02-25 01:57:19 -08:00
Mahmoud Hashemi a9dee74fb9 little bit of README updating 2016-02-25 01:56:21 -08:00
Mahmoud Hashemi 6c66358422 linking the changelog from the README and the docs 2015-08-23 05:52:51 -07:00
Mahmoud Hashemi c9b3d2452e put a link to the PyPI in the README 2015-04-16 03:02:15 -07:00
Mahmoud Hashemi 83561ac43a add python versions to README 2015-04-11 03:09:02 -07:00
Mahmoud Hashemi e5b7582178 double the typos, double the fun 2015-04-09 15:17:28 -07:00
Mahmoud Hashemi 43e66ecf58 make README highly linkful 2015-04-09 00:58:20 -07:00
Mahmoud Hashemi 2c4595e327 initial commit 2013-02-19 18:04:47 -08:00