reader library for csv files.
Project description
Introduction
Welcome to my small python project.
This library just provides some functions to read from csv files.
I developed this library for fun.
If anyone wants to contribute, feel free to contact me or open an issue.
This library uses the built-in csv module
Installation
Type this into your command prompt:
pip install csv-reader
usage
at the top of your py files:
import reader
in your code:
for line in reader.openWithName("example.csv"):
print(",".join(line))
Documentation
openWithName(name: str) -> Iterable
opens a csv file with the given name and returns the reader object.
name - the name of the csv file.
openWithFile(file: TextIO) -> Iterable
returns a reader object from an already opened file.
file - the file object.
readFromName(name: str) -> Iterator
opens a csv file and returns an iterator for that file.
name - the name of the csv file.
readFromFile(file: TextIO) -> Iterator
returns an iterator from a given file object.
file - the file object.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file csv_reader-1.2.0b0-py3-none-any.whl.
File metadata
- Download URL: csv_reader-1.2.0b0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3a3541e254a10c7cc933fea23b71724b589c355fa61f00f4e4c66a2abf8e0b8
|
|
| MD5 |
3577610a0c7abe435427516e1456e782
|
|
| BLAKE2b-256 |
b2654199bcb077bff40abbe69e3ec2e2b6cbb1c3ddec7c3b554451e9bf4c1626
|