Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brendancol/gravier
Utilities for common tasks encountered in the wild web
https://github.com/brendancol/gravier
Last synced: about 1 month ago
JSON representation
Utilities for common tasks encountered in the wild web
- Host: GitHub
- URL: https://github.com/brendancol/gravier
- Owner: brendancol
- License: apache-2.0
- Created: 2014-10-19T15:35:37.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-20T03:45:30.000Z (about 10 years ago)
- Last Synced: 2024-10-15T14:44:07.067Z (3 months ago)
- Language: Python
- Size: 172 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gravier [![Build Status](https://travis-ci.org/brendancol/gravier.svg)](https://travis-ci.org/brendancol/gravier)
=======Utilities for common tasks encountered in the wild web (under construction)
### Notes:
1. Currently only contains simple url parser (url_parse module)
2. Requires Python 3.4+ (brew install python3)### Setup environment (OSX / *nix):
$> git clone https://github.com/brendancol/gravier.git
$> cd gravier
$> pyvenv env && source env/bin/activate
$> pip install -r requirements.txt### Run tests
$> nosetests -vtests.test_url_parse.TestUrlParse.test_handle_no_protocol ... ok
tests.test_url_parse.TestUrlParse.test_https_protocol ... ok
tests.test_url_parse.TestUrlParse.test_index_html_path ... ok
tests.test_url_parse.TestUrlParse.test_match_default_port_80 ... ok
tests.test_url_parse.TestUrlParse.test_match_host ... ok
tests.test_url_parse.TestUrlParse.test_match_path ... ok
tests.test_url_parse.TestUrlParse.test_match_port ... ok
tests.test_url_parse.TestUrlParse.test_match_protocol ... ok
tests.test_url_parse.TestUrlParse.test_match_query ... ok
tests.test_url_parse.TestUrlParse.test_parsed_url_instantiation ... ok
tests.test_url_parse.TestUrlParse.test_throw_error_on_invalid_url ... ok