Skip to main content

A utility for text manipulation, compression, and task management.

Project description

SBS-Utility

PyPI version License

A versatile command-line utility for text manipulation, compression, and task management.

Features

  • Text manipulation: Count words, lines, characters; convert to lowercase/uppercase; replace words; and more.
  • Compression: Create ZIP or TAR archives with optional gzip compression.
  • Todo List Manager: Add, remove, and list tasks in a todo list.

Installation

You can install the utility using pip:

pip install SBS-Utility

Usage

Text Manipulation Mode

SBS-Utility text --input input.txt --words
SBS-Utility text --input input.txt --lines
SBS-Utility text --input input.txt --characters
SBS-Utility text --input input.txt --lower
SBS-Utility text --input input.txt --upper
SBS-Utility text --input input.txt --count-word target_word
SBS-Utility text --input input.txt --replace old_word new_word

Compression Mode

SBS-Utility compress

Todo List Manager Mode

SBS-Utility todo add "Task description"
SBS-Utility todo remove task_index
SBS-Utility todo list

Example

  • Count words in a text file:
SBS-Utility text --input sample.txt --words
  • Create a compressed ZIP archive:
SBS-Utility compress
  • Add a task to the todo list:
SBS-Utility todo add "Complete project proposal"

LICENSE

This project is licensed under the MIT License - see the LICENSE file for details

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

SBS-Utility-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

SBS_Utility-1.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file SBS-Utility-1.0.0.tar.gz.

File metadata

  • Download URL: SBS-Utility-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for SBS-Utility-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eb6d1de2797741e2f5547eeade6644183f87ab33048325316a6bbed5857cfe5e
MD5 51247d592c115c5234de5542426818c8
BLAKE2b-256 778cbec174839fb4ff85dae53339c0202b0c31775b82a344673c8578b916913e

See more details on using hashes here.

File details

Details for the file SBS_Utility-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: SBS_Utility-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for SBS_Utility-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd9ca3c797c23aac9409dc949e76cd4a3c82ff46e8f7abb8814c029482d0b1af
MD5 0df23eb5725e4c7ce44ef1a85d91b14a
BLAKE2b-256 0d3529f8f03ac5cc1af177a8cf31205b8a3093cc8895edf1dc866ca98bab3d13

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