dataflows-ckan-0.3.5
توضیحات
CKAN integration for Dataflows.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dataflows-ckan-0.3.5 |
| نام | dataflows-ckan |
| نسخه کتابخانه | 0.3.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Paul Walsh |
| ایمیل نویسنده | paul@walsh.co.il |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dataflows-ckan/ |
| مجوز | MIT |
# dataflows-ckan
Dataflows processors to work with CKAN.
## Features
- `dump_to_ckan` processor
## Contents
<!--TOC-->
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Examples](#examples)
- [Documentation](#documentation)
- [dump_to_s3](#dump_to_s3)
- [Contributing](#contributing)
- [Changelog](#changelog)
<!--TOC-->
## Getting Started
### Installation
The package use semantic versioning. It means that major versions could include breaking changes. It's recommended to specify `package` version range in your `setup/requirements` file e.g. `package>=1.0,<2.0`.
```bash
$ pip install dataflows-ckan
```
### Examples
These processors have to be used as a part of data flow. For example:
```python
flow = Flow(
load('data/data.csv'),
dump_to_ckan(
host,
api_key,
owner_org,
overwrite_existing_data=True,
push_to_datastore=False,
push_to_datastore_method='insert',
**options,
),
)
flow.process()
```
## Documentation
### dump_to_ckan
Saves the DataPackage to a CKAN instance.
## Contributing
Create a virtual environment and install [Poetry](https://python-poetry.org/).
Then install the package in editable mode:
```
$ make install
```
Run the tests:
```
$ make test
```
Format your code:
```
$ make format
```
## Changelog
### 0.2.0
- Full port to dataflows, and some refactoring, with a basic integration test.
#### 0.1.0
- an initial port from https://github.com/frictionlessdata/datapackage-pipelines-ckan based on the great work of @brew and @amercader
نیازمندی
| مقدار | نام |
|---|---|
| >=0.1.0,<0.2.0 | ckan-datapackage-tools |
| >=1.1.1,<2.0.0 | tableschema-ckan-datastore |
| >=1.15.2,<2.0.0 | datapackage |
| >=0.3.3,<0.4.0 | dataflows |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl dataflows-ckan-0.3.5:
pip install dataflows-ckan-0.3.5.whl
نصب پکیج tar.gz dataflows-ckan-0.3.5:
pip install dataflows-ckan-0.3.5.tar.gz