Metadata-Version: 2.1
Name: PythonFileLib
Version: 0.0.2
Summary: The file processing collection for Python
Author: Sky Yang
Author-email: skyprotecter0911@foxmail.com
Platform: Linux
Platform: Windows
Platform: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=2.0.0
Requires-Dist: pandas>=1.22.0
Requires-Dist: setuptools>=61.0

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.

#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.

# How to use PFI

1. Install PFI
```bash
pip install PythonFileLib
```

2. You're done! Now all there is to do is read the documentation.

# Documentation



1. Load Package
```python
import PFI

dir(PFI)
```

2. get files(examples)
```python
from PFI 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:/')
```

3. Get text in .txt files
```python
from PFI 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
```

4. Read .csv files
```python
from PFI import file
from file import csv

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

# Functions and classes are updating......


