{
"info": {
"author": "Antoine Pitrou",
"author_email": "solipsis@pitrou.net",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Filesystems"
],
"description": "**Attention:** this backport module isn't maintained anymore. If you want to report issues or contribute patches, please consider the `pathlib2 `_ project instead.\r\n\r\nDescription\r\n-----------\r\n\r\npathlib offers a set of classes to handle filesystem paths. It offers the\r\nfollowing advantages over using string objects:\r\n\r\n* No more cumbersome use of os and os.path functions. Everything can be\r\n done easily through operators, attribute accesses, and method calls.\r\n\r\n* Embodies the semantics of different path types. For example, comparing\r\n Windows paths ignores casing.\r\n\r\n* Well-defined semantics, eliminating any warts or ambiguities (forward vs.\r\n backward slashes, etc.).\r\n\r\nRequirements\r\n------------\r\n\r\nPython 3.2 or later is recommended, but pathlib is also usable with Python 2.7\r\nand 2.6.\r\n\r\nInstall\r\n-------\r\n\r\nIn Python 3.4, pathlib is now part of the standard library. For Python 3.3\r\nand earlier, ``easy_install pathlib`` or ``pip install pathlib`` should do\r\nthe trick.\r\n\r\nExamples\r\n--------\r\n\r\nImporting the module classes::\r\n\r\n >>> from pathlib import *\r\n\r\nListing Python source files in a directory::\r\n\r\n >>> list(p.glob('*.py'))\r\n [PosixPath('test_pathlib.py'), PosixPath('setup.py'),\r\n PosixPath('pathlib.py')]\r\n\r\nNavigating inside a directory tree::\r\n\r\n >>> p = Path('/etc')\r\n >>> q = p / 'init.d' / 'reboot'\r\n >>> q\r\n PosixPath('/etc/init.d/reboot')\r\n >>> q.resolve()\r\n PosixPath('/etc/rc.d/init.d/halt')\r\n\r\nQuerying path properties::\r\n\r\n >>> q.exists()\r\n True\r\n >>> q.is_dir()\r\n False\r\n\r\nOpening a file::\r\n\r\n >>> with q.open() as f: f.readline()\r\n ...\r\n '#!/bin/bash\\n'\r\n\r\n\r\nDocumentation\r\n-------------\r\n\r\nThe full documentation can be read at `Read the Docs\r\n`_.\r\n\r\n\r\nContributing\r\n------------\r\n\r\nMain development now takes place in the Python standard library: see\r\nthe `Python developer's guide `_, and\r\nreport issues on the `Python bug tracker `_.\r\n\r\nHowever, if you find an issue specific to prior versions of Python\r\n(such as 2.7 or 3.2), you can post an issue on the\r\n`BitBucket project page `_.\r\n\r\n\r\nHistory\r\n-------\r\n\r\nVersion 1.0.1\r\n^^^^^^^^^^^^^\r\n\r\n- Pull request #4: Python 2.6 compatibility by eevee.\r\n\r\nVersion 1.0\r\n^^^^^^^^^^^\r\n\r\nThis version brings ``pathlib`` up to date with the official Python 3.4\r\nrelease, and also fixes a couple of 2.7-specific issues.\r\n\r\n- Python issue #20765: Add missing documentation for PurePath.with_name()\r\n and PurePath.with_suffix().\r\n- Fix test_mkdir_parents when the working directory has additional bits\r\n set (such as the setgid or sticky bits).\r\n- Python issue #20111: pathlib.Path.with_suffix() now sanity checks the\r\n given suffix.\r\n- Python issue #19918: Fix PurePath.relative_to() under Windows.\r\n- Python issue #19921: When Path.mkdir() is called with parents=True, any\r\n missing parent is created with the default permissions, ignoring the mode\r\n argument (mimicking the POSIX \"mkdir -p\" command).\r\n- Python issue #19887: Improve the Path.resolve() algorithm to support\r\n certain symlink chains.\r\n- Make pathlib usable under Python 2.7 with unicode pathnames (only pure\r\n ASCII, though).\r\n- Issue #21: fix TypeError under Python 2.7 when using new division.\r\n- Add tox support for easier testing.\r\n\r\nVersion 0.97\r\n^^^^^^^^^^^^\r\n\r\nThis version brings ``pathlib`` up to date with the final API specified\r\nin :pep:`428`. The changes are too long to list here, it is recommended\r\nto read the `documentation `_.\r\n\r\n.. warning::\r\n The API in this version is partially incompatible with pathlib 0.8 and\r\n earlier. Be sure to check your code for possible breakage!\r\n\r\nVersion 0.8\r\n^^^^^^^^^^^\r\n\r\n- Add PurePath.name and PurePath.anchor.\r\n- Add Path.owner and Path.group.\r\n- Add Path.replace().\r\n- Add Path.as_uri().\r\n- Issue #10: when creating a file with Path.open(), don't set the executable\r\n bit.\r\n- Issue #11: fix comparisons with non-Path objects.\r\n\r\nVersion 0.7\r\n^^^^^^^^^^^\r\n\r\n- Add '**' (recursive) patterns to Path.glob().\r\n- Fix openat() support after the API refactoring in Python 3.3 beta1.\r\n- Add a *target_is_directory* argument to Path.symlink_to()\r\n\r\nVersion 0.6\r\n^^^^^^^^^^^\r\n\r\n- Add Path.is_file() and Path.is_symlink()\r\n- Add Path.glob() and Path.rglob()\r\n- Add PurePath.match()\r\n\r\nVersion 0.5\r\n^^^^^^^^^^^\r\n\r\n- Add Path.mkdir().\r\n- Add Python 2.7 compatibility by Michele Lacchia.\r\n- Make parent() raise ValueError when the level is greater than the path\r\n length.",
"description_content_type": null,
"docs_url": null,
"download_url": "https://pypi.python.org/pypi/pathlib/",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://pathlib.readthedocs.org/",
"keywords": "",
"license": "MIT License",
"maintainer": "",
"maintainer_email": "",
"name": "pathlib",
"package_url": "https://pypi.org/project/pathlib/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/pathlib/",
"project_urls": {
"Download": "https://pypi.python.org/pypi/pathlib/",
"Homepage": "https://pathlib.readthedocs.org/"
},
"release_url": "https://pypi.org/project/pathlib/1.0.1/",
"requires_dist": null,
"requires_python": null,
"summary": "Object-oriented filesystem paths",
"version": "1.0.1"
},
"last_serial": 1773175,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "ca6593e39ce7c09fd287aaa75ac8b7fa",
"sha256": "d09e494964125084d67132c42b9e61fa4b428fa0dd8ae7aa2fb25925eeabc3e0"
},
"downloads": -1,
"filename": "pathlib-0.1.tar.gz",
"has_sig": false,
"md5_digest": "ca6593e39ce7c09fd287aaa75ac8b7fa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 26298,
"upload_time": "2012-01-30T01:36:35",
"url": "https://files.pythonhosted.org/packages/3c/a7/573e6c37775848cd2f9d0fcdf9dd168739f6534e6624573a968f3838d436/pathlib-0.1.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "5d556faed82e58bc6bd2a9494a806803",
"sha256": "21de0e7c7eeab7b88bd92e11cad0f58c8370382d8ca39169331f6ae135b26b91"
},
"downloads": -1,
"filename": "pathlib-0.2.tar.gz",
"has_sig": false,
"md5_digest": "5d556faed82e58bc6bd2a9494a806803",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27505,
"upload_time": "2012-01-30T17:56:16",
"url": "https://files.pythonhosted.org/packages/81/4b/23433a0aa0273ee3ac511d58d4a8c6815554b84a71caab02dc3f0cd79b17/pathlib-0.2.tar.gz"
}
],
"0.3": [
{
"comment_text": "",
"digests": {
"md5": "7fdba672539288d269629c4879daa3d3",
"sha256": "fbf7a43ab854391202845ce8f6c4acbfc3dd5fd1b4bc689f3b5433c8d9231c32"
},
"downloads": -1,
"filename": "pathlib-0.3.tar.gz",
"has_sig": false,
"md5_digest": "7fdba672539288d269629c4879daa3d3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27819,
"upload_time": "2012-01-30T18:28:21",
"url": "https://files.pythonhosted.org/packages/94/6b/2239738ba4f46b917cabdbd1d8bdc7c443a9498a6fa83dad388a785a872b/pathlib-0.3.tar.gz"
}
],
"0.4": [
{
"comment_text": "",
"digests": {
"md5": "787ff754e5b4a387f2ffaeaf14276eec",
"sha256": "f0b7315737c421ba28ee7d34786768dd58ff9313ddffb0bba2d2c9f469ba1f6e"
},
"downloads": -1,
"filename": "pathlib-0.4.tar.gz",
"has_sig": false,
"md5_digest": "787ff754e5b4a387f2ffaeaf14276eec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29727,
"upload_time": "2012-01-30T21:06:50",
"url": "https://files.pythonhosted.org/packages/3d/1b/c00d36ceee53885203a96a398115efa6d7c5cad74d479723434aceb1607e/pathlib-0.4.tar.gz"
}
],
"0.5": [
{
"comment_text": "",
"digests": {
"md5": "5ba364b0351de4432229a6268e1b1e54",
"sha256": "f6b8c91d171319e3699e19c95d87fcfbbaba875fde4ac5aba6e4b4bf30a71a0f"
},
"downloads": -1,
"filename": "pathlib-0.5.tar.gz",
"has_sig": false,
"md5_digest": "5ba364b0351de4432229a6268e1b1e54",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 30304,
"upload_time": "2012-02-03T17:44:47",
"url": "https://files.pythonhosted.org/packages/4d/02/cde28769df6a2f9244ead226d7007d69be231ed88b0970a91db533b5025d/pathlib-0.5.tar.gz"
}
],
"0.6": [
{
"comment_text": "",
"digests": {
"md5": "de7e959829c60532c69e4636a1520f63",
"sha256": "9776455014496f9b2ca536e41f5f7872d8255855105011fc8969e50e90f57706"
},
"downloads": -1,
"filename": "pathlib-0.6.tar.gz",
"has_sig": false,
"md5_digest": "de7e959829c60532c69e4636a1520f63",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 32453,
"upload_time": "2012-02-13T21:46:54",
"url": "https://files.pythonhosted.org/packages/50/9a/988cc7f0db80c04c3049f307b7d66c31f04586c35691c929616c77b9548a/pathlib-0.6.tar.gz"
}
],
"0.7": [
{
"comment_text": "",
"digests": {
"md5": "9e2749f2dc53027b1173343fbd1ca69e",
"sha256": "28f1b38e541c8238cf46ad8b65bc77275a589a39e4e6750415b52adfed5ba40c"
},
"downloads": -1,
"filename": "pathlib-0.7.tar.gz",
"has_sig": false,
"md5_digest": "9e2749f2dc53027b1173343fbd1ca69e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 34018,
"upload_time": "2012-07-29T23:39:09",
"url": "https://files.pythonhosted.org/packages/cb/6e/71dd5e7b1c80bb26f9775c6e7d068714f3929a4d5dfddad0f8cc83aefefe/pathlib-0.7.tar.gz"
}
],
"0.8": [
{
"comment_text": "",
"digests": {
"md5": "f05cb8074e73cac0965e8d8fb1c26dc5",
"sha256": "c153d672878de3b78b09dc837dd5fdfeb4f1463799a113085a3fb770924234d8"
},
"downloads": -1,
"filename": "pathlib-0.8.tar.gz",
"has_sig": false,
"md5_digest": "f05cb8074e73cac0965e8d8fb1c26dc5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 36271,
"upload_time": "2013-03-01T22:32:02",
"url": "https://files.pythonhosted.org/packages/5b/fa/22109d790bf83e240905976a4aea85c7661760697afee7da48bf07fb2d36/pathlib-0.8.tar.gz"
}
],
"0.97": [
{
"comment_text": "",
"digests": {
"md5": "44604062d4c0e95a674ecb92d3a5cf00",
"sha256": "c0a56ab34969e6e3220fc4c3c6ffe6802a878592eb77e0dbecdd5abd4b0cf381"
},
"downloads": -1,
"filename": "pathlib-0.97.tar.gz",
"has_sig": false,
"md5_digest": "44604062d4c0e95a674ecb92d3a5cf00",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 46429,
"upload_time": "2013-12-10T21:49:38",
"url": "https://files.pythonhosted.org/packages/6f/85/18e02b1fcaa149ab80cd09e658f9872934ae6f14f39add3f6f712175c88c/pathlib-0.97.tar.gz"
}
],
"1.0": [
{
"comment_text": "",
"digests": {
"md5": "a0a834e2ac9e280f9cfc3a06f5ac1ca3",
"sha256": "306314b3786f4c534d0cf618cb0d3ca8f1f16a69db399d21c0571ce2661e20f6"
},
"downloads": -1,
"filename": "pathlib-1.0.tar.gz",
"has_sig": false,
"md5_digest": "a0a834e2ac9e280f9cfc3a06f5ac1ca3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 49113,
"upload_time": "2014-03-25T20:26:18",
"url": "https://files.pythonhosted.org/packages/79/05/41799097aad06630589e3b46753acb665f2a0b6afcf69550d48517aeb4ed/pathlib-1.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "5099ed48be9b1ee29b31c82819240537",
"sha256": "6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f"
},
"downloads": -1,
"filename": "pathlib-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "5099ed48be9b1ee29b31c82819240537",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 49298,
"upload_time": "2014-09-03T15:41:57",
"url": "https://files.pythonhosted.org/packages/ac/aa/9b065a76b9af472437a0059f77e8f962fe350438b927cb80184c32f075eb/pathlib-1.0.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "5099ed48be9b1ee29b31c82819240537",
"sha256": "6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f"
},
"downloads": -1,
"filename": "pathlib-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "5099ed48be9b1ee29b31c82819240537",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 49298,
"upload_time": "2014-09-03T15:41:57",
"url": "https://files.pythonhosted.org/packages/ac/aa/9b065a76b9af472437a0059f77e8f962fe350438b927cb80184c32f075eb/pathlib-1.0.1.tar.gz"
}
]
}