{ "info": { "author": "Nathan Longbotham", "author_email": "longbotham@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Introduction\n============\n\ndgsamples is a package of sample image chips and vector files that can\nbe used for unit testing without having to maintain test data in each\ncode base that needs to be tested.\n\nQuick Start\n===========\n\n.. code:: python\n\n import dgsamples\n\n # The code automatically discovers the data available and puts it on a \n # bunch object called samples which can be accessed directly:\n dgsamples.allsamples # This will pretty print the contents of the bunch\n\n # Finer grained access to the samples can be achieved by:\n dgsamples.wv2_longmont_1k.files\n # The above will produce a path similar to: \n # /path/to/dgsampledata/wv2_longmont_1k/...M2AS-053792616010_01_P001.TIL'\n # /path/to/dgsampledata/wv2_longmont_1k/...P2AS-053792616010_01_P001.TIL'\n\n # If the samples have a filename_map.PVL file provided, there will also be\n # sensor specific shotcuts available in an OrderedBunch object:\n dgsamples.wv2_longmont_1k.ms\n # The above will produce a path to the sensor .TIL file:\n # /path/to/dgsampledata/wv2_longmont_1k/...M2AS-053792616010_01_P001.TIL'\n\n # The .TIL file can be ingested with geoio as:\n import geoio\n img = geoio.DGImage(dgsamples.wv2_longmont_1k.ms)\n\n # However, these links are to real files on disk and can be read with\n # an appropriate application.\n from osgeo import gdal\n obj = gdal.Open(dgsamples.bayou_chip.extract_test)\n\n # or\n import fiona\n s = fiona.open(dgsamples.bayou_vectors.poly)\n\n # The sample data can also be retrieved through the \"file\" bunch key:\n dgsamples.bayou_vectors.files\n # The above will produce something similar to:\n # ['/path/to/dgsampledata/.../extract_test_point.shp',\n # '/path/to/dgsampledata/.../extract_test_poly.shp']\n\nAdding Data Sets\n================\n\nNew data can be added directly into the \"dgsamples\" package and will be\ndynamically discovered on import. The dynamic discovery code uses the\nfollowing logic when determining what type of data exists in a directory:\n\n.. code:: python\n\n if \".TIL found\":\n \"return all .TILs and stop\"\n elif \".TIF found\" :\n \"return all .TIFs and stop\"\n elif \".shp or .json found\" :\n \"return all .shp and .json then stop\"\n\nIf a file named \"filename_map.PVL\" is added to a sample directory, the key/\nvalue pairs in the file will be used to map files to an key entry on the\nreturned OrderedBunch object.\n\nIf a file named \"notes.txt\" is present in the sample directory, the content\nwill be added to a \"notes\" entry on the OrderedBunch object.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "dgsamples", "package_url": "https://pypi.org/project/dgsamples/", "platform": "", "project_url": "https://pypi.org/project/dgsamples/", "project_urls": null, "release_url": "https://pypi.org/project/dgsamples/1.1.2/", "requires_dist": [ "tinytools" ], "requires_python": "", "summary": "Sample image chips and vectors that can be used for unit testing", "version": "1.1.2" }, "last_serial": 4038132, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "930b6cb62df4384a48bece946fcf3a92", "sha256": "bffdbf7509fa8255a1628aa9616c5a158396454593bfac8f43a9dc5b2b05d2d9" }, "downloads": -1, "filename": "dgsamples-1.0.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "930b6cb62df4384a48bece946fcf3a92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15070009, "upload_time": "2016-05-10T21:42:05", "url": "https://files.pythonhosted.org/packages/90/f2/ce1d3bf911ec522fa06f7bfa58a20d4f9912cb940a1e095b9bdb774e76ae/dgsamples-1.0.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "edc1087d8c0fac2c3f6646c8ea3c2549", "sha256": "b183ea4882d0464a05089987f9ca6d34d0a6db819851a8cffd448ca067f83a48" }, "downloads": -1, "filename": "dgsamples-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "edc1087d8c0fac2c3f6646c8ea3c2549", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15087786, "upload_time": "2016-05-10T21:41:53", "url": "https://files.pythonhosted.org/packages/3d/53/08ccdf6e526da58896454509db326888b9cd068f540d7ced9ce40604e21d/dgsamples-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e35276f147cf967d64d9d7a0a44e83be", "sha256": "87184eec5404fd969a2c1d48d05c8fa103e17833d15454234b4c10d1d295a714" }, "downloads": -1, "filename": "dgsamples-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e35276f147cf967d64d9d7a0a44e83be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15067894, "upload_time": "2016-05-10T21:42:15", "url": "https://files.pythonhosted.org/packages/f9/c8/24526477f52d824ca6a1b11a3bbb13866d95729de618b68fa972cb7e6c06/dgsamples-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "0ab3cf60f9674eb99b8fdaaba28e678e", "sha256": "19f6a7607dddea69b065a1e6b142296dfe59bb37e00fdec241746d9b0f069d40" }, "downloads": -1, "filename": "dgsamples-1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "0ab3cf60f9674eb99b8fdaaba28e678e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15090637, "upload_time": "2016-05-18T19:16:47", "url": "https://files.pythonhosted.org/packages/74/58/3c7162328215bd81ed92e973405e4c263eb9e4757648ee5073feaec855ac/dgsamples-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7801b9979e7262f617c81e7b79a99eb", "sha256": "eabe073648d5aeec58a07c31706637db37abd3aa07086b189817e1b0d2cc41ea" }, "downloads": -1, "filename": "dgsamples-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e7801b9979e7262f617c81e7b79a99eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15073128, "upload_time": "2016-05-18T19:16:20", "url": "https://files.pythonhosted.org/packages/5c/39/64f8f5ac012ea9e57e893d451b6e1d72ae746256039278c99dd50accf516/dgsamples-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "55cdb12ba0265e24f966a42cd907393d", "sha256": "38050e13cd3a578317762749e78dc827e0c16d93a6b6b759e4489efc1e064e5f" }, "downloads": -1, "filename": "dgsamples-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "55cdb12ba0265e24f966a42cd907393d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15093213, "upload_time": "2016-07-13T17:11:14", "url": "https://files.pythonhosted.org/packages/5b/87/ce447af38d3faf9d0f9a5439f8148f3d85e15b57bb5688720596f1c528d7/dgsamples-1.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8858a1aeb9fbfc03c47be4b830a0fc98", "sha256": "cfaa374f0c2fe43e68acd5e171ec33c7088cd58f408ecde2fa54d58fc011f956" }, "downloads": -1, "filename": "dgsamples-1.0.2.tar.gz", "has_sig": false, "md5_digest": "8858a1aeb9fbfc03c47be4b830a0fc98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15075325, "upload_time": "2016-07-13T17:11:00", "url": "https://files.pythonhosted.org/packages/26/4b/00d3bec3a8ebcb13165cf43662b2c5bbc0c63ac01288cf4c1daf1b17e696/dgsamples-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "d6d028d0e5cd473f14e37f7146cd8817", "sha256": "f95be116cf8d04369b24266c46c2d640c8f7a5368e26da426dfeffdc0069d70a" }, "downloads": -1, "filename": "dgsamples-1.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "d6d028d0e5cd473f14e37f7146cd8817", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 32445822, "upload_time": "2016-07-27T21:42:54", "url": "https://files.pythonhosted.org/packages/08/36/3336b64e4f0d3cfdac5a3fe5e1847a838f0f031064715670aa498b651548/dgsamples-1.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "88c42db1faad7a1ef3bfabf534a81576", "sha256": "910fd0fe1d383aecbb7ba00dc07bbd6cb6d5cf2fdfe8bfe245c50cda435ed97f" }, "downloads": -1, "filename": "dgsamples-1.0.3.tar.gz", "has_sig": false, "md5_digest": "88c42db1faad7a1ef3bfabf534a81576", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32424129, "upload_time": "2016-07-27T21:42:34", "url": "https://files.pythonhosted.org/packages/58/1e/4d5ccad8f5564162bfb7ace4bbd3703ddecf8a455281c41557c1cccd74b7/dgsamples-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a03473b950fd77be40837e6d78d8ee79", "sha256": "89d7e04154de0a098855ea100e5bd967c6790ae6a23b821b35a742c976977f0b" }, "downloads": -1, "filename": "dgsamples-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a03473b950fd77be40837e6d78d8ee79", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 28264090, "upload_time": "2018-07-06T23:39:47", "url": "https://files.pythonhosted.org/packages/78/4f/3dc3fa95dd66d92565bb802a6012e83157c89afc048aeb383b3c27ce1dfd/dgsamples-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5010e8785be6bf6bee63dac8b8bb0303", "sha256": "a8e3c215bc476cdc3449931d4bc61248392236c03138778a2af682cabcede854" }, "downloads": -1, "filename": "dgsamples-1.1.0.tar.gz", "has_sig": false, "md5_digest": "5010e8785be6bf6bee63dac8b8bb0303", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28243504, "upload_time": "2018-07-06T23:39:58", "url": "https://files.pythonhosted.org/packages/01/dc/9d844b19e0051cb461ea068f9b0af3266aa92baaa6bdc14fe3987a4b8dc1/dgsamples-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "cc3b6a5e65b121080c6e82e2957870dc", "sha256": "5b780e461b6c293824643e54c2eae4ee4b0d04f69e3cba7afe2ae4ba7cd93f5a" }, "downloads": -1, "filename": "dgsamples-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "cc3b6a5e65b121080c6e82e2957870dc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 28264086, "upload_time": "2018-07-06T23:43:23", "url": "https://files.pythonhosted.org/packages/d6/a5/ce07d5eec83207ae4e90153a5b6abcc3a6bc9e0a645fb1299ace9030493e/dgsamples-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3f13eccbcda2d812416c571010a93444", "sha256": "99eb0e7aeea5a6730288deb54f7be0f44ef4af29b9ae77c990d92862b4c54f0a" }, "downloads": -1, "filename": "dgsamples-1.1.1.tar.gz", "has_sig": false, "md5_digest": "3f13eccbcda2d812416c571010a93444", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28243426, "upload_time": "2018-07-06T23:43:40", "url": "https://files.pythonhosted.org/packages/05/c8/876bad34ab09d3a1344a8b7b4385faa5a75ec5092a6bddeb5090cce7b687/dgsamples-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "d30230701b1104c1523f52370c61d78b", "sha256": "2120e2c27d6b4ee16d8e9f4f37e4081ba596edb108352b78e3877cca47c32302" }, "downloads": -1, "filename": "dgsamples-1.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d30230701b1104c1523f52370c61d78b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 28265057, "upload_time": "2018-07-07T00:18:16", "url": "https://files.pythonhosted.org/packages/1e/4c/26fa375484a40c6b356ec31003c1f242ebd602e4d15ca63ee27178e533e6/dgsamples-1.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c05a71209c8d89193d63a42d463937f", "sha256": "4ec2a806272ac973e9e0905489d0eecec640e26c175d6a4401962902f7c1c16c" }, "downloads": -1, "filename": "dgsamples-1.1.2.tar.gz", "has_sig": false, "md5_digest": "9c05a71209c8d89193d63a42d463937f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28243602, "upload_time": "2018-07-07T00:18:29", "url": "https://files.pythonhosted.org/packages/b3/76/8c9421d58895e874195444fd949e686121ca2736d3ea071ff9c0d5907e03/dgsamples-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d30230701b1104c1523f52370c61d78b", "sha256": "2120e2c27d6b4ee16d8e9f4f37e4081ba596edb108352b78e3877cca47c32302" }, "downloads": -1, "filename": "dgsamples-1.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d30230701b1104c1523f52370c61d78b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 28265057, "upload_time": "2018-07-07T00:18:16", "url": "https://files.pythonhosted.org/packages/1e/4c/26fa375484a40c6b356ec31003c1f242ebd602e4d15ca63ee27178e533e6/dgsamples-1.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c05a71209c8d89193d63a42d463937f", "sha256": "4ec2a806272ac973e9e0905489d0eecec640e26c175d6a4401962902f7c1c16c" }, "downloads": -1, "filename": "dgsamples-1.1.2.tar.gz", "has_sig": false, "md5_digest": "9c05a71209c8d89193d63a42d463937f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28243602, "upload_time": "2018-07-07T00:18:29", "url": "https://files.pythonhosted.org/packages/b3/76/8c9421d58895e874195444fd949e686121ca2736d3ea071ff9c0d5907e03/dgsamples-1.1.2.tar.gz" } ] }