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")

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.post2.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.post2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfastfile-0.1.5.post2.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.post2.tar.gz
Algorithm Hash digest
SHA256 7e2dd8f714fb43c8a1c0f3f48d7aa51a623e7a5647613249739f050465246816
MD5 757dbcdb05855af66df0113c58a8b750
BLAKE2b-256 3898c4675de59ee8ec897b4d561d2f684d335a6547127a8a1b6823f9eaacf67a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfastfile-0.1.5.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 d218605c45d0868db410066f52c0a18c97fe7d5871ec0a50ed535314dd4c7420
MD5 5d8d63867021753583f261cd9bf9224c
BLAKE2b-256 bfc4e3ec90556474c42fbd8b3a257aecebe0f92008bbaa5587abddbed98252bd

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