import-me 0.2.1
pip install import-me==0.2.1
Newer version available (0.3.1)
Released:
Python tool for importing and validating data from xlsx/xls/csv files.
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: Ilya Lebedev
- Tags xlsx , csv , import
Classifiers
- Environment
- Operating System
- Programming Language
- Topic
Project description
import me
Python tool for importing and validating data from xlsx/xls/csv files.
Example
from import_me import BaseXLSXParser, Column
>>> class XLSXParser(BaseXLSXParser):
... columns = [
... Column('first_name', index=0, header='First Name'),
... Column('last_name', index=1, header='Last Name'),
... ]
>>> parser = XLSXParser(file_path=xlsx_filepath)
>>> parser()
>>> print(parser.has_errors) # False
>>> pprint(parser.cleaned_data)
[
{
'first_name': 'Ivan',
'last_name': 'Ivanov',
'row_index': 1,
},
{
'first_name': 'Petr',
'last_name': 'Petrov',
'row_index': 2,
},
]
Installation
pip install import_me
Contributing
We would love you to contribute to our project. It's simple:
- Create an issue with bug you found or proposal you have. Wait for approve from maintainer.
- Create a pull request. Make sure all checks are green.
- Fix review comments if any.
- Be awesome.
Here are useful tips:
- You can run all checks and tests with
make check
. Please do it before TravisCI does. - We use BestDoctor python styleguide.
- We respect Django CoC. Make soft, not bullshit.
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: Ilya Lebedev
- Tags xlsx , csv , import
Classifiers
- Environment
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file import_me-0.2.1.tar.gz
.
File metadata
- Download URL: import_me-0.2.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b2cbaad4c33a656c47d4833116ad4967d19c872efd13a84adec7538ee9f44c5b
|
|
MD5 |
c40ddfe28de765352591ff242fd24b15
|
|
BLAKE2b-256 |
d4a7f337e5f639744252ee16eed7fa41acea76066ba97193a2239ff56847c9b6
|
File details
Details for the file import_me-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: import_me-0.2.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
067ba658af11e69e08a1b1c1b124914cb6fc45973013d8f6620f6fd457a12b84
|
|
MD5 |
85c9061916cd637b6fb8fbd188f00914
|
|
BLAKE2b-256 |
749b72549144c4c7fb2e2e244f77bd03f47b16d5863d92578ffc4ac30be33ec1
|