Python Package to convert dict to xlsx
Project description
Dict2XLSX
Dict2XLSX is a Python package that allows you to convert a dictionary into an XLSX (Excel) file.
Introduction
Installation
You can install Dict2XLSX using pip:
pip install dict2xlsx
Features
Dictionary to XLSX Conversion
: Convert a dictionary into an XLSX file with ease.Columnar Organization
: Automatically organizes dictionary * key-value pairs into separate columns in the XLSX file.Data Integrity
: Maintains the order of keys and values from the original dictionary during the conversion process.Simple Integration
: Easy-to-use API allows for seamless integration into existing Python projects.Customization Options
: Customize the output file name, sheet name, and formatting options.
Usage
from dict2xlsx import Dict2XLSX
data = [
{'first_name': 'Satyam', 'last_name': 'Lohiya', 'age': '21'},
{'first_name': 'Shivam', 'age': '28'},
{'first_name': 'Rahul', 'last_name': 'Sharma'},
]
xlsx_obj = Dict2XLSX(data)
xlsx_obj.save('output.xlsx')
Dependencies
Dict2XLSX has the following dependencies:
- openpyxl: A Python library for reading and writing Excel (XLSX) files.
Contributing
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository.
To contribute to Dict2XLSX, follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Implement your changes.
- Write tests to ensure the correctness of your code (if applicable).
- Run the test suite to make sure all tests pass.
- Submit a pull request.
Project details
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
dict2xlsx-0.0.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for dict2xlsx-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ed8914e3c3204bcc7088e4bc89c29c8f95a670b54bce44a469b9c348fde077d |
|
MD5 | cdb6f7a75a94da2efad85661a4ddda09 |
|
BLAKE2b-256 | 75e5377cde9f11a20df3df6c38aa68c2938ac4ed2d56593ed69230251688004e |