Skip to main content

Hoopoe is a data enrichment service that makes it easy to improve your data-centric services and increase the accuracy of your ML models.

Project description

Hoopoe

A fast and easy way to enrich your data

Hoopoe is a data enrichment service that makes it easy to improve your data-centric services and increase the accuracy of your ML models.

Hoopoe saves you time in scraping data and loading it to Pandas Dataframes. Instead, just specify the data you already have in your dataframe and its type, and specify the desired data you would like to add.

Current development status

Hoopoe is in its early days, and offered as a pre-alpha version, therefore, bugs are expected. In addition, the current dataset avialability is low. You can check the list below to find out which datasets and translations are already available. This list will be updated from time to time.

Available datasets, enrichment options and translations

  • US states
    • State name abbriviation (USPS abbreviation)
    • Full state name
    • State population
    • State capital city:
      • State capital city name
      • State capital city population:
        • Population
        • MSA/µSA population (Metropolitan Statistical Area / Micropolitan Statistical Area)
        • CSA population (Combined Statistical Area)
    • State area:
      • State total area rank
      • State total area (KM)
      • State land area rank
      • State land area (KM)
      • State water area rank
      • State water area (KM)
  • Country calling codes (international call prefixes)
    • Country name
    • International calling code
  • Units of measure
    • Celsius
    • Farenheit
    • Kelvin

* If you would like to see here another dataset, please contact me and let me know.

Work in progress datasets

  • US states ISO 3166 code
  • US states time zone
  • US states density
  • US population rank
  • US states income rank
  • US states density rank
  • US city population
  • Population by country
  • Capital City by country
  • Countries time zone
  • Countries official language
  • Countries area
  • Countries capital city
  • Unit of measure
    • Distance
    • Area
    • Speed
    • Energy

How to use

Currently Hoopoe supports enrichments of Pandas Dataframes and single strings. For basic usage, after installation, import hoopoe and use the hoopoe enrich function as follows:
hoopoe.enrich(data, source_data_name, source_data_type, target_data_type)

data - Either a string or a Pandas dataframe.
source_data_name - the dataframe column name of the column you want to enrich.
source_data_type - the Hoopoe source data type. For example us_state_name_abbr for a column holding abbriviations of us state.
target_data_type - the target Hoopoe data type you would like Hoopoe to return. For example, for country name, return the target date type phone_prefix for country calling code.

Enrichment options

Category Source data type desc. Hoopoe source_data_type Target data type desc. Hoopoe target_data_type
Places Two letter abbriviations of USA states name (USPS abbreviation) us_state_name_abbr Full USA states name us_state_name_full
Places Full USA states name us_state_name_full Two letter abbriviations of USA states name (USPS abbreviation) us_state_name_abbr
Places Full USA states name us_state_name_full State population 2019 est. us_state_population
Places Full USA state name us_state_name_full State capital city name us_state_capital_city
Places Capital city name us_capital_city_name City population 2019 est. us_capital_city_population
Places Capital city name us_capital_city_name City population (Metropolitan/Micropolitan Statistical Area - MSA) 2019 est. us_capital_city_population_msa
Places Capital city name us_capital_city_name City population (Combined Statistical Area - CSA) 2019 est. us_capital_city_population_csa
Places Full USA state name us_state_name_full State total area rank us_state_total_area_rank
Places Full USA state name us_state_name_full State total area rank us_state_total_area (KM)
Places Full USA state name us_state_name_full State land area rank us_state_land_area_rank
Places Full USA state name us_state_name_full State land area rank us_state_land_area (KM)
Places Full USA state name us_state_name_full State water area rank us_state_water_area_rank
Places Full USA state name us_state_name_full State water area rank us_state_water_area (KM)
Phone numbers Country name country_name Intenational phone prefix phone_prefix
Phone numbers Intenational phone prefix phone_prefix Country name country_name
Units - Tempreture Celsius celsius Farenheit farenheit
Units - Tempreture Celsius celsius Kelvin kelvin
Units - Tempreture Farenheit farenheit Celsius celsius
Units - Tempreture Farenheit farenheit Kelvin kelvin
Units - Tempreture Kelvin kelvin Celsius celsius
Units - Tempreture Kelvin kelvin Farenheit farenheit



Installing

To install Hoopoe, run the following in your virtualenv:

$ pip install hoopoe

Developing Hoopoe

To install Hoopoe, along with the tools you need to develop and run tests, run the following in your virtualenv:

$ pip install -e .[dev]

Dependencies

Dev dependencies (only for contributers)

Licence

MIT License

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

hoopoe-0.0.11.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file hoopoe-0.0.11.tar.gz.

File metadata

  • Download URL: hoopoe-0.0.11.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.6

File hashes

Hashes for hoopoe-0.0.11.tar.gz
Algorithm Hash digest
SHA256 bef4b883f5cfcc31f0841b277b72047b3936850994389c497b23e0238dd6789d
MD5 abbfac24f8058973bf76b45db5376abf
BLAKE2b-256 a7373c98ed9246a583a46cfc61e14c3ff1dba4b402c284e2720f4a4a8f2e6a44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page