The descusr web application development framework, a Pylons project
Project description
Pydomain
=======
Pydomain is a tools for get the url's host or subdomian.
1.0
e.g.
>>from pydomain import get_host, get_subdomain
>>host = get_host("http://www.piadu.com")
>>print host
>>piadu.com
>>subdomain = get_subdomain("http://www.piadu.com/news.html")
>>print subdomain
>>www.piadu.com
=======
Pydomain is a tools for get the url's host or subdomian.
1.0
e.g.
>>from pydomain import get_host, get_subdomain
>>host = get_host("http://www.piadu.com")
>>print host
>>piadu.com
>>subdomain = get_subdomain("http://www.piadu.com/news.html")
>>print subdomain
>>www.piadu.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydomain-1.0.tar.gz
(4.7 kB
view hashes)