Skip to main content

A general purpose conversion library

Project description

Summary

  • A general purpose conversion library

ConversionKit is a general purpose conversion library designed as an improvement to the functionality in FormEncode but using simple functions rather than complex schema and validators and avoiding the use of exceptions to flag errors. See the introducion in the manual for full details.

Get Started

  • Download and install from source

Author

James Gardner james at pythonweb dot org

Changes

0.3.1

2009-09-30

  • Added extra message options to toDictionary()

  • Updated the MANIFEST.in file to include the tests and doc sources

0.3.0

2009-09-29

  • Updated the license to GNU AGPLv3

  • Split the FormEncode documentation and tests out from the main docs and tests. FormEncode isn’t officially supported and its use with ConversionKit is deprecated.

2009-08-18

  • Renamed new_conversion to child_conversion internally

  • Upgraded tryEach() to be able to assign items to a dictionary, and stop on the first result or first error.

  • Made toDictionary() return unicode keys by default

  • Used pprint() in the docs to help avoid the problem of dictionaries changing their sort order as functionality changes and help make the code easier to read.

2009-08-11

  • Allowed missing and empty errors in toDictionary() to be specified as a string and as a tuple as well as a dict and added in documentation and tests.

2009-08-08

  • Improved the documentation and checked doctests all pass

  • Refactored the toDictionary() converter to support missing and empty errors and defaults

  • Removed the nested, first_stab and second_stab modules

2009-07-31

  • Clarified process around post converters

  • Changed naming convention to use a lower-case first letter for functions which return functions

0.2.0

2009-03-31

  • Added Or converter

2009-03-23

  • Re-written from the ground up with a better naming convention and more explanation in the docs.

  • Implemented if_missing and if_empty.

0.1.0

2009-02-24

  • Completely re-wrote everything again with a vastly simplified API, new detailed documentation, over 180 doctests and Sphinx doc generation.

2009-02-21

  • Added new handlers

  • Errors now return a string

  • QUERNS format error encoding supported

  • Added some more examples to the docs

2009-02-19

  • Complete re-write to use a convesion-oriented approach, remove groups and focus on nested structs as the preferred data structure. The original code is still available in first_stab.py

0.0

  • Added some better error handling

  • First version

License

ConversionKit - Tools for handling conversions

Copyright (C) 2008 James Gardner

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ConversionKit-0.3.1.tar.gz (38.6 kB view details)

Uploaded Source

Built Distribution

ConversionKit-0.3.1-py2.5.egg (36.6 kB view details)

Uploaded Source

File details

Details for the file ConversionKit-0.3.1.tar.gz.

File metadata

File hashes

Hashes for ConversionKit-0.3.1.tar.gz
Algorithm Hash digest
SHA256 7ea77c0f7a46c38545ce50ea13b951470e0bfd8d1d80740847ba76130a0539bc
MD5 921c1fdc0b32da9ee2257dbea9e2a0c8
BLAKE2b-256 3186c890b7b1535f13d4d0f5201088020a15f64720f454a1bb7332e8553ff69c

See more details on using hashes here.

File details

Details for the file ConversionKit-0.3.1-py2.5.egg.

File metadata

File hashes

Hashes for ConversionKit-0.3.1-py2.5.egg
Algorithm Hash digest
SHA256 bb65c11d5d13e4f93fe47936c11f543fa884ae7589b540e1d3322a929ea88915
MD5 febae5128144b1f172dfaf29a05861a5
BLAKE2b-256 f99bfae0c708d3b32252a9dca2260c60046e4a16a0808bca2ef2d317712ca29a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page