{ "info": { "author": "Emanuele Rocca", "author_email": "ema@linux.it", "bugtrack_url": null, "classifiers": [], "description": "Python library for Italian fiscal code\n\ncodicefiscale is a Python library for working with Italian fiscal code numbers\nofficially known as Italy's Codice Fiscale.\n\nCopyright (C) 2009-2016 Emanuele Rocca\n\nHomepage: https://github.com/ema/pycodicefiscale\n\nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\n\ncodicefiscale Module Documentation\n==================================\n\nA quick example\n---------------\n>>> import datetime\n>>> from codicefiscale import build\n>>>\n>>> build('Rocca', 'Emanuele', datetime.datetime(1983, 11, 18), 'M', 'D969')\n'RCCMNL83S18D969H'\n\nModule Contents\n---------------\n``build(surname, name, birthday, sex, municipality) -> string``\n\n Computes the fiscal code for the given person data.\n\n eg: build('Rocca', 'Emanuele', datetime.datetime(1983, 11, 18), 'M', 'D969') \n -> RCCMNL83S18D969H\n \n\n\n``control_code(input_string) -> int``\n\n Computes the control code for the given input_string string. The expected\n input_string is the first 15 characters of a fiscal code.\n\n eg: control_code('RCCMNL83S18D969') -> 'H'\n \n\n\n``get_birthday(code) -> string``\n\n Birthday of the person whose fiscal code is 'code', in the format DD-MM-YY. \n\n Unfortunately it's not possible to guess the four digit birth year, given\n that the Italian fiscal code uses only the last two digits (1983 -> 83).\n Therefore, this function returns a string and not a datetime object.\n\n eg: birthday('RCCMNL83S18D969H') -> 18-11-83\n \n\n\n``get_sex(code) -> string``\n\n The sex of the person whose fiscal code is 'code'.\n\n eg: sex('RCCMNL83S18D969H') -> 'M'\n sex('CNTCHR83T41D969D') -> 'F'\n \n\n\n``isvalid(code) -> bool``\n\n This function checks if the given fiscal code is syntactically valid.\n\n eg: isvalid('RCCMNL83S18D969H') -> True\n isvalid('RCCMNL83S18D969') -> False", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/ema/pycodicefiscale/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ema/pycodicefiscale", "keywords": null, "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "codicefiscale", "package_url": "https://pypi.org/project/codicefiscale/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/codicefiscale/", "project_urls": { "Download": "https://github.com/ema/pycodicefiscale/downloads", "Homepage": "https://github.com/ema/pycodicefiscale" }, "release_url": "https://pypi.org/project/codicefiscale/0.9/", "requires_dist": null, "requires_python": null, "summary": "Python library for Italian fiscal code (codicefiscale)", "version": "0.9" }, "last_serial": 1897843, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2e67b9c25ce950927a9979052611b1e9", "sha256": "b58a2c0bee3ee4a6a462a98525ab2d6446f3f367460b98fece5806d1f812bda4" }, "downloads": -1, "filename": "codicefiscale-0.1-py2.5.egg", "has_sig": false, "md5_digest": "2e67b9c25ce950927a9979052611b1e9", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 7525, "upload_time": "2009-02-21T20:16:05", "url": "https://files.pythonhosted.org/packages/9e/55/d737e9924336cc94fa40d21a271e17b1169ad0a40e578896a627093d9650/codicefiscale-0.1-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "a52843e0b7c784a2e2270d6cbbd72f96", "sha256": "48611b7de42121b266bb1d74fafe30fec1303b0c6f2242d4bdf40a7705694058" }, "downloads": -1, "filename": "codicefiscale-0.1.tar.gz", "has_sig": false, "md5_digest": "a52843e0b7c784a2e2270d6cbbd72f96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4114, "upload_time": "2009-02-21T14:59:06", "url": "https://files.pythonhosted.org/packages/11/c0/34f4ce6c3f6bfb32e9531124f79d2c6f821562cd99e3bf916b288a261a94/codicefiscale-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "61d829e13e6e7511712829af752b6ef3", "sha256": "a622add32b203704b7feaad40ea99a6c29d82706a00210b4eb7ee22a1d03a389" }, "downloads": -1, "filename": "codicefiscale-0.2-py2.5.egg", "has_sig": false, "md5_digest": "61d829e13e6e7511712829af752b6ef3", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 7390, "upload_time": "2009-02-21T20:47:31", "url": "https://files.pythonhosted.org/packages/10/12/bee69d2f1a28f591b57bca5cec154074e6bbb9737720842970a9b5f659d0/codicefiscale-0.2-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "b3559c9212fca7cd84cbe5a33402ac52", "sha256": "347d0f2a7025e37ed260ae20115b4f02e2d287e629c4867de47066cabb7a25c0" }, "downloads": -1, "filename": "codicefiscale-0.2.tar.gz", "has_sig": false, "md5_digest": "b3559c9212fca7cd84cbe5a33402ac52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12598, "upload_time": "2009-02-21T20:47:06", "url": "https://files.pythonhosted.org/packages/c6/5b/8d67ce1fc6b975adfd8686b66e1c20304d7f305bcec03b2be0f9a549facf/codicefiscale-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "ce5ac488a6dcec8aa125ea4eeac8d068", "sha256": "8293a4d13b111fca4d903d37d58f08a5cdf7f432fbbe0f948cc18d3d58de349b" }, "downloads": -1, "filename": "codicefiscale-0.3-py2.5.egg", "has_sig": false, "md5_digest": "ce5ac488a6dcec8aa125ea4eeac8d068", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 7376, "upload_time": "2009-02-26T00:00:45", "url": "https://files.pythonhosted.org/packages/2e/a8/64a5d01b4f6aea2758321daee14a1a87fe518d51a2d854f598af3a0c454c/codicefiscale-0.3-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "35d10c7048eba82b4cbd823b107c1fdb", "sha256": "aba9174c8afc4664e51fba3e415d52e23c5e2b4fae34d5db07dfef1cf1321108" }, "downloads": -1, "filename": "codicefiscale-0.3.tar.gz", "has_sig": false, "md5_digest": "35d10c7048eba82b4cbd823b107c1fdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12848, "upload_time": "2009-02-26T00:00:45", "url": "https://files.pythonhosted.org/packages/59/ad/ac453d0c9599e77237129417b8d33724682385e0c753751c835de5976db5/codicefiscale-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "feb117fb339733720791cd0b2794b981", "sha256": "24167361cda0ccf9a647b8032712dad8bac1cbba53b195f44240049d95de4824" }, "downloads": -1, "filename": "codicefiscale-0.4-py2.5.egg", "has_sig": false, "md5_digest": "feb117fb339733720791cd0b2794b981", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 7371, "upload_time": "2009-08-31T14:59:14", "url": "https://files.pythonhosted.org/packages/03/b6/2ce18690cb1b87eb37a94f3e9759bd9bf59e53be18eace38b81e8f76a7b9/codicefiscale-0.4-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "238f44deb4fda07a1d9f640eb70b0fcf", "sha256": "006d84600996cb45ab008efca22787de61bfb1dd6683f84e75bee6e6d9215a06" }, "downloads": -1, "filename": "codicefiscale-0.4.tar.gz", "has_sig": false, "md5_digest": "238f44deb4fda07a1d9f640eb70b0fcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3527, "upload_time": "2009-08-31T14:59:14", "url": "https://files.pythonhosted.org/packages/d5/3d/2c7410ec4038ebf9432bb74bfdff51c6c36fbba87ea21e447147509a6a18/codicefiscale-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "0231aa066fcd34a1b8711f8fe3487782", "sha256": "de1828679b807cb60be2743cb2c29a8f23a38df7662218beae5d558c099965a5" }, "downloads": -1, "filename": "codicefiscale-0.5-py2.5.egg", "has_sig": false, "md5_digest": "0231aa066fcd34a1b8711f8fe3487782", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 7397, "upload_time": "2010-05-05T14:11:18", "url": "https://files.pythonhosted.org/packages/6c/43/a149fbf337f08bdc17afac8191b5d4bbefc6a70a12e5f92734fe669b53ed/codicefiscale-0.5-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "a93fa2b1c0a5efd8b8cc09460843dcce", "sha256": "1f060e36648017d04cdd4ff9d6a1e2649ce017a49e8b06dc99e9947bc9667c6f" }, "downloads": -1, "filename": "codicefiscale-0.5.tar.gz", "has_sig": false, "md5_digest": "a93fa2b1c0a5efd8b8cc09460843dcce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12910, "upload_time": "2010-05-05T14:11:17", "url": "https://files.pythonhosted.org/packages/98/9d/709605e556f00b51b167f765870fa21d2ed3bab37e93dd5086ac55ac7574/codicefiscale-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "1732d84d34f2a118aeac442b19bd3962", "sha256": "d9d9345d0501278e21229bb9fec92375fdd09739666fd79506deac15527cdadf" }, "downloads": -1, "filename": "codicefiscale-0.6-py2.6.egg", "has_sig": false, "md5_digest": "1732d84d34f2a118aeac442b19bd3962", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 7405, "upload_time": "2011-03-06T20:39:47", "url": "https://files.pythonhosted.org/packages/d6/64/9cb542258d03f4b29925cae0bf75f7b6ade4b4fdb0e57e6016cad19a5bdf/codicefiscale-0.6-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "78c0b8c11bb543a4c52219ed7cc043d7", "sha256": "f2a38929a64c04969984a8a0f85fa942a30c60148edf4c4d4bcba4dc6bc0e664" }, "downloads": -1, "filename": "codicefiscale-0.6.tar.gz", "has_sig": false, "md5_digest": "78c0b8c11bb543a4c52219ed7cc043d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12976, "upload_time": "2011-03-06T20:40:29", "url": "https://files.pythonhosted.org/packages/3c/1e/ff6c0f9e1582d664e60f782a235e5cf40e20474d604a2bd0d6f9f7c4f4b9/codicefiscale-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "1a7c78be9289f96a2507a38642753c16", "sha256": "c064446bf23e34ffb7ce2be0afc05cb084e765bc50cddb3994a128907882ad7c" }, "downloads": -1, "filename": "codicefiscale-0.7-py2.7.egg", "has_sig": false, "md5_digest": "1a7c78be9289f96a2507a38642753c16", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7478, "upload_time": "2012-08-21T21:20:32", "url": "https://files.pythonhosted.org/packages/7b/e4/f6ba3fc20c758d6dda958dc5623c0f04d9924cd578f9bcae4b501138ddc4/codicefiscale-0.7-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "82dc85a0ed08b829dacc3d189905233c", "sha256": "2422e7fc050bcbd24f1f0db52ff0134e796423e405186d6b3edb510f8a8ed6d7" }, "downloads": -1, "filename": "codicefiscale-0.7.tar.gz", "has_sig": false, "md5_digest": "82dc85a0ed08b829dacc3d189905233c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13183, "upload_time": "2012-08-21T21:20:38", "url": "https://files.pythonhosted.org/packages/70/4a/1eeb4665cb109f686f857f8cf3329f5d181c366d1ba5ab708c0f610ec223/codicefiscale-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "f2fc63f98ac5cc0aad5400013d08dc51", "sha256": "7b64e4f1d715157f6cc84bb117319abcba9e0fc019747af2981c035806a3d1ee" }, "downloads": -1, "filename": "codicefiscale-0.8-py2.7.egg", "has_sig": false, "md5_digest": "f2fc63f98ac5cc0aad5400013d08dc51", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7525, "upload_time": "2013-01-25T16:12:29", "url": "https://files.pythonhosted.org/packages/06/c1/b41d6c0df99127fae7511764f081a9b5c1b1b6a8efaf8322f38856f88a66/codicefiscale-0.8-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e406656e7a7573e4e12afd892db31ff1", "sha256": "b55fa0ba8b2f5445971fa47f3e8116e8aad13eeb868e709d33bc2c2c8f0a404e" }, "downloads": -1, "filename": "codicefiscale-0.8.tar.gz", "has_sig": false, "md5_digest": "e406656e7a7573e4e12afd892db31ff1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3764, "upload_time": "2013-01-25T16:12:31", "url": "https://files.pythonhosted.org/packages/bd/5b/4c72134933e7745fa23884e5e9e9517de014b954a017278bfdab160725d2/codicefiscale-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "b9d1b95ab666c65235f686dc925b9b76", "sha256": "8caefa74a5bef476d4155ef889f6ecee84756a18fd7c9ca54d9a4470f74af3bb" }, "downloads": -1, "filename": "codicefiscale-0.9-py2.7.egg", "has_sig": false, "md5_digest": "b9d1b95ab666c65235f686dc925b9b76", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7655, "upload_time": "2016-01-10T16:33:11", "url": "https://files.pythonhosted.org/packages/4c/71/54a81e41132984e0d5eec5c28646a34ad517306cbc62bb333d613be20212/codicefiscale-0.9-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a3516fe5519f0c076afa87ddff9e4dd9", "sha256": "d2e7b20576fabdf51379e43c42bfefed842b61c71186f5b8776f43f3970b6a4d" }, "downloads": -1, "filename": "codicefiscale-0.9.tar.gz", "has_sig": false, "md5_digest": "a3516fe5519f0c076afa87ddff9e4dd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3904, "upload_time": "2016-01-10T16:32:36", "url": "https://files.pythonhosted.org/packages/8b/e5/53863848e12ff6a13651cddcc83a8df5fccc8b87bd8fae836ce2f763b534/codicefiscale-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9d1b95ab666c65235f686dc925b9b76", "sha256": "8caefa74a5bef476d4155ef889f6ecee84756a18fd7c9ca54d9a4470f74af3bb" }, "downloads": -1, "filename": "codicefiscale-0.9-py2.7.egg", "has_sig": false, "md5_digest": "b9d1b95ab666c65235f686dc925b9b76", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7655, "upload_time": "2016-01-10T16:33:11", "url": "https://files.pythonhosted.org/packages/4c/71/54a81e41132984e0d5eec5c28646a34ad517306cbc62bb333d613be20212/codicefiscale-0.9-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a3516fe5519f0c076afa87ddff9e4dd9", "sha256": "d2e7b20576fabdf51379e43c42bfefed842b61c71186f5b8776f43f3970b6a4d" }, "downloads": -1, "filename": "codicefiscale-0.9.tar.gz", "has_sig": false, "md5_digest": "a3516fe5519f0c076afa87ddff9e4dd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3904, "upload_time": "2016-01-10T16:32:36", "url": "https://files.pythonhosted.org/packages/8b/e5/53863848e12ff6a13651cddcc83a8df5fccc8b87bd8fae836ce2f763b534/codicefiscale-0.9.tar.gz" } ] }