Skip to main content

Плагин для гибкой настройки Excel документов.

Project description

ExcelPlugin

Python Version License PyPI Version

Features

  • 🎨 Advanced cell styling (fonts, borders, alignment)
  • 📊 Seamless pandas DataFrames integration
  • 🔄 Excel template processing
  • 📈 Batch operations support
  • 🖥️ CLI interface for quick operations

Installation

pip install ExcelPlugin

Quick Start

from ExcelPlugin import ExcelStyler, PandasExcelManager

# Create styled workbook
styler = ExcelStyler()
workbook = styler.create_workbook()
sheet = styler.add_sheet(workbook, "Report")

# Apply styles
styler.apply_style(sheet['A1'], 
                 font=styler.font(bold=True, color="FF0000"),
                 fill=styler.fill(patternType="solid", fgColor="00FF00"))

# Save
styler.save(workbook, "report.xlsx")

# Pandas integration
manager = PandasExcelManager()
df = manager.read_excel("data.xlsx")
manager.write_with_styles(df, "output.xlsx", styler)

CLI Usage

# Apply template styles
excel-plugin apply-styles --input data.xlsx --template styles.json --output styled.xlsx

# Convert CSV to styled Excel
excel-plugin csv2xlsx data.csv --output report.xlsx

Documentation

Full documentation available at GitHub Wiki

Contributing

Pull requests are welcome! See CONTRIBUTING.md for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

excelplugin-0.1.6.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ExcelPlugin-0.1.6-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file excelplugin-0.1.6.tar.gz.

File metadata

  • Download URL: excelplugin-0.1.6.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for excelplugin-0.1.6.tar.gz
Algorithm Hash digest
SHA256 65f41ee3855c387220d6d819a50231ba5025e41ea5c518c06600a5b619132f4e
MD5 c3432e04488d669bd5c37fdc0104a313
BLAKE2b-256 3e3842d5017eef6c37d5d20330a034375580fab06d89b919e9aa8a6e72f24a19

See more details on using hashes here.

File details

Details for the file ExcelPlugin-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: ExcelPlugin-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for ExcelPlugin-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b99c694ef253919cf1a34c881f2a6922bfb4233a08f0a63c289a1c8711e4247c
MD5 e31837eaac5bd472efda310f6bb8abd0
BLAKE2b-256 b6477b87c1105b7ae5db25c26f80fe544b8bd4d074de0bc2452e236d63666a3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page