Skip to main content

Python library that provides interface for table formats such as csv, xlsx

Project description

tay

Python library that provides interface for table formats such as csv, xlsx.

Quick Start

pip install tay
from dataclasses import dataclass

import tay


@dataclass
class Entity:
    id: int
    name: str


entity = Entity(0, 'sword')
with tay.CSV('entities.csv', 'w') as sheet:
    sheet.write_header(Entity)
    sheet.write_record(entity)
import tay

with tay.CSV('entities.csv', 'r') as sheet:
    records = sheet.read(Entity)

Interfaces

Interface name File type
CSV .csv
Excel .xlsx

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

tay-0.1.0.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.

tay-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file tay-0.1.0.tar.gz.

File metadata

  • Download URL: tay-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for tay-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cdb3142fa3a65cfb9620bbd1f5a1a74f009e79c88b3f2c62cd8098096cb6d009
MD5 6fb47284d3652a300eb0d5c867824b73
BLAKE2b-256 06d8fe4cef62521f9489817c767ce0c0957fcafd7daf98b6aee6117305888c64

See more details on using hashes here.

File details

Details for the file tay-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tay-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for tay-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f48cabf2b2c9cdeaa257ca3469db91adc813fc27390ee9116369e30f41834146
MD5 88ad569284e916a8dbaa80ee2c5426f0
BLAKE2b-256 aa7e27a3fb5fadab16ad5f8034c3709b46add39f6bc6e5841021b0ebd5df3cea

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