Skip to main content

A lightweight and fast Python API for simplifying file operations

Project description

pyfastfile

A lightweight Python library for easy-to-use operations.

Installation

pip install pyfastfile

Usage

Main Functions

Function Name Description Arguments Returns
overwrite() Overwrites a file with given content. path:str, data:str,encoding:str None
append() Appends data to the end of a file. path:str, data:str None
read() Reads entire file content as string. path:str str
readlines() Returns file lines as a list. path:str, newline:bool list
getline() Returns a specific line from file. path:str, line:int,newline:bool str
exists() Checks if file exists. path:str bool
find() Returns lines containing target text. path:str,data:str list[str]
find_num() Returns line numbers matching target text. path:str,data:str list[int]

Utility Functions

Function Name Description Arguments Returns
destroynewline() Removes newline characters from text. data:str str

Project Repo GithubProject Repo PyPI

Author Github ProfileAuthor PyPI Profile

--Batuhan Şenol

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

pyfastfile-0.1.5.post5.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

pyfastfile-0.1.5.post5-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file pyfastfile-0.1.5.post5.tar.gz.

File metadata

  • Download URL: pyfastfile-0.1.5.post5.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for pyfastfile-0.1.5.post5.tar.gz
Algorithm Hash digest
SHA256 5642771cf5f62287ee65c1ec4133210f160e973d4f5dc9f24015ae646f5f2b82
MD5 33aaf00e60bc3e861bf85848b4a8fb51
BLAKE2b-256 ab5f5d2b269bb44d4806c45e47320ca97da391bcf23b1e8cafe89088108940c9

See more details on using hashes here.

File details

Details for the file pyfastfile-0.1.5.post5-py3-none-any.whl.

File metadata

File hashes

Hashes for pyfastfile-0.1.5.post5-py3-none-any.whl
Algorithm Hash digest
SHA256 4055b2690c9116b962ea996d7619b6ad408b6c2cbbdf7cd24eca76397702a0de
MD5 b805d8892db27f524bf06d79fc6d300d
BLAKE2b-256 5624d43291af03c01787a493017fc890cd2db69708434bf7d68de0513cdecc95

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