Skip to main content

No project description provided

Project description

SIMPLEXL

Simplexl is a Python package which is used to create excel files dynamically using a program. This package depends on openpyxl which is native python package for creating excel.

FEATURES

  • Generated formatted excel as ouput.
  • Automatically pick the width of column based on data size of column.

Installation

pip install simplexl

How to use

The usage of simplexl is as follows

from simplexl import CreateExcel

xl = CreateExcel(
    excel_name="path/name of the excel  #  default = generate-simplexl.xlsx
)

xl.create_sheet(
    sheet_name=sheet_name,   # optional  default = sheet1
    sheet_index=sheet_index  # optional default = 0
    col_data=col_data,
    row_data=row_data
)

Example

from simplexl import CreateExcel

col_data = ['col1', 'col2']
row_data = [
    ('col1_row1', 'col2_row1'),
    ('col1_row2', 'col2_row2')
]
xl = CreateExcel()

xl.create_sheet(
    col_data=col_data,
    row_data=row_data
)

It will create a xlsx file using row and col data

License

Copyright (c) 2022 Devaraju Garigapati

This repository is licensed under the MIT license. See LICENSE 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

simplexl-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

simplexl-1.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file simplexl-1.0.1.tar.gz.

File metadata

  • Download URL: simplexl-1.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/5.15.68.1-microsoft-standard-WSL2

File hashes

Hashes for simplexl-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1b3ec98d09c4f4a5ab798e2a9467575e8c9e84b443972b056eeef6936a94e0df
MD5 6958e0ade404a9b458722379883b2bdb
BLAKE2b-256 4ef88bc299e8ed8211e19986ee7be8874cbcf25d4d17d1154443cc5ee80858d1

See more details on using hashes here.

File details

Details for the file simplexl-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: simplexl-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/5.15.68.1-microsoft-standard-WSL2

File hashes

Hashes for simplexl-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10071fca94bf88109e6095480a226896ec92476ddab15d57c71f8017039bd98d
MD5 de98957e284c6787aefe22ec0b2f50d8
BLAKE2b-256 bc606a12061f0c987cf1817ec6d1498a4a44b52c6f145d67060f8a39c9bef2b3

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