Skip to main content

Simple file handling utilities for Python

Project description

fileutils

A simple and practical Python utility package for common file operations.

Features

  • Read files
  • Write files
  • Append to files
  • Check file existence
  • Count number of lines in a file

Installation

pip install fileutils

Usage

from fileutils import write_file, read_file, line_count

write_file("example.txt", "Hello\nWorld") print(read_file("example.txt")) print(line_count("example.txt"))

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

fileutils_nandu-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

fileutils_nandu-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file fileutils_nandu-0.1.1.tar.gz.

File metadata

  • Download URL: fileutils_nandu-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for fileutils_nandu-0.1.1.tar.gz
Algorithm Hash digest
SHA256 55f998df3b91d19c8049cf7eebba23c35e77e6a1a5c52ccc405b057f43a6d99d
MD5 35eb0af8c25f19884b120c94eb411c93
BLAKE2b-256 d06469a2f7608d84396f0127297d19ea290f5bbff821d41850acb87b3b70b6dc

See more details on using hashes here.

File details

Details for the file fileutils_nandu-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fileutils_nandu-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a4a6f1bdd7d35cc094b6c1bd3e799037e169532df562b0b55a3a69a3ef7fc06
MD5 e0e903f38418d9e280ddc05a5f3bf529
BLAKE2b-256 b3e8f9d14f5c33cda44f9ed8e3dd99377006a0d9feec9ff05674a89d0c3a0141

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