pyxylookup
Python client for the OBIS xylookup API
Source on GitHub at iobis/pyxylookup
Documentation at Read the Docs
Other OBIS xylookup clients:
R: obistools, iobis/obistools
Installation
pip install git+git://github.com/iobis/pyxylookup.git
Example usage
# nested list of longitude/latitude
import pyxylookup as xy
xy.lookup([[120,0], [-170,1]])
# numpy 2d array
import numpy as np
points = np.asarray([[120,0], [-170,1]])
xy.lookup(points)
## pandas DataFrame
import pandas as pd
points = pd.DataFrame({'x': [120,-170], 'y': [0,1]})
## retrieve results as a pandas DataFrame
xy.lookup(points, asdataframe = True)
Development environment installation
pipenv --three
pipenv install vcrpy
pipenv install tox
pipenv install nose
pipenv install requests
pipenv install u-msgpack-python
pipenv install pandas
pipenv install sphinx sphinx-autobuild sphinx_rtd_theme
# enter virtual evironment
pipenv shell
# run tests
pipenv run tox
Meta
License: MIT, see LICENSE file
Changelog
0.1.0 (2018-01-12)
First release
0.2.0 (2018-09-18)
adaptations related to changes in xylookup
Metadata
Release files for pyxylookup 0.2.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 | |
|---|---|---|---|
| pyxylookup-0.2.1.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyxylookup-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 kB
Release files / pyxylookup-0.2.1.tar.gz
| Download URL | pyxylookup-0.2.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ceaff05b71b3f8327ef779f3a5851bd261775b993682bf5003f27450dda691fb
|
|
BLAKE2b-256 checksum How to use checksums |
83876844aae8524536d9efe9081385edc915216833bb20aecbda98078dcd4588
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Release files / pyxylookup-0.2.1-py3-none-any.whl
| Download URL | pyxylookup-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2bf7eab147632d5663744979d56b0c2ec026ed0eb41868f75b1f787ab9e632b4
|
|
BLAKE2b-256 checksum How to use checksums |
e194f6eb186ae9e0132f77eb16cc2dc44cbdee0df8d926bee12ca1cd107fd7ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|