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.4.post2.tar.gz (3.2 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.4.post2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfastfile-0.1.4.post2.tar.gz
  • Upload date:
  • Size: 3.2 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.4.post2.tar.gz
Algorithm Hash digest
SHA256 41f4747ad1c36d5eae9bf5df9ffefdd8d34036e7977e1225472ac40401f4603a
MD5 e492312007ec601a97ac870f1dbd687b
BLAKE2b-256 12c92a0d2d7f4f58066748accd415bf3aaf9dd8fd628042668b018a84ff22bd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfastfile-0.1.4.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 037479ff4aa08b8b49515685bdc3ea30acb22f3d1e5b3bc603b407295a124a0e
MD5 a97593792ea499e3ebebc9b87f75fbfe
BLAKE2b-256 879d9ec3e3e0b9b06c8ba56a0a04688cf903763c390f72323185cdcc3a300703

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