csvx-0.1.1459403998
توضیحات
csvx: painless csv
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | csvx-0.1.1459403998 |
| نام | csvx |
| نسخه کتابخانه | 0.1.1459403998 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Robert Lechte |
| ایمیل نویسنده | robertlechte@gmail.com |
| آدرس صفحه اصلی | UNKNOWN |
| آدرس اینترنتی | https://pypi.org/project/csvx/ |
| مجوز | UNKNOWN |
csvx: painless csv
==================
A csv library that supports 2 and 3, does the unicode thing properly, and lets you read rows as ordered dictionaries so that the ordering stays correct by default.
Which makes things pretty easy.
Example. You've got a csv you want to sanitize by removing a column of passwords.
Here's how that looks.
.. code-block:: python
import csvx
with csvx.OrderedDictReader('unsanitized.csv') as csv_in:
rows = list(csv_in)
for r in rows:
del r['password']
with csvx.DictWriter('sanitized.csv') as csv_out:
csv_out.write_dicts(rows)
Documentation
-------------
Full documentation is at `https://csvx.readthedocs.org <https://csvx.readthedocs.org>`_.
Install
-------
Simply install with `pip <https://pip.pypa.io>`_::
$ pip install csvx
نحوه نصب
نصب پکیج whl csvx-0.1.1459403998:
pip install csvx-0.1.1459403998.whl
نصب پکیج tar.gz csvx-0.1.1459403998:
pip install csvx-0.1.1459403998.tar.gz