OCMpy
OCMpy is a python wrapper for the Open Charge Map API for EV charging stations. Details on the API and project can be found at https://openchargemap.org/site/develop
Getting Started
To install
pip install ocmpy
To run
import ocmpy
ocmpyInstance = Ocmpy()
ocmpyInstance.open()
stations = ocmpyInstance.getstationsbylocation(40.027435, -105.251945)
[print(x) for x in stations]
Station ID: 102790, Title: COMM VITALITY
Station ID: 80295, Title: BOULDER
Station ID: 8333, Title: 2285 28TH St
Station ID: 72265, Title: NATURE CONSVNCY
Station ID: 71506, Title: UCAR & NCAR
Station ID: 80294, Title: 3223 ARAPAHOE
Station ID: 89605, Title: BVSD
Station ID: 28231, Title: City of Boulder - Municipal Service Center
Station ID: 89601, Title: Gold Run Health Club 1
Station ID: 89600, Title: UNIV. OF COL
Prerequisites
The only non-standard module required at this time is 'requests'
pip install -r requirements.txt
Running the tests
python3 -m unittest test/test_ocmpy.py
Deployment
pip install ocmpy
Authors
- Jeremy Banker - Initial work - Loredous
License
This project is licensed under the GPLv3 - see the LICENSE file for details
Metadata
Release files for ocmpy 0.1.4
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 |
|---|---|---|---|---|
| ocmpy-0.1.4.tar.gz | 32.5 kB | Without provenance | Details for ocmpy-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ocmpy-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for ocmpy-0.1.4-py3-none-any.whl |
Total release size: 65.7 kB
Release files / ocmpy-0.1.4.tar.gz
| Download URL | ocmpy-0.1.4.tar.gz |
|---|---|
| Size | 32.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fd0ace034a2a46e22089a752e9bb148aa5d096b5efff359fb212a45358b44cf
|
|
BLAKE2b-256 checksum How to use checksums |
81490332b36b47cd1c2f5ab1bfd58cfd18efc17e5f4b2fa9559c22a02240d7c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ocmpy-0.1.4-py3-none-any.whl
| Download URL | ocmpy-0.1.4-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
791197ceaf0853da51d8f5e12a94dca320baff82c9c3ca9cd50fa6f24c438a6e
|
|
BLAKE2b-256 checksum How to use checksums |
80675f2619b933bd6f2f23924cae77ca99981367b88e85cb5b1d6f2a5e97e6b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ocmpy 0.1.4
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.