Skip to main content

The file processing collection for Python

Project description

This is a powerful package for manipulatinf files. It contains all the attribute and functions in model sky-txt. So model sky-txt won't be updated from now on.

#Warnings This packages was called PFI before version 0.0.2. And now it is called PFL.

#History

0.0.1 (2024-11-09}

I have written packages since 2022.And I uplowded txt in Feb,2023. This time I add more files in to this model.


0.0.2 (2024-11-16}

Fixed a major issue with incompleted packages.


0.0.3 (2024-11-16锝

Fixed a major issue with syntax errors packages.

How to use PFL

  1. Install PFL
pip install PythonFileLib
  1. You're done! Now all there is to do is read the documentation.

Documentation

  1. Load Package
import PFL

dir(PFL)
  1. get files(examples)
from PFL import file
from file import file
f = file.file('C:/123.py',file.AP)
f.change_extension('.txt')  #it would become 123.txt
f.movefile('D:/')
  1. Get text in .txt files
from PFL import file
from file import txt

f = txt.txt('C:/123.txt')
f.write("123")
f.write("456")
print(f.read_first_line)  #return 123
f.change_txt_line(2,'123')  #line2 will become 123
  1. Read .csv files
from PFL import file
from file import csv

f = csv.csv('C:/123.csv')
f.read()

Functions and classes are updating......

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

pythonfilelib-0.0.3.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

PythonFileLib-0.0.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file pythonfilelib-0.0.3.tar.gz.

File metadata

  • Download URL: pythonfilelib-0.0.3.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for pythonfilelib-0.0.3.tar.gz
Algorithm Hash digest
SHA256 693df5a1f695a616c38281872e31d6b77335691751122b6e077ac9d8e05d5072
MD5 bc164c9fa8292b97e3d94858ea01c28c
BLAKE2b-256 acf0d48df7cdb5aa830ee7ad32d00d64872febeda99ab676a78c559bb00fb508

See more details on using hashes here.

File details

Details for the file PythonFileLib-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: PythonFileLib-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for PythonFileLib-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6e792aa9f74d34c84780905982d30ca374557091a40df1a9498c6d0d1e8bbd36
MD5 a0042fde5fb7bff2aecd16f9cf06d6dc
BLAKE2b-256 66a9e21dc265ce013da4890fee5a31a5b69560f89592672ba95f7d551ca4aded

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