This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

pyicane is a Python wrapper for the Statistical Office of Cantabria’s (ICANE) metadata restful API. This module parses ICANE’s json data and metadata into Python objects and common data structures such as Pandas dataframes [1]. All ICANE’s API classes and methods are covered; also, time-series data can be downloaded into a Python Pandas dataframe structure.

pyicane is written and maintained by Miguel Expósito Martín and is distributed under the Apache 2.0 License (see LICENSE file).

[1]http://pandas.pydata.org for Python Data Analysis Library information

Installation

pyicane requires pandas and requests packages. For installation:

pip install pyicane

Usage

Get a list of categories

Typical usage often looks like this:

from pyicane import pyicane

categories = pyicane.Category.find_all()
print categories

Get Time Series Data in a Dataframe

Conversion to dataframe is a useful feature:

from pyicane import pyicane

time_series = pyicane.TimeSeries.get('census-series-1900-2001')
print time_series.data_as_dataframe()

Get Time Series Metadata in a Dataframe

Let’s check the most relevant metadata:

from pyicane import pyicane

time_series = pyicane.TimeSeries.get('census-series-1900-2001')
print time_series.metadata_as_dataframe()

Get last updated data

Which was the last ICANE’s API data update:

from pyicane import pyicane

print pyicane.Data.get_last_updated()
Release History

Release History

0.1.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyicane-0.1.2.tar.gz (183.2 kB) Copy SHA256 Checksum SHA256 Source Mar 7, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting