{ "info": { "author": "Pietro Zambelli", "author_email": "peter.zamb@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "GRASS GIS session library\n=========================\n\nA simple library to use GRASS GIS from python.\nYou can specify the GRASS executable that you want to use with an\nenviromental variable called: `GRASSBIN`\n\n\n\nStatus\n------\n\nIn development\n\n\nInstall\n-------\n\nTo install the stable version use: ::\n\n $ pip install grass-session\n\n\nTo install the current development version use: ::\n\n $ pip install git+https://github.com/zarch/grass-session.git\n\n\nExamples\n--------\n\nSet the GRASS GIS binary that you want to use with:\n`export GRASSBIN=grass75`::\n\n >>> from grass_session import Session\n >>> from grass.script import core as gcore\n >>> with Session(gisdb=\"/tmp\", location=\"location\",\n ... create_opts=\"EPSG:4326\"):\n ... print(gcore.parse_command(\"g.gisenv\", flags=\"s\"))\n {u'GISDBASE': u\"'/tmp/';\",\n u'LOCATION_NAME': u\"'epsg3035';\",\n u'MAPSET': u\"'PERMANENT';\",}\n >>> with Session(gisdb=\"/tmp\", location=\"location\", mapset=\"test\",\n ... create_opts=\"\"):\n ... print(gcore.parse_command(\"g.gisenv\", flags=\"s\"))\n {u'GISDBASE': u\"'/tmp/';\",\n u'LOCATION_NAME': u\"'epsg3035';\",\n u'MAPSET': u\"'test';\",}\n\n\nDevelopment\n-----------\n\n1. Clone the repository::\n\n $ git clone git@github.com:zarch/grass_session.git\n\n2. Make sure that ``py.test``, and ``tox`` are installed::\n\n $ pip install -r requirements-testing.txt\n\n3. Test locally with ``py.test``::\n\n $ GRASSBIN=~/.local/bin/grass75 PYTHONPATH=\"`pwd`:$PYTHONPATH\" py.test test/py.test test/\n\n5. Test against multiple Python environments using ``tox``::\n\n $ tox\n ...\n _________________________________ summary _________________________________\n py27: commands succeeded\n py36: commands succeeded\n congratulations :)\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/zarch/grass-session", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "grass-session", "package_url": "https://pypi.org/project/grass-session/", "platform": "", "project_url": "https://pypi.org/project/grass-session/", "project_urls": { "Homepage": "https://github.com/zarch/grass-session" }, "release_url": "https://pypi.org/project/grass-session/0.1/", "requires_dist": null, "requires_python": "", "summary": "GRASS GIS session utilities", "version": "0.1" }, "last_serial": 3698200, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "1621fe32e3e118ce22794a76a34fda78", "sha256": "0386b4d433c03865cd1522bf8db440c9a21d5895402734727ecbf8d196ac9430" }, "downloads": -1, "filename": "grass_session-0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "1621fe32e3e118ce22794a76a34fda78", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7056, "upload_time": "2018-03-23T09:45:00", "url": "https://files.pythonhosted.org/packages/ae/be/5b9f707dff22529358c3d147373658a85599540addffbda9c629dcc97366/grass_session-0.1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1621fe32e3e118ce22794a76a34fda78", "sha256": "0386b4d433c03865cd1522bf8db440c9a21d5895402734727ecbf8d196ac9430" }, "downloads": -1, "filename": "grass_session-0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "1621fe32e3e118ce22794a76a34fda78", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7056, "upload_time": "2018-03-23T09:45:00", "url": "https://files.pythonhosted.org/packages/ae/be/5b9f707dff22529358c3d147373658a85599540addffbda9c629dcc97366/grass_session-0.1-py2.py3-none-any.whl" } ] }