class to join file path in a chain manner
Project description
Brief
convenient to join file path in a chain manner:
s = Path('.')
s = s.join('a', 'b').join('..')
# s == 'a'
it uses os.path.join and always normalizes the path with os.path.normpath
while os.path.join join the 'a', '..' to 'a/..'
Change Log
v0.1.3, 2019-2-9
- change to run with python3
v0.1.2, 2018-6-7
- improve comment and change to English
- change directory structure and update setup.py
- add tests.py
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
sine.path-0.1.3.tar.gz
(4.2 kB
view details)
File details
Details for the file sine.path-0.1.3.tar.gz.
File metadata
- Download URL: sine.path-0.1.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e375f2dd1d2d1fa0cc4f847f021d0f4585abc811c616923efbb8712d9d5d393b
|
|
| MD5 |
54f124b68fd562ddd570833cb6b55455
|
|
| BLAKE2b-256 |
dbc4b8d0d35d1593ef8f56fbd6922e0fb5034bb85b1bd20ee6be3a2f26421dac
|