{ "info": { "author": "Platform.sh", "author_email": "sayhello@platform.sh", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "Colander Tools\n====================================\n\nThis package is a set of extensions to ``colander`` especially useful when\nimplementing REST APIs.\n\n\nStrict types\n-------------------\n\nThe ``colander_tools.strict`` module includes a series of strict types. Those types\nfollow the `Postel's law `_:\nthey are strict on serialize and loose on deserialize.\n\nIncluded are:\n\n* ``Integer``\n* ``Float``\n* ``Boolean``\n* ``String``\n* ``Mapping``\n\n\nByte types\n-------------------\n\nThe ``colander_tools.bytes`` module includes types serializing / deserializing encoded binary data.\n\nIncluded are:\n\n* ``Base16Bytes``\n* ``Base32Bytes``\n* ``Base64Bytes``\n* ``URLSafeBase64Bytes``\n\n\nOpen mappings\n-------------------\n\nThe ``colander_tools.mapping`` module includes two ``Mapping`` subclasses that allow\nand validate arbitrary keys in addition to the values.\n\nIncluded are:\n\n* ``OpenMapping``: a mapping that allows you to specify the type of keys and the type of values\n separately;\n* ``SortedOpenMapping``: an extension of ``OpenMapping`` that conserve the order of keys by\n deserializing to ``collections.OrderedDict``.\n\n\nNetwork addresses types\n------------------------------\n\nThe ``colander_tools.netaddr`` module includes a series of types that serializes and\ndeserializes network addresses (IP addresses, MAC addresses, etc.), powered by the\n``netaddr`` package.\n\n\nNull types\n-------------------\n\nThe ``colander_tools.null`` module includes a wrapper type that allows `None` as a value.\n\n\nSerializable classes\n------------------------------\n\nThe ``colander_tools.serializable`` module includes tools to bind Python classes\nto their schema.\n\n\nSchema inheritance / sub-schemas\n-----------------------------------\n\nThe ``colander_tools.subschema`` module includes tools to build schemas of things\nthat can have different types / classes.\n\n\nTimezone type\n-------------------\n\nThe ``colander_tools.timezone`` module includes a type for serializing and\ndeserializing timezone identifiers like `Europe/Amsterdam` or `Asia/Hong_Kong`,\npowered by the ``pytz`` package.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/platformsh/colander-tools", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "colander-tools", "package_url": "https://pypi.org/project/colander-tools/", "platform": "", "project_url": "https://pypi.org/project/colander-tools/", "project_urls": { "Homepage": "https://github.com/platformsh/colander-tools" }, "release_url": "https://pypi.org/project/colander-tools/0.10.0/", "requires_dist": [ "colander", "pytz" ], "requires_python": "", "summary": "Extensions to `colander`, particularly useful as part of REST API validation.", "version": "0.10.0" }, "last_serial": 5727273, "releases": { "0.10.0": [ { "comment_text": "", "digests": { "md5": "d45ad1c9364bc3de00a5b582633dc163", "sha256": "e983b58bfab27cb95c63e34089136c6b290286bbe6bdea09d36ab8b83f55c846" }, "downloads": -1, "filename": "colander_tools-0.10.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d45ad1c9364bc3de00a5b582633dc163", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11919, "upload_time": "2019-08-25T14:59:01", "url": "https://files.pythonhosted.org/packages/24/36/9020dc82c23e4f431453331dae0d7c487123f4d2036353a54fd66bff8068/colander_tools-0.10.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "24f59ece0add8ecf11de855fc4576091", "sha256": "f49bac13c84b987dfe91b7b431fce8a23392e9f008f2c6b8e95646a3763ec864" }, "downloads": -1, "filename": "colander_tools-0.10.0.tar.gz", "has_sig": false, "md5_digest": "24f59ece0add8ecf11de855fc4576091", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6851, "upload_time": "2019-08-25T14:59:03", "url": "https://files.pythonhosted.org/packages/ab/7d/ee0bfc7c4ca7eefc2d8a77481b195608e913507c94ee4b97401ae626d661/colander_tools-0.10.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "b187657b0a8cafe96974602d361cceb4", "sha256": "39b979f7f6acfe8ca8c9942be926da0980342e10c0acdcb09b40901768f48324" }, "downloads": -1, "filename": "colander_tools-0.5.0.tar.gz", "has_sig": false, "md5_digest": "b187657b0a8cafe96974602d361cceb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2011, "upload_time": "2015-07-07T16:25:56", "url": "https://files.pythonhosted.org/packages/8c/4b/13e981b09bc47bf48515b7c45c87061aafb14014e7ee4ca0ec228f8ed10e/colander_tools-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "26798bd72402a88d0173451e37ef4c80", "sha256": "8121c042970493993a8a1c11fb40351753817f9ffeb8c7531516e3872af35c67" }, "downloads": -1, "filename": "colander_tools-0.6.0-py2-none-any.whl", "has_sig": false, "md5_digest": "26798bd72402a88d0173451e37ef4c80", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7155, "upload_time": "2016-04-22T11:54:53", "url": "https://files.pythonhosted.org/packages/b3/d8/82ea417ecda06eb3ce424b0485955942fe57d186d26cb52576fe04011065/colander_tools-0.6.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8a3e6c6da59fd8ae801dc6a33629926", "sha256": "70c4a475c104bf960700b5bc5533a39174cf39456288b464e15303f891fa897d" }, "downloads": -1, "filename": "colander_tools-0.6.0.tar.gz", "has_sig": false, "md5_digest": "b8a3e6c6da59fd8ae801dc6a33629926", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4021, "upload_time": "2016-04-22T11:54:33", "url": "https://files.pythonhosted.org/packages/88/08/a37486b97bf452b6d723b2e2c1fb779167a1b023d6f977bd142321dcfd75/colander_tools-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "e2fc9d5c3d4613a4b72467eb244460ab", "sha256": "8d89ad220b622e9a862939e5755909b3c25b8c55a2e953812289243e7856f186" }, "downloads": -1, "filename": "colander_tools-0.6.1.tar.gz", "has_sig": false, "md5_digest": "e2fc9d5c3d4613a4b72467eb244460ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4875, "upload_time": "2016-07-22T14:01:07", "url": "https://files.pythonhosted.org/packages/7b/f3/df60b9b2a67655edabaec86d69561898550326d3fd9992ec8d4362f2e87e/colander_tools-0.6.1.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "b28c9c2012a848a35e45e11249ad3bf5", "sha256": "32499b1a65e1b775b7b77ffc44c3e049e2c16a6b24b8803b570f5bf925d49c0b" }, "downloads": -1, "filename": "colander_tools-0.7.0.tar.gz", "has_sig": false, "md5_digest": "b28c9c2012a848a35e45e11249ad3bf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5900, "upload_time": "2016-07-25T15:04:47", "url": "https://files.pythonhosted.org/packages/bd/a1/bbfcd82373c390db1a49dcfbf3a1c609320c0634ba4dd19b4c9515b0332b/colander_tools-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "7088bdd9f30ca09ac449cbe2aac7dc79", "sha256": "c637b6097877cd8fa7250fdfcd51548b9cf71a7f39928edbf0b6202b1ce6baf3" }, "downloads": -1, "filename": "colander_tools-0.8.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7088bdd9f30ca09ac449cbe2aac7dc79", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11199, "upload_time": "2016-08-05T10:30:48", "url": "https://files.pythonhosted.org/packages/ec/65/fe40c4f00d88527a2052ffc9ba46a4af1a4e56bf99db7cbb5bbc09094e43/colander_tools-0.8.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8f51cd0d36967ba2d718d320c51a18aa", "sha256": "f682e170a4b42b91441d81dc23f32b90f259a6f9943965c5448799993d6a0312" }, "downloads": -1, "filename": "colander_tools-0.8.0.tar.gz", "has_sig": false, "md5_digest": "8f51cd0d36967ba2d718d320c51a18aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6267, "upload_time": "2016-08-05T10:27:39", "url": "https://files.pythonhosted.org/packages/28/6c/073a9978ac6e46c6c20937a40e53308ecca4771612513f78f6a41a8bb160/colander_tools-0.8.0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "0c557d7b313abc622071e2693a50d1b4", "sha256": "2430af51fd168f5b890e6388c1b1ad8d099decc8a46977696ce34abcb7d5bd4c" }, "downloads": -1, "filename": "colander_tools-0.9.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0c557d7b313abc622071e2693a50d1b4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11825, "upload_time": "2018-08-05T13:16:32", "url": "https://files.pythonhosted.org/packages/a9/62/bd94f061e9eb0aa047b1c2748cf276b784b20393296be9a917d1de7602cb/colander_tools-0.9.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "41cfd60608e5c59ed9254417334f2c24", "sha256": "4f606507a36329663d81780d3d817dcff0af5aac24d722ea06d596982304ab9f" }, "downloads": -1, "filename": "colander_tools-0.9.0.tar.gz", "has_sig": false, "md5_digest": "41cfd60608e5c59ed9254417334f2c24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6713, "upload_time": "2018-08-05T13:16:33", "url": "https://files.pythonhosted.org/packages/6a/74/a1ef73f5cec8693e9e250321910ab60086af5328bf8c0f69a990af4066bc/colander_tools-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d45ad1c9364bc3de00a5b582633dc163", "sha256": "e983b58bfab27cb95c63e34089136c6b290286bbe6bdea09d36ab8b83f55c846" }, "downloads": -1, "filename": "colander_tools-0.10.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d45ad1c9364bc3de00a5b582633dc163", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11919, "upload_time": "2019-08-25T14:59:01", "url": "https://files.pythonhosted.org/packages/24/36/9020dc82c23e4f431453331dae0d7c487123f4d2036353a54fd66bff8068/colander_tools-0.10.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "24f59ece0add8ecf11de855fc4576091", "sha256": "f49bac13c84b987dfe91b7b431fce8a23392e9f008f2c6b8e95646a3763ec864" }, "downloads": -1, "filename": "colander_tools-0.10.0.tar.gz", "has_sig": false, "md5_digest": "24f59ece0add8ecf11de855fc4576091", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6851, "upload_time": "2019-08-25T14:59:03", "url": "https://files.pythonhosted.org/packages/ab/7d/ee0bfc7c4ca7eefc2d8a77481b195608e913507c94ee4b97401ae626d661/colander_tools-0.10.0.tar.gz" } ] }