A library for working with tabular data
Project description
Tablipy
Tablipy is a Python library for working with tabular data. It provides a simple and intuitive way to create, manipulate, and print tabular data structures.
Installation
You can install Tablipy using pip:
pip install tablipy
Usage
Here's a basic example of how to use Tablipy to create a table, add data, and print it:
from tablipy.core import Tablipy
# Create an instance of Tablipy
table = Tablipy(col_headers=['Name', 'Age', 'Location'])
# Add data to the table
table.add_row(['John', '30', 'New York'])
table.add_row(['Jane', '25', 'Los Angeles'])
# Print the table
table.print()
For more detailed information and examples, check the documentation or explore the examples in the tests directory.
Features
- Create tables with specified column headers.
- Add data to the table as rows.
- Get specific columns, rows, or cells from the table.
- Set values of columns, rows, or cells.
- Print tables in a neat tabular format.
Contributing
Contributions are welcome! Feel free to submit issues and pull requests on the GitHub repository.
License
This project is licensed under the MIT License - see the LICENSE file 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
File details
Details for the file tablipy-0.1.3.tar.gz.
File metadata
- Download URL: tablipy-0.1.3.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c530d7148cfbd72036256df463ef7363f3920796f0ca89fd301e0de9e6295fdc
|
|
| MD5 |
4e5dd58b97e767b70c40954188a60c9e
|
|
| BLAKE2b-256 |
c9c6faf08d8a4cc9cf620d1562b7152ce8ab9f827d0aeec1bca68743262f1406
|