https://github.com/descent098/sws
Super web scripts; A CLI and API for simplifying common web tasks.
https://github.com/descent098/sws
api cli comand-line-app command-line command-line-tool command-line-utility module package python python3 web web-cli
Last synced: 9 months ago
JSON representation
Super web scripts; A CLI and API for simplifying common web tasks.
- Host: GitHub
- URL: https://github.com/descent098/sws
- Owner: Descent098
- License: mit
- Created: 2020-02-04T21:04:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T00:27:37.000Z (over 3 years ago)
- Last Synced: 2025-03-11T20:52:10.044Z (10 months ago)
- Topics: api, cli, comand-line-app, command-line, command-line-tool, command-line-utility, module, package, python, python3, web, web-cli
- Language: Python
- Homepage: https://kieranwood.ca/sws/
- Size: 795 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

## Table of Contents
- [Additional Documentation](#additional-documentation)
- [What does sws do?](#what-does-sws-do)
- [Features & Roadmap](#features--roadmap)
- [Domain names](#domain-names)
- [Redirects](#redirects)
- [SSL](#ssl)
- [YouTube](#youtube)
- [DNS](#dns)
- [Roadmap](#roadmap)
- [Why should I use sws?](#why-should-i-use-sws)
- [Who is sws for?](#who-is-sws-for)
- [Quick-start](#quick-start)
- [Installation](#installation)
- [From PyPi](#from-pypi)
- [From source](#from-source)
- [Development-Contribution guide](#development-contribution-guide)
# Super Web Scripts
A command line interface, and set of scripts for common web tasks.
## Quick-start
### Installation
#### From PyPi
run ```pip install sws``` or ```sudo pip3 install sws```.
#### From source
1. Clone the github repo ([https://github.com/Descent098/sws](https://github.com/Descent098/sws))
2. cd into the 'sws' root directory (where setup.py is) and run ```pip install .``` or ```sudo pip3 install . ```
## Additional Documentation
API Documentation can be found at [https://kieranwood.ca/sws/](https://kieranwood.ca/sws/)
User Documentation for the cli can be found at [https://sws.readthedocs.io](https://sws.readthedocs.io)
## What does sws do?
`sws` is both a cli, and an API with the goal of making common web development tasks simple.
Specifically the API is designed to:
1. Be a **cross-platform** utility API
2. Give sensible high-level functions for common tasks
3. Provide useful constants such as a list of dns record types
4. Provide a set of utility classes for common tasks (such as downloads)
The CLI is designed to:
1. Provide a **cross-platform** set of tools
2. Provide a toolbox for ease of use tasks so you don't need to know dozens of commands
3. Make doing simple tasks simpler
## Features & Roadmap
### Domain names
Get information about domain names including:
- Who is the registrar
- When the domain expires
### Redirects
Get information about the trace of http redirects
### SSL
Get deails about the ssl cert of a hostname such as:
- When the cert will expire
- The issuer of the cert
- A full dict of the details of the cert
### YouTube
Allows for the download of videos as well as geting metadata
### dns
Prints a table of the DNS records for a given domain
### Roadmap
A full roadmap for each project version can be found here: https://github.com/Descent098/sws/projects
## Why should I use sws?
The best marketing pitch that I can give you is that it's easy to use, free, and open source. The project really is here so that people don't have to keep writing the same implementations of basic tasks, and can instead use a tested package that contains a ton of functionality. Additionally if you don't want to use all of sws's features, because it is MIT liscenced you can feel free to vendor functions within your own project.
## Who is sws for?
Really it can be used by anyone, but here are the most typial use cases:
- Web developers; tools provided in sws can help with debugging and validating web servers
- Devops Specialists & testers; can use sws api to automate validation that servers are running how they should be
- People learning webdev; Sometimes getting access to tooling while learning webdev can be difficult, this can be a one-stop shop for lots of functionality
- Scripters; people who are looking to use sws functionality in their own projects
## Development-Contribution guide
See [Contribution guide](https://sws.readthedocs.io/contribution-guide/) for details about helping with development.