Skip to main content

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

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

import spyll

spyll.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")

spyll.read(file)

Simply reads text file to string

Example

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

import spyll

if spyll.search(file="./folder/Hello_World.txt", "username"):
  print("Contains Username!")

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

spyll-0.12.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

spyll-0.12-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file spyll-0.12.tar.gz.

File metadata

  • Download URL: spyll-0.12.tar.gz
  • Upload date:
  • Size: 2.8 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

Hashes for spyll-0.12.tar.gz
Algorithm Hash digest
SHA256 41cc04f6e99e9833ef12254b3bcae71c4c289be0f7c9f222cee264b0f458be38
MD5 2d89b13dbc7fee55a6b12d301f35340e
BLAKE2b-256 52786b318f31dde2e4af0dc52cc2a3570c32e7a6cad27f25c98027f21eaaaec6

See more details on using hashes here.

File details

Details for the file spyll-0.12-py3-none-any.whl.

File metadata

  • Download URL: spyll-0.12-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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

Hashes for spyll-0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 1bbd6e558561349fdb9252284e3df28e3d27e8851c3aa1d8d5f1b77d1cc232bb
MD5 650b1b1e9afc4d2029dddd194eb2bc1a
BLAKE2b-256 e7462626ea5bd7539fa7a6ec4466887e1f6c17669c78c9bbf0efc944f6d5cae0

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