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
=======
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
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.1.tar.gz
(4.4 kB
view details)
File details
Details for the file pydomain-1.1.tar.gz
.
File metadata
- Download URL: pydomain-1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0a70d7e65cfb123241917c4b521a727f18be89119be59d937bda5dfe30a2e2c |
|
MD5 | 419cfee684e9caf2c9bf16b0b3a707ce |
|
BLAKE2b-256 | f8d4e3e24e96a07f22ade3fc77ed9743e4f7d638f7b265f58866e6d681e72418 |