Skip to main content

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.4

2011-07-06

  • Releasing some changes from hg, including use of toDict()

0.3.3

No changes.

0.3.2

2010-03-02

  • Fixing a bug with Field() where empty_error settings weren’t being applied

  • Fixing a bug with incorrect message arguments

  • Added the start of a types library

2009-12-24

  • BuildKit support

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

Metadata

Release files for ConversionKit 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ConversionKit 0.3.4
File Size Uploaded Provenance
ConversionKit-0.3.4.tar.gz 42.1 kB Without provenance Details

Release files / ConversionKit-0.3.4.tar.gz

Download URL ConversionKit-0.3.4.tar.gz
Size 42.1 kB
Tags Source
SHA-256 checksum
How to use checksums
edb14ac87aec4816a7194dae81618e7d12bfdb59725b731b91fc66b79e8a7401
BLAKE2b-256 checksum
How to use checksums
d7fbeb3b0824f42bf032900f9e7e32072429f1bf0b51f1caf3471a87784c8171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ConversionKit 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page