Skip to main content

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.1

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


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.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page