uricore Rangschikking & Samenvatting
- Naam uitgever:
- Matthew Hooker, Jeremy Avnet and Matt Chisholm
- Uitgever website:
- https://github.com/mwhooker/
uricore Tags
uricore Beschrijving
URRICORE is een Python-module die URI-parsing voor mensen biedt. Uitbeelding van gebruik: >>> van httpcore.uri import uri >>> van httpcore.iri import iri >>> iri = iri (u'http: // \ n { Sneeuwpop} / ') >>> IRI IRI (U'HTTP: // \ U2603 /') >>> URI = URI (IRI) >>> URI URI ('http: // XN - N3H /')> >> iri.netloc u'http: // \ u2603 / '>>> iri.hostname' \ u2603 '>>> iri.port is niet echt >>> iri.path u' / '>>> hasattstr (IRI , '__hash__') True >>> iri.replace (poort = 8000) IRI (u'http: // \ u2603: 8000 / ') >>> iriq = iri.update_query ({' foo ': u'42' }) >>> iriq IRI (u'http: // \ u2603 /? foo = 42 ') >>> iriq.update_query (foo = geen) iri (u'http: // \ u2603 /') >>> IRIQ.Query Multidict () >>> uri.from_template ('http: // {domein} / vind {? jaar *}', domein = "example.com" ,. .. Jaar = ("1965", "2000", "2012"))))))) URI ('http://example.com/find?year=1965year=2000year=2012') Product's Homepage
uricore Gerelateerde software