Skip to content

datasets-org/urljoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Urljoin

MIT license pip version pip wheel Build Status

When you need to join url paths!

Install

pip install urljoin

Example

import urljoin
urljoin.url_path_join("a", "b")
'a/b'
urljoin.url_path_join("a/", "/b")
'a/b'
urljoin.url_path_join("a", "b", trailing_slash=True)
'a/b/'

Development

Feel free to contribute via pull request or file an issue.

Copyright and License

© 2017 tivvit.cz

Released under MIT license