semvec/pypi-packages huggingface dataset:
drepr 2.11.2
Data Representation Language for Reading Heterogeneous Datasets
Requires Python: >=3.8

<h1 align="center">D-REPR</h1>

<div align="center">

![PyPI](https://img.shields.io/pypi/v/drepr)
![Python](https://img.shields.io/badge/python-v3.6+-blue.svg)
[![Build Status](https://travis-ci.org/usc-isi-i2/d-repr.svg?branch=master)](https://travis-ci.org/usc-isi-i2/d-repr)
[![GitHub Issues](https://img.shields.io/github/issues/usc-isi-i2/d-repr.svg)](https://github.com/usc-isi-i2/d-repr/issues)
![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)

</div>

Dataset Representation Language for Reading Heterogeneous Datasets to RDF or JSON. The original dataset can be in different formats (e.g., JSON, CSV, Spreadsheets, etc), layouts (e.g., relational tables, matrix tables, etc), and can contain multiple files (e.g., one file contains data and another file contains data definitions or linked entities).

## Table of Contents

- [Installation](#installation)
- [Example](#docs-and-examples)
- [Contributing](#contributing)
<!-- - [Support](#support) -->

## Installation

From PyPi: `pip install drepr`

If you need to process netCDF or fiona, install `pip install drepr[fiona,netcdf]`. Installing these libraries requires you to have netcdf and gdal preinstalled and configured in your system.

If you want to install from source or have trouble during installation, please look in the Wiki [Installation](https://github.com/usc-isi-i2/d-repr/wiki/Installation)

## How D-REPR works

There are four steps in D-REPR to model a dataset:

1. Define resources: a resource can be a physical file in CSV, JSON format. A dataset may have multiple resources such as one main CSV file and a data-definition dictionary in a JSON file.
2. Define attributes: each attribute denotes values that belong to a group. For example, in a relational table, each column is an attribute.
3. Define alignments between attributes: a method to get a value of an attribute from a value of a corresponding attribute. The common methods are accessing by index and by value. For example, in a relational table of products, given a product id, we can retrieve the corresponding product name in the same row (by index). This step essentially defines the layout of the dataset.
4. Define a semantic model: given each attribute a type and relationships between attributes.

## Docs and Examples

Please see the paper [D-REPR: A Language for Describing and Mapping Diversely-Structured Data Sources to RDF](/docs/paper.pdf) and the [slides](/docs/slides.pdf).

The example datasets can be found in the [example folder](/examples).

## Testing

Testing rust package: `cargo test --no-default-features --features pyo3/auto-initialize`

## Contributing

Please read the Wiki [Contributing](https://github.com/usc-isi-i2/d-repr/wiki/Contributing) for details on our code of conduct, how to setup the development environment and the process for submitting pull requests to us.
censaurus 0.1.1.5
A comprehensive, feature-rich, and user-oriented Python package that wraps the U.S. Census Bureau's Data and Geographic APIs
Requires Python: >=3.7

Censaurus
=========

|version_badge| 
|docs|

|logo|

Not just another Census data tool. *Seriously.*

``censaurus`` is a comprehensive, feature-rich, and user-oriented Python package that wraps the U.S. Census Bureau's Data and Geographic APIs.

Documentation
-------------

Check out the ``censaurus`` `documentation <https://censaurus.readthedocs.io/en/latest/index.html>`_. There you'll find an `introduction <https://censaurus.readthedocs.io/en/latest/introduction.html>`_ to the package, a `walkthrough <https://censaurus.readthedocs.io/en/latest/tutorial.html>`_ of a ``censaurus`` workflow, and full `API reference <https://censaurus.readthedocs.io/en/latest/api.html>`_.

Installation
------------

``censaurus`` is available on the `Python Package Index <https://pypi.org/project/censaurus/>`_, so it can be installed by running the following in the command line:

.. code-block::
   
   pip install censaurus

Get Involved
------------

All contributions are welcomed! Please feel free to submit a `pull request <https://github.com/singerep/censaurus/pulls>`_ or point out an `issue <https://github.com/singerep/censaurus/issues>`_.


.. |docs| image:: https://readthedocs.org/projects/censaurus/badge/?version=latest
    :alt: Documentation Status
    :scale: 100%
    :target: https://docs.readthedocs.io/en/latest/?badge=latest

.. |logo| image:: https://raw.githubusercontent.com/singerep/censaurus/main/docs/source/censaurus_logo.png
    :alt: censaurus logo

.. |version_badge| image:: https://badge.fury.io/py/censaurus.svg
    :target: https://badge.fury.io/py/censaurus