PyParseURI

Allows you to parse URIs easily
Download

PyParseURI Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Glen Zangirolami
  • Publisher web site:
  • http://github.com/glenbot/

PyParseURI Tags


PyParseURI Description

Allows you to parse URIs easily ParseURI parses URIs with the same algorithm as the JavaScript version created by Steven Levithan http://blog.stevenlevithan.com/archives/parseuriUsage:from parse_uri import ParseUrip = ParseUri()parsed_uri = p.parse('http://www.example.com')print parsed_uri.authority'www.example.com'print parsed_uri.protocol'http'And so on....Sample Output:{ 'protocol': 'http', 'authority': 'www.example.com', 'anchor': None, 'relative': '', 'source': 'http://www.example.com', 'host': 'www.example.com', 'userInfo': None, 'file': '', 'queryKey': {}, 'directory': None, 'query': None, 'path': '', 'password': None, 'port': None, 'user': None} Requirements: · Python


PyParseURI Related Software