htreader
Installation
pip install htreader
from htreader.htreader import (
ReadText,
WriteText,
UpdateText,
DeleteFiles,
CreateFiles
)
Usage
To open and read content of files: ReadText()
from htreader.htreader import ReadText
files = './example.txt'
read = ReadText(files)
print(read)
"""You can try with this::"""
ReadText(file_name = files##)
To create a new file and write on it: CreateFiles()
from htreader.htreader import ReadText, WriteText, UpdateText,DeleteFiles, CreateFiles
files = './example.txt'
use = CreateFiles(
file_name=files,
create="this is the content of files"
)
To write files: WriteText()
from htreader.htreader import ReadText, WriteText
files = './example.txt'
use = WriteText(
file_name = files,
contents = "i am prood of me\n i have knowledge."
)
print(files)
To Update files content: UpdateText()
from htreader.htreader import ReadText, WriteText, UpdateText
files = './example.txt'
text = "\n this is a new text for updated"
use = UpdateText(
file_name=files,
update_contents=text
)
print(use)
To Delete files: DeleteFiles()
from htreader.htreader import ReadText, WriteText, UpdateText,DeleteFiles
files = './example.txt'
use = DeleteFiles(file_name=files)
print(use)
Metadata
Release files for htreader 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| htreader-1.0.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| htreader-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / htreader-1.0.0.tar.gz
| Download URL | htreader-1.0.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab8f05f59eab6e0c293630014939d45aa0a6e12205109953260200b361ffaa94
|
|
BLAKE2b-256 checksum How to use checksums |
e1e9c1b72f2fbb6ac4f817a9f6dc0f978d1992e1d5308fc592761e1f4c33a7f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / htreader-1.0.0-py3-none-any.whl
| Download URL | htreader-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85826481248e57f03f7ae9b67caa0f219e4e6801eb0350ea13f9e124ad8458ed
|
|
BLAKE2b-256 checksum How to use checksums |
7a7711870c5e74aa522d4572d6e69f9864bfa6e6c2e7046fec3f918680bf76fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|