{ "info": { "author": "Damien Garaud", "author_email": "damien.garaud@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# Pyris\n\nIRIS INSEE Geolocalizer\n\nPyris try to collect data about\n[IRIS](http://www.insee.fr/fr/methodes/default.asp?page=zonages/iris.htm) from\nthe French [INSEE](http://www.insee.fr/en/) institute. It's possible from an\naddress to find the IRIS code and some related data.\n\n[IRIS](http://www.insee.fr/fr/methodes/default.asp?page=zonages/iris.htm) are\nspecific codes and data related to more than 50,000 districts, built by the\n[National Institute of Statistics and Economic Studies](http://www.insee.fr/en/).\n\n* Running instance http://pyris.datajazz.io/\n* API documentation at http://pyris.datajazz.io/doc/\n\n## Interactive Map\n\n![map](./images/pyris-map.jpg)\n\n## REST API documentation\n\n![api](./images/pyris-doc-api.png)\n\nFor instance, you can:\n\n* `URL/iris/0104?limit=5` to the some information about a specific IRIS code\n\n* `URL/search/q=place de la bourse Bordeaux` to get the IRIS data from a\n specific address\n\n## Data\n\nIRIS shapes at https://www.data.gouv.fr/fr/datasets/contour-des-iris-insee-tout-en-un/\n\nGo to the `data` directory and then:\n\n* `./01-download-data.sh`\n\nYou have to install postgreSQL and PostGIS. For Debian:\n\n sudo apt-get install postgresql postgis\n\nCreate a database name `pyris` with:\n\n* `02-create-database.sh`\n* and `03-insert-data.sh` to insert data\n\nYou have to be a PostgreSQL superuser to create the postgis extension for your\ndatabase. If it's not the case, you can do:\n\n* `su`\n* `su - postgres`\n* `psql pyris -c \"CREATE EXTENSION postgis;\"`\n\nTest the insertion with a simple:\n\n```sql\nSELECT gid,depcom,nom_com,iris,typ_iris\nFROM geoiris LIMIT 10;\n```\n\n## Launch the Web App\n\nFirst, download the few CSS & JavaScript dependencies with a `bower install`\n(just a Bootstrap and jQuery).\n\nThen :\n`> gunicorn -b 127.0.0.1:5555 pyris.api.run:app`\nor\n`> gunicorn -b 127.0.0.1:5555 --env PYRIS_APP_SETTINGS=./appdev.yml pyris.api.run:app`\nif you have to specify db credentials or logging Flask app configuration.\n\nSee an [example of a app.yml file](https://github.com/garaud/pyris/blob/master/app.yml)\n\nVisit http://localhost:5555/pyris\n\n## Requirements\n\n* postgresql\n* postgis\n\n* flask\n* flask restplus\n* psycopg2\n* slumber\n* pyaml", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/garaud/pyris", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "pyris", "package_url": "https://pypi.org/project/pyris/", "platform": "", "project_url": "https://pypi.org/project/pyris/", "project_urls": { "Homepage": "https://github.com/garaud/pyris" }, "release_url": "https://pypi.org/project/pyris/0.6/", "requires_dist": null, "requires_python": "", "summary": "INSEE/IRIS geolocalization", "version": "0.6" }, "last_serial": 3652666, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d54c55a129bf47f8f799687b518c3ebd", "sha256": "958e965013d49f80ac0b1fb35b2d3f6bbf9afdd8b7a85d9b2493522bd858649b" }, "downloads": -1, "filename": "pyris-0.1.tar.gz", "has_sig": false, "md5_digest": "d54c55a129bf47f8f799687b518c3ebd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6091, "upload_time": "2016-03-19T14:12:01", "url": "https://files.pythonhosted.org/packages/cb/3f/ccdc9b9c7831621cb426cbd923bdc500f3a98533e2ed8b2edbef9e9867d7/pyris-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "2e5658661873b5a59892f21d9d022cc5", "sha256": "fb084f671a3fa52f3c75b9e48bf78d8378a861162a3dde73d915bb751572d125" }, "downloads": -1, "filename": "pyris-0.2.tar.gz", "has_sig": false, "md5_digest": "2e5658661873b5a59892f21d9d022cc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7348, "upload_time": "2016-03-23T23:51:02", "url": "https://files.pythonhosted.org/packages/12/e7/4505474e447899f61f233629466aa508e052cb8826e7336a0463d64a516d/pyris-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "c3e38217aead394734b39e09f3d66a64", "sha256": "a61846775ae10136b16a84722a4fdaba207d448d0e80d494c36684e5ac8b3716" }, "downloads": -1, "filename": "pyris-0.3.tar.gz", "has_sig": false, "md5_digest": "c3e38217aead394734b39e09f3d66a64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68670, "upload_time": "2016-04-05T23:17:08", "url": "https://files.pythonhosted.org/packages/04/c1/93c567c310dcc2a544bed8b6947eec2d75b11145a836f0aab14bcfa9add5/pyris-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "4d83232fb961b7c586f698d68f592953", "sha256": "278c4ebf5ecb6793fa9ea43872fe593730472605069a4f5aa2a61519d4c8ef1f" }, "downloads": -1, "filename": "pyris-0.4.tar.gz", "has_sig": false, "md5_digest": "4d83232fb961b7c586f698d68f592953", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 69207, "upload_time": "2016-04-16T12:52:34", "url": "https://files.pythonhosted.org/packages/42/cb/9bf89440dfafa7d77d3e00830274265b5aca676735b3c6578bd83cbda7a8/pyris-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "9fc2a0a7cef1d242c47c79ea73b9c7f7", "sha256": "ff85601ee388a5f9b71220fef7726036699c85c56ad1a47478271012495e9937" }, "downloads": -1, "filename": "pyris-0.5.1.tar.gz", "has_sig": false, "md5_digest": "9fc2a0a7cef1d242c47c79ea73b9c7f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 168701, "upload_time": "2018-02-26T16:35:26", "url": "https://files.pythonhosted.org/packages/7d/75/4d81e26a16070282513d87195532b1c4d7cbe9178a463854ac9523c7f3d7/pyris-0.5.1.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "6529be25fbcb939e64d9eaee346005b7", "sha256": "3f038ce0156b862d707802ef9272ecc2ed94208136cd9e89d67e3f5131617494" }, "downloads": -1, "filename": "pyris-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "6529be25fbcb939e64d9eaee346005b7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 866270, "upload_time": "2018-03-08T22:52:32", "url": "https://files.pythonhosted.org/packages/4d/ad/494e4ce50cd2eb57589f8120e98fedfe99171260dc7946f24d75ef5fd215/pyris-0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c566a2c9c2848e0f9de3f75111d2cdf0", "sha256": "a655d2a0a67e1d928590f26a2b0470f9af11485945cff574e21900fff4f71c89" }, "downloads": -1, "filename": "pyris-0.6.tar.gz", "has_sig": false, "md5_digest": "c566a2c9c2848e0f9de3f75111d2cdf0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 850113, "upload_time": "2018-03-08T22:52:16", "url": "https://files.pythonhosted.org/packages/84/51/9f42545ef331024c011a5a395b3382db36501c33827ecb347a7c0387145c/pyris-0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6529be25fbcb939e64d9eaee346005b7", "sha256": "3f038ce0156b862d707802ef9272ecc2ed94208136cd9e89d67e3f5131617494" }, "downloads": -1, "filename": "pyris-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "6529be25fbcb939e64d9eaee346005b7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 866270, "upload_time": "2018-03-08T22:52:32", "url": "https://files.pythonhosted.org/packages/4d/ad/494e4ce50cd2eb57589f8120e98fedfe99171260dc7946f24d75ef5fd215/pyris-0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c566a2c9c2848e0f9de3f75111d2cdf0", "sha256": "a655d2a0a67e1d928590f26a2b0470f9af11485945cff574e21900fff4f71c89" }, "downloads": -1, "filename": "pyris-0.6.tar.gz", "has_sig": false, "md5_digest": "c566a2c9c2848e0f9de3f75111d2cdf0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 850113, "upload_time": "2018-03-08T22:52:16", "url": "https://files.pythonhosted.org/packages/84/51/9f42545ef331024c011a5a395b3382db36501c33827ecb347a7c0387145c/pyris-0.6.tar.gz" } ] }