Library for managing Excel sheets with predefined structures
Project description
ExcelSync
A Python library for managing Excel sheets with predefined structures and validations.
Features
- Define and validate Excel sheet layouts
- Check Excel sheet structure integrity
- Extract sheet structure to external file format
- Compare Excel sheet structure against stored representation
- Convert Excel content to YAML with schema information
Installation
pip install excelsync
Usage
from excelsync import ExcelSync
# Load an Excel file
excel = ExcelSync("your_excel_file.xlsx")
# Validate the structure
is_valid, issues = excel.validate_structure()
# Export structure to file
excel.export_structure("structure.json")
# Compare with stored structure
is_matching = excel.compare_structure("structure.json")
# Export to YAML with schema
excel.export_to_yaml("output.yaml")
Development
Setup your development environment:
# Clone the repository
git clone https://github.com/jseitter/excelsync.git
cd excelsync
# Create a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest
License
MIT
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
excelsync-0.1.0.tar.gz
(8.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file excelsync-0.1.0.tar.gz.
File metadata
- Download URL: excelsync-0.1.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d1625f7a9af883889dfbac6bbc885f1c5b50844f79d0d0f0a1f375c359cb650
|
|
| MD5 |
c63db21510f0643fb0f74b352bfc105a
|
|
| BLAKE2b-256 |
f54f7a25afb651b3e85cd1c03a95f3ced227b28017ae230bd73f86d713affe0e
|
File details
Details for the file excelsync-0.1.0-py3-none-any.whl.
File metadata
- Download URL: excelsync-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
726a75bd21c627d236cca1dee82e391ecedd72bc24f99f24c473e81de8eade66
|
|
| MD5 |
704434ced8190c306f1edf4d74de6020
|
|
| BLAKE2b-256 |
f86f848a7ca950a8373004acaedc8e1f9755f93c26377f6c37f119ce948ed9c8
|