image2gps


Nameimage2gps JSON
Version 1.4.0 PyPI version JSON
download
home_pagehttps://github.com/abionics/image2gps
SummaryExtract time and coords from image πŸ–ΌπŸ“β±οΈ
upload_time2023-08-10 23:25:36
maintainer
docs_urlNone
authorAlex Ermolaev
requires_python
licenseMIT
keywords image gps location extract exif
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # image2gps

Extract time and coords from image πŸ–ΌπŸ“β±οΈ

![demo](demo.jpg)
_[Image source](https://github.com/ianare/exif-samples/blb/master/jpg/gps/DSCN0010.jpg)_

```python
from image2gps import image2gps

time, coords = image2gps('demo.jpg')
print(f'Image taken in {coords} at {time}')
# >>> Image taken in (43.467, 11.885) at 2008-11-01 21:15:07
```

This sample can be found [here](tests/sample.py)


## Installation

```bash
pip install image2gps
```


## Tests

```bash
python -m pytest tests

# or only certain tests
python -m pytest tests/test_main.py
python -m pytest tests/test_time.py
```


## More

PyPI: https://pypi.org/project/image2gps

Repository: https://github.com/abionics/image2gps

Developer: Alex Ermolaev (Abionics)

Email: abionics.dev@gmail.com

License: MIT (see LICENSE.txt)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/abionics/image2gps",
    "name": "image2gps",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "image gps location extract exif",
    "author": "Alex Ermolaev",
    "author_email": "abionics.dev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/25/ce/26693bb21db4d9c92beb25236c0d6b0b1253c9b18b4509a5e3c54cc256f2/image2gps-1.4.0.tar.gz",
    "platform": null,
    "description": "# image2gps\n\nExtract time and coords from image \ud83d\uddbc\ud83d\udccd\u23f1\ufe0f\n\n![demo](demo.jpg)\n_[Image source](https://github.com/ianare/exif-samples/blb/master/jpg/gps/DSCN0010.jpg)_\n\n```python\nfrom image2gps import image2gps\n\ntime, coords = image2gps('demo.jpg')\nprint(f'Image taken in {coords} at {time}')\n# >>> Image taken in (43.467, 11.885) at 2008-11-01 21:15:07\n```\n\nThis sample can be found [here](tests/sample.py)\n\n\n## Installation\n\n```bash\npip install image2gps\n```\n\n\n## Tests\n\n```bash\npython -m pytest tests\n\n# or only certain tests\npython -m pytest tests/test_main.py\npython -m pytest tests/test_time.py\n```\n\n\n## More\n\nPyPI: https://pypi.org/project/image2gps\n\nRepository: https://github.com/abionics/image2gps\n\nDeveloper: Alex Ermolaev (Abionics)\n\nEmail: abionics.dev@gmail.com\n\nLicense: MIT (see LICENSE.txt)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Extract time and coords from image \ud83d\uddbc\ud83d\udccd\u23f1\ufe0f",
    "version": "1.4.0",
    "project_urls": {
        "Homepage": "https://github.com/abionics/image2gps"
    },
    "split_keywords": [
        "image",
        "gps",
        "location",
        "extract",
        "exif"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "25ce26693bb21db4d9c92beb25236c0d6b0b1253c9b18b4509a5e3c54cc256f2",
                "md5": "4727ade761ca13dc20871b3ce36ca471",
                "sha256": "408a1b21bc973571911fdc8bf0798d04a4cc8af479b801b27224f3d0d85e895c"
            },
            "downloads": -1,
            "filename": "image2gps-1.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4727ade761ca13dc20871b3ce36ca471",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5362,
            "upload_time": "2023-08-10T23:25:36",
            "upload_time_iso_8601": "2023-08-10T23:25:36.090450Z",
            "url": "https://files.pythonhosted.org/packages/25/ce/26693bb21db4d9c92beb25236c0d6b0b1253c9b18b4509a5e3c54cc256f2/image2gps-1.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-10 23:25:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "abionics",
    "github_project": "image2gps",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "image2gps"
}
        
Elapsed time: 0.20910s