A python wrapper for the OpenCellID DB
Project description
----------------
OpenCellID Utils
----------------
.. image:: https://travis-ci.org/ashmastaflash/opencellid-wrapper.svg?branch=master
:target: https://travis-ci.org/ashmastaflash/opencellid-wrapper
.. image:: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper/badges/gpa.svg
:target: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper
:alt: Code Climate
.. image:: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper/badges/coverage.svg
:target: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper/coverage
:alt: Test Coverage
.. image:: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper/badges/issue_count.svg
:target: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper
:alt: Issue Count
This project is not associated with the OpenCellID project. This is a utility
package for downloading and parsing the OpenCellID database.
Usage:
------
::
import opencellid
ocid_obj = opencellid.OpenCellIdFeed("/dir/for/feed/file/", "api_key")
# Update OpenCellID feed from web:
ocid_obj.update_from_web()
# Print all rows in OpenCellID feed:
for row in ocid_obj:
print row
Installation:
-------------
pip install opencellid
Testing:
--------
py.test
The test fixture file cell_towers.csv.gz contains information from the
OpenCellID database, which is licensed CC-BY-SA 3.0
Changelog
=========
v0.1
----
New
~~~
- Unit and integration tests. [Ash Wilson]
- Creates an OpenCellIdFeed object which can be updated from web and
iterated over. [Ash Wilson]
OpenCellID Utils
----------------
.. image:: https://travis-ci.org/ashmastaflash/opencellid-wrapper.svg?branch=master
:target: https://travis-ci.org/ashmastaflash/opencellid-wrapper
.. image:: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper/badges/gpa.svg
:target: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper
:alt: Code Climate
.. image:: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper/badges/coverage.svg
:target: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper/coverage
:alt: Test Coverage
.. image:: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper/badges/issue_count.svg
:target: https://codeclimate.com/github/ashmastaflash/opencellid-wrapper
:alt: Issue Count
This project is not associated with the OpenCellID project. This is a utility
package for downloading and parsing the OpenCellID database.
Usage:
------
::
import opencellid
ocid_obj = opencellid.OpenCellIdFeed("/dir/for/feed/file/", "api_key")
# Update OpenCellID feed from web:
ocid_obj.update_from_web()
# Print all rows in OpenCellID feed:
for row in ocid_obj:
print row
Installation:
-------------
pip install opencellid
Testing:
--------
py.test
The test fixture file cell_towers.csv.gz contains information from the
OpenCellID database, which is licensed CC-BY-SA 3.0
Changelog
=========
v0.1
----
New
~~~
- Unit and integration tests. [Ash Wilson]
- Creates an OpenCellIdFeed object which can be updated from web and
iterated over. [Ash Wilson]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
opencellid-0.1.1.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file opencellid-0.1.1.tar.gz
.
File metadata
- Download URL: opencellid-0.1.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe02dde3134f9bf99880ec96fee45c8393bed0904179d810a13d4fb7245b235 |
|
MD5 | b08ccf3faca923223394ab3559c7dbfa |
|
BLAKE2b-256 | de6b66449f8453ba399b7bcbf3360fb740016e9af89c112afa0a26ef4a110d1b |
File details
Details for the file opencellid-0.1.1-py2-none-any.whl
.
File metadata
- Download URL: opencellid-0.1.1-py2-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b28e68835f6b02070259b1f9c0bcf969e2484cd31dba2966a7175ce8e2b93380 |
|
MD5 | e93b2349bebf0ab2ab7ebdcb62f570fa |
|
BLAKE2b-256 | 8e13dff02f197b9a14dc4d46fc9be6956c7ce48707f1aa49ad12a2b81ded918e |