Spyll is an Open-Source Python package that is aimed at making txt file management easier. It was made in python 3.7 and should work on all versions higher than 3.0.
Project description
Spyll 0.11
Welcome
Spyll is an Open-Source Python package that is aimed at making txt file management easier. It was made in python 3.7 and should work on all versions higher than 3.0.
Help commands
- spyll.help()
- spyll.changelog()
Features
spyll.write(file, text, split)
Writes to a specified text file with optional split which is only available for tuples and lists.
Example
```python import spyllspyll.write(file="./folder/Hello_World.txt",text="This is a new text file!") spyll.write(file="./folder/Goodbye_World.txt", text=["First Line", "Second Line", "Third Line"], split="\n")
<h2>spyll.read(file)</h2>
<p>Simply reads text file to string</p>
<h3> Example </h3>
```python
import spyll
text = spyll.read(file="./folder/Hello_World.txt")
print(text)
spyll.search(file, text)
Checks to see if the file contains the specified value
Example
```python import spyllif spyll.search(file="./folder/Hello_World.txt", "username"): print("Contains Username!")
<h2>spyll.count(file, text)</h2>
<p>Counts the amount of time a value appears in a text file</p>
<h3> Example </h3>
```python
import spyll
value = spyll.count(file="./folder/romeo_and_juliet.txt", "?")
print(f"There are {value} questions in Romeo and Juliet!")
To do
- Appending files
- Creating files
- Deleting files
- Renaming files
- Add to website
- Get file information
- Copy/Paste file
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spyll-0.11.tar.gz.
File metadata
- Download URL: spyll-0.11.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d653f389ba785ee69088335a479a2cfb720cb53aa1735dbf5748ed8afabb006
|
|
| MD5 |
75a5bcb127943ca30dcb41a1e231a8d2
|
|
| BLAKE2b-256 |
53095c8c415a2cfe4b8ca1b700c09114a3c7e594d0ee490f351755a5ddc31f10
|
File details
Details for the file spyll-0.11-py3-none-any.whl.
File metadata
- Download URL: spyll-0.11-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83ea5d8192bfd11857ac4495509db4a0ae87a47d386dd700b7fdaef916bf3ee1
|
|
| MD5 |
6fcf42018a93dbf5416f5066cd4ad420
|
|
| BLAKE2b-256 |
fbf8e81586a96e84aba8a6c12e96b1c9ab938b94bfd2030c553ce3ca733f2e28
|