https://github.com/floatingghost/python-utilities
My re-usable utils for stuff I use a lot
https://github.com/floatingghost/python-utilities
Last synced: 7 months ago
JSON representation
My re-usable utils for stuff I use a lot
- Host: GitHub
- URL: https://github.com/floatingghost/python-utilities
- Owner: FloatingGhost
- Created: 2016-03-19T05:24:56.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-24T14:03:07.000Z (about 9 years ago)
- Last Synced: 2025-07-18T16:04:21.080Z (8 months ago)
- Language: Python
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Python utils
Hannah's personal python utils repo - for anything I use a lot.
Like Machine learning stuff, or whatever else.
##Installation
```bash
$ sudo python setup.py install
```
##Modules:
* ai - Artificial Intelligence Utilities
* ngram - for models of language
* class NGram
* knn - For K-Nearest-Neighbour calculations
* class KNearest
* api - API Access to services
* chan - 4chan API
* class Board, for scraping from a specific 4chan board
* reddit - A wrapper to Praw (python reddit API)
* class Reddit
* skype - A wrapper to Skype4Py
* class Chat - an easy class to manage skype bots with
* twitter - A wrapper to Tweepy
* class Twitter - Provides a simple way to retrieve tweets
* games - Assistance with Game Dev (Not in current build)
* GUI - A wrapper to curses
* network - Client/Server Utilities, With Authorization Built in
* client - For interacting with Server
* class Client - Performs 3-way handshake with server
* server
* class Server - Wrapper to http.server, will handshake and serve POST
* encryption
* class LocalKeys - Wrapper to pyRSA, enables RSA encryption and hexlified versions
* session
* class Session - Simple tracking of a client's session
* class SecureSession - Session, but with RSA encryption enabled
* class SessionManager - Keeps track of multiple sessions
* errors
* class HFTPError
* function code - Network errors, e.g FILE\_NOT\_FOUND
* function error\_name - Reverse-lookup of code
* function errorDesc - Human-Readable error description
* main package (floatingutils)
* conf - A configuration file parser
* class Conf - Simple conf file parser
* class YamlConf - Calls PYaml and provides easy access
* commandprocessor - A generic utility to parse commands
* class CommandProcessor
* log - A wrapper to logging
* class Log - Basic setup and usage of logging
Individual usages are listed in doc
##Tests
Run ./tests.py - calls nose
###Licence
See LICENCE