{ "info": { "author": "Regards Citoyens", "author_email": "contact@regardscitoyens.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "legipy\n======\n\n[![Build Status](https://travis-ci.org/regardscitoyens/legipy.svg?branch=master)](https://travis-ci.org/regardscitoyens/legipy)\n[![codecov](https://codecov.io/gh/regardscitoyens/legipy/branch/master/graph/badge.svg)](https://codecov.io/gh/regardscitoyens/legipy)\n\nPython client for the `legifrance.gouv.fr` website.\n\nCLI usage\n---------\n\nThe command-line script `legipy` gives access to service commands from the command line and outputs data in JSON format.\n\n## Legislature\n\nAccess to the [legislature](https://www.legifrance.gouv.fr/dossiers_legislatifs.jsp).\n\n### List legislatures\n\n```bash\nlegipy legislatures\n```\n\n### List published laws\n\n```bash\nlegipy published_laws [--legislature=CURRENT]\n```\n\n### List pending law projects\n\n```bash\nlegipy law_projects [--legislature=CURRENT]\n```\n\n### List pending law proposals\n\n```bash\nlegipy law_proposals [--legislature=CURRENT]\n```\n\n### List common laws (\"[Lois dites](https://www.legifrance.gouv.fr/affichSarde.do?reprise=true&page=1&idSarde=SARDOBJT000007106573)\")\n\n```bash\nlegipy common_laws\n```\n\n### Show specific law\n\n```bash\nlegipy law JORFDOLE000024106525\n```\n\n## Applicable codes\n\nAccess to the [applicable codes](https://www.legifrance.gouv.fr/initRechCodeArticle.do).\n\n### List applicable codes\n\n```bash\nlegipy codes\n```\n\n### Show code details\n\n```bash\nlegipy code LEGITEXT000006074075\nlegipy code --date-pub 2018-05-01 LEGITEXT000006074075\n```\n\n### Show code section details\n\n```bash\nlegipy code_section LEGITEXT000006074075 LEGISCTA000006107991\nlegipy code --date-pub 2018-05-01 LEGITEXT000006074075 LEGISCTA000006107991\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/regardscitoyens/legipy", "keywords": "scraping politics data france", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "legipy", "package_url": "https://pypi.org/project/legipy/", "platform": "", "project_url": "https://pypi.org/project/legipy/", "project_urls": { "Homepage": "https://github.com/regardscitoyens/legipy" }, "release_url": "https://pypi.org/project/legipy/0.1.2/", "requires_dist": [ "beautifulsoup4 (<4.7,>=4.6)", "click (<6.8,>=6.7)", "html5lib (<1.1,>=1.0)", "requests (<2.21,>=2.20)", "urllib3[secure] (<1.25,>=1.24)", "six (<1.12,>=1.11)", "coverage (<4.5,>=4.4) ; extra == 'test'", "pytest (<3.5,>=3.4) ; extra == 'test'", "pytest-cov (<2.6,>=2.5) ; extra == 'test'", "vcrpy (<1.12,>=1.11) ; extra == 'test'" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "summary": "Python client for legifrance.gouv.fr website", "version": "0.1.2" }, "last_serial": 5141671, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "1278a1a04636b226d19cb84f6790506b", "sha256": "2a5b481ef7fa128ae3f97024fd43836d2ea99cf19e4dee58e0a9bfec9f8aeced" }, "downloads": -1, "filename": "legipy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1278a1a04636b226d19cb84f6790506b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11247, "upload_time": "2018-08-23T15:01:18", "url": "https://files.pythonhosted.org/packages/51/2e/fda9b92aded46931b38efb76011bc9a261be3ad7a726a01d91a2e4a28e89/legipy-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c08674730bac3494f2603ca5ae83ad8a", "sha256": "08e50090b6ab902d70373caf3da8b2c692e888a44477b23f792130ec2b131771" }, "downloads": -1, "filename": "legipy-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c08674730bac3494f2603ca5ae83ad8a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 19158, "upload_time": "2019-04-14T19:24:28", "url": "https://files.pythonhosted.org/packages/bf/9c/bde8ff0670d7ad8de02fe3cbfdc01d78d25b38c4fb508840ba6618efc0a1/legipy-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9714d3f149b6937364f6afe28c8b8d94", "sha256": "38c4d0f160872d32c8a68465817c14890b224d5d5b3d07acec68b652773b0e9e" }, "downloads": -1, "filename": "legipy-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9714d3f149b6937364f6afe28c8b8d94", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 11549, "upload_time": "2019-04-14T19:24:30", "url": "https://files.pythonhosted.org/packages/1d/41/5ac5ed03d9d0d6ee1336cc2e311e2a7358fcfe6d4e95b58e5ceb89ff8015/legipy-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c08674730bac3494f2603ca5ae83ad8a", "sha256": "08e50090b6ab902d70373caf3da8b2c692e888a44477b23f792130ec2b131771" }, "downloads": -1, "filename": "legipy-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c08674730bac3494f2603ca5ae83ad8a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 19158, "upload_time": "2019-04-14T19:24:28", "url": "https://files.pythonhosted.org/packages/bf/9c/bde8ff0670d7ad8de02fe3cbfdc01d78d25b38c4fb508840ba6618efc0a1/legipy-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9714d3f149b6937364f6afe28c8b8d94", "sha256": "38c4d0f160872d32c8a68465817c14890b224d5d5b3d07acec68b652773b0e9e" }, "downloads": -1, "filename": "legipy-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9714d3f149b6937364f6afe28c8b8d94", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 11549, "upload_time": "2019-04-14T19:24:30", "url": "https://files.pythonhosted.org/packages/1d/41/5ac5ed03d9d0d6ee1336cc2e311e2a7358fcfe6d4e95b58e5ceb89ff8015/legipy-0.1.2.tar.gz" } ] }