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

import pyfastfile as pf

# === Main Functions

pf.overwrite("test.txt", "Hello")
pf.append("test.txt", "World")
pf.read("test.txt")
pf.readlines("test.txt", newline=True)
pf.getline("test.txt", line=0, newline=True)
pf.exists("test.txt")
pf.find("test.txt", "testdata")
pf.find_num("test.txt", "testdata") # Return Index

# === Utility Functions ===

pf.destroynewline("test")

Optional

    encoding="utf-8"

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.post3.tar.gz (3.8 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.post3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfastfile-0.1.5.post3.tar.gz
  • Upload date:
  • Size: 3.8 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.post3.tar.gz
Algorithm Hash digest
SHA256 74df416a639b085ab45e691990eb12b66e8a5df0637fc4aadac11e225e08ba99
MD5 dfe08cb9f13dc6d781531c6dfa21d1d1
BLAKE2b-256 862d330dc7c44638995248f93dc08bbb73dbb270853e16ebdf5fb1a669dfee15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfastfile-0.1.5.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 e968ca16f3da9d573a246ded6f9c95a322c9c29f93c1fae4d1dae1cafcd26f36
MD5 bd7be5d2240844f48ebc0f7e3fdbf300
BLAKE2b-256 38f847e3a6d6be65febe23d19147bbcf24df733d58336d7ee52ca9081c246ee7

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