Skip to main content

LessLine

Less line to read&write text file

Requirements

  • Python >= 3.6

Installation

$ pip install lessline

Example

from lessline.text_file import read, write

file = 'demo.txt'
text = 'Hello word!\nThis is lessline!'
write(text, file)

text_new = read(file)
print(len(text_new), text_new)

0.1.0 (2022-10-22)

  • Implement read&write text file

Release files for lessline 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lessline 0.1.0
File Size Uploaded
lessline-0.1.0.tar.gz 2.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for lessline 0.1.0
File Interpreter ABI Platform
lessline-0.1.0-py3-none-any.whl Python 3 none any Details
lessline-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.8 kB

Release files / lessline-0.1.0.tar.gz

Download URL lessline-0.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1a417846c35cc7a866668a6d3464d268b0001aaef9e118cd3006bc271347c6a7
BLAKE2b-256 checksum
How to use checksums
c5711448d79dd2c00dea67c7028d8430af34ee61f70898aded330cb719f77755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.8

Release files / lessline-0.1.0-py3-none-any.whl

Download URL lessline-0.1.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1eac54b381cd982f6f3ccfb1fc4da22ed4fa72331f36a82d0060cdeb0079b811
BLAKE2b-256 checksum
How to use checksums
0ddc327863ab2a1204b56bdc2463b2632f41d94cc3b6eb3047082bc8190b952f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.8

Release files / lessline-0.1.0-py2.py3-none-any.whl

Download URL lessline-0.1.0-py2.py3-none-any.whl
Size 4.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a4ac9262066a9ce15ac8d463c053828169bdc9b22e37eb53cd001b1898a657b3
BLAKE2b-256 checksum
How to use checksums
e81831ac09dfe96ad76098737aefae72d98ef265ba76fb82f47d2dad637cf558
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page