csvblend-0.1.0
توضیحات
Join or merge multiple CSVs.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | csvblend-0.1.0 |
| نام | csvblend |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Raymond Wanyoike |
| ایمیل نویسنده | raymond.wanyoike@gmail.com |
| آدرس صفحه اصلی | https://github.com/rwanyoike/csvblend |
| آدرس اینترنتی | https://pypi.org/project/csvblend/ |
| مجوز | MIT |
# csvblend: Python CSV Merge Library
[](https://travis-ci.org/rwanyoike/csvblend)
[](https://codecov.io/gh/rwanyoike/csvblend)
[](LICENSE)
[](https://pypi.python.org/pypi/csvblend)
[](https://github.com/psf/black)
> Join or merge multiple CSVs.
csvblend is a _memory constant_ Python library to merge multiple CSVs based on a list of columns.
NOTE: csvblend requires SQLite version 3.24.0 (2018-06-04) or better: `python -c 'import sqlite3; print(sqlite3.sqlite_version)'`
Basic merge usage:
```python
>>> from csvblend import MergeFiles
>>> columns = ["a", "b", "c"]
>>> indexes = ["a"]
>>> with MergeFiles(columns, indexes) as mf:
... mf.merge(open(csvfile1))
... mf.merge(open(csvfile2))
... mf.merge(open(csvfile3))
... for row in mf.rows():
... print(row)
```
[Features](#features) | [Installation](#installation) | [Usage](#usage) | [Contributing](#contributing) | [License](#license)
## Features
- [SQLite](https://www.sqlite.org) (RDBMS) under the hood.
- Affected row count (created or updated) - useful to show changes between CSVs.
- No external dependencies.
csvblend officially supports Python 3.6+.
## Installation
To install csvblend, simply run:
```shell
$ pip install -U csvblend
✨🖇✨
```
## Usage
For documentation, see [`./docs/README.md`](./docs/README.md).
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
## License
This project is licensed under the [MIT License](./LICENSE).
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl csvblend-0.1.0:
pip install csvblend-0.1.0.whl
نصب پکیج tar.gz csvblend-0.1.0:
pip install csvblend-0.1.0.tar.gz