backports.shutil-copytree


Namebackports.shutil-copytree JSON
Version 0.0.1.0 PyPI version JSON
download
home_pagehttps://github.com/cielavenir/backports.shutil_copytree
Summarybackports shutil copytree (mainly for Python2)
upload_time2024-05-21 02:30:18
maintainerNone
docs_urlNone
authorcielavenir
requires_pythonNone
licensePSF
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## backports.shutil_copytree

### Usage

```py
try:
    from inspect import signature
except ImportError:
    try:
        from funcsigs import signature
    except ImportError:
        signature = None

from shutil import copytree
if 'dirs_exist_ok' not in signature(copytree).parameters:
    from backports.shutil_copytree import copytree
```

### Caveats

- symlink stat is not copied when Python<3.3
- directory junctions check on Windows Python<3.8 is done via pywin32, which is less-tested.
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cielavenir/backports.shutil_copytree",
    "name": "backports.shutil-copytree",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "cielavenir",
    "author_email": "cielartisan@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/57/7c/800c3b04c117104ee929ebab52529a5cf972685fc53f47782b6aceed0922/backports.shutil_copytree-0.0.1.0.tar.gz",
    "platform": "any",
    "description": "## backports.shutil_copytree\n\n### Usage\n\n```py\ntry:\n    from inspect import signature\nexcept ImportError:\n    try:\n        from funcsigs import signature\n    except ImportError:\n        signature = None\n\nfrom shutil import copytree\nif 'dirs_exist_ok' not in signature(copytree).parameters:\n    from backports.shutil_copytree import copytree\n```\n\n### Caveats\n\n- symlink stat is not copied when Python<3.3\n- directory junctions check on Windows Python<3.8 is done via pywin32, which is less-tested.",
    "bugtrack_url": null,
    "license": "PSF",
    "summary": "backports shutil copytree (mainly for Python2)",
    "version": "0.0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/cielavenir/backports.shutil_copytree"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "577c800c3b04c117104ee929ebab52529a5cf972685fc53f47782b6aceed0922",
                "md5": "83c76ea7efb110ca3da63332f91196e1",
                "sha256": "e59ba1f6ac653d754daa1e526ba9f601875af32b94bb796812c36321e658c492"
            },
            "downloads": -1,
            "filename": "backports.shutil_copytree-0.0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "83c76ea7efb110ca3da63332f91196e1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4401,
            "upload_time": "2024-05-21T02:30:18",
            "upload_time_iso_8601": "2024-05-21T02:30:18.643386Z",
            "url": "https://files.pythonhosted.org/packages/57/7c/800c3b04c117104ee929ebab52529a5cf972685fc53f47782b6aceed0922/backports.shutil_copytree-0.0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-21 02:30:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cielavenir",
    "github_project": "backports.shutil_copytree",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "backports.shutil-copytree"
}
        
Elapsed time: 0.23758s