-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated docstrings for API reference
- Loading branch information
1 parent
a75677c
commit 6b00f4c
Showing
6 changed files
with
117 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
"""An api and cli for doing common web development tasks | ||
Goals | ||
----- | ||
This project has several goals: | ||
1. Provide cross-platform implementations of functions (where possible) | ||
2. Serve as a repository of general knowledge to share solutions to issues with people | ||
3. Give people access to source code to learn how the functions work and just pull what's needed | ||
4. Provide a useful API for well developed functions with error catching and testing for commonly annoying situations | ||
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 . ``` | ||
Modules | ||
------- | ||
### domains | ||
A module for dealing with getting domain information such as: | ||
- If a domain is available | ||
- Who a domain is registered with | ||
- Other domain details such as, creation_date, name_servers etc. | ||
### redirects | ||
Provides a function for tracing redirects | ||
### ssl_utilities | ||
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 | ||
Provides functionality for working with YouTube videos such as: | ||
- Downloading youtube videos | ||
- Pulling video metadata | ||
Notes | ||
----- | ||
- When using the domain module if ```whois``` is not installed, the package/executable will be installed | ||
- You should use an FQDN for any ```ssl_utilties``` or ```domains``` functions, so something like https://www.google.ca becomes google.ca | ||
""" | ||
|
||
|
||
__pdoc__ = {"sws.cli": False} # Ignore the CLI in the API docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters