Skip to main content

In-Memory CSV file creator

Project description

imcsv - Fast Python In-Memory CSV file creator!

A python library built to enhancing testing

Requirements

  • Python: 3.*

Installation

Install using pip:

pip install imcsv

Usage

Provides you with an in-memory csv file

from imcsv.imcsv import generate_temp_csvfile

headers = [
        "Date",
        "Month",
        "Year",
        "Customer ID",
        "Item ID",
    ]
rows = [
    [
        "5-June-2020",
        "5",
        "2020",
        "920",
        "1380",
    ],
    [
        "4-December-2020",
        "12",
        "2020",
        "977",
        "2322",
    ],
]
temp_csvfile = generate_temp_csvfile(headers, rows)

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

imcsv-0.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

imcsv-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file imcsv-0.0.1.tar.gz.

File metadata

  • Download URL: imcsv-0.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for imcsv-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f26e45ae146aaf7e998d2469ba98e9d0793e34cd1a3c208703053a3a59a07149
MD5 b15d50bdbe301859c71452304dc4b5a3
BLAKE2b-256 35cabd29ccda2bfe1342cfa6ef3cab4599e24e3209f7c2e9eafda6005b0a5f0f

See more details on using hashes here.

File details

Details for the file imcsv-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: imcsv-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for imcsv-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f3796199d6bdb7ac6f4e9818e825f96cef9f409ab18c46241f2e095bcbafb9b
MD5 893cec69d2d446bbd1e7d3b0ffb9e0ce
BLAKE2b-256 3a508b5029acaf47b24d32321ef7ffc23a299bc9d38a7a8b579eb54bbc221768

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