OSC Client
An OpenStreetCam.org client in Python for ease in requesting publicly available resources from the platform.
Originally created as part of the following volunteer AI challenge: Omdena + iRAP: Preventing Road Crashes and Saving Lives (https://omdena.com/projects/ai-road-safety/).
Installation
pip install git+https://github.com/d33bs/osc_client@main#egg=osc_client
Usage
Simple Request Example
from osc_client import OSC
osc = OSC()
photos_list = osc.get_photos_from_point(lat=34.94083565649461, lng=-82.8662492514243)
photos_list[0]
Testing
Various tests may be found under the ./tests directory within this repo. See below for a straightforward example on running those tests.
pip install pytest
pytest tests
Metadata
Release files for osc-client 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| osc_client-0.0.1.tar.gz | 6.6 kB | Without provenance | Details for osc_client-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| osc_client-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for osc_client-0.0.1-py3-none-any.whl |
Total release size: 13.5 kB
Release files / osc_client-0.0.1.tar.gz
| Download URL | osc_client-0.0.1.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48c66581247b206bc794714e9853a7616d6f25925e06563018d6a2532244d872
|
|
BLAKE2b-256 checksum How to use checksums |
7b364e1d0484f67a335eae3161cdda53cc02f5fa39919742a43c4b6073ba1b2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.6
|
Release files / osc_client-0.0.1-py3-none-any.whl
| Download URL | osc_client-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d38c9452c3f538ceb317d76103a067c218dfb079d2f6281659aec9e99d2e51df
|
|
BLAKE2b-256 checksum How to use checksums |
1c545cf22d69364def7c9dcdd0de85e9a0d780ffa4729efc9718b34223f15fc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.6
|
Security for osc-client 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.