{ "info": { "author": "Jaakko Kangasharju", "author_email": "ashar@iki.fi", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Globber\n\nGlobber is a Python library for matching file names against\nglob patterns. In contrast to other glob-matching libraries,\nit matches arbitrary strings and doesn't require the matched\nnames to be existing files. In addition, it supports the\nglobstar `**` operator to match an arbitrary number of path\ncomponents.\n\nI have been working with Git repositories, specifically trying\nto process files classified as source. Picking the source files\nis much easier with globstar expressions, and since old files\nmight no longer exist on the file system, the matching cannot\nbe based on actual files. I couldn't find anything that had\nsupport for both, so I wrote this library.\n\n## Patterns\n\nThe syntax of a pattern is a sequence of components, separated\nby slashes `/`. Each component may include the following\nspecial characters:\n\nCharacter | Meaning\n----------|--------\n? | Match any single character (not a path separator)\n\\* | Match any sequence of characters, possibly empty (except path separators)\n\\** | Must appear alone inside a component. Match any sequence of components, possibly empty\n\\ | Match the following character literally. This is intended to escape the special characters\n\n## Contributing\n\nI may occasionally keep working on this library if I have a need\nfor new functionality, but for the moment it is good enough for\nmy current needs. If you're using it, and find bugs or want\nsome new functionality, you're welcome to open an issue. Pull\nrequests are also appreciated but not necessary to get your\nconcerns heard.\n\n## License\n\nGlobber is licensed under the Apache Software License, version\n2.0. See the LICENSE file for precise license terms and\nconditions.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/asharov/globber", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "globber", "package_url": "https://pypi.org/project/globber/", "platform": "", "project_url": "https://pypi.org/project/globber/", "project_urls": { "Homepage": "https://github.com/asharov/globber" }, "release_url": "https://pypi.org/project/globber/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Library for string matching with glob patterns", "version": "0.2.0" }, "last_serial": 4703971, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "4c0e0f52550118845b2acab66f2a4136", "sha256": "63302b64059cf575743bf2f3d0d5e20e4a63b95eb3e3b78b0bdfe8557199ac5e" }, "downloads": -1, "filename": "globber-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4c0e0f52550118845b2acab66f2a4136", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7926, "upload_time": "2019-01-16T15:59:52", "url": "https://files.pythonhosted.org/packages/81/dd/1499ffcdc18b4381b24322f247820bc12260002b5a51f58403126089afc0/globber-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c1b7726b8564cf905777ae9e543fbf4", "sha256": "0c4cb69a5b3a7b68adb30483568c220aa231e318b12dbef0457efe8391bee44f" }, "downloads": -1, "filename": "globber-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1c1b7726b8564cf905777ae9e543fbf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3307, "upload_time": "2019-01-16T15:59:54", "url": "https://files.pythonhosted.org/packages/cf/62/2f8b796bcfd37e1795611dfe6bf23bbf5096ddfb6369e0a10e25d10a2ee6/globber-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4c0e0f52550118845b2acab66f2a4136", "sha256": "63302b64059cf575743bf2f3d0d5e20e4a63b95eb3e3b78b0bdfe8557199ac5e" }, "downloads": -1, "filename": "globber-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4c0e0f52550118845b2acab66f2a4136", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7926, "upload_time": "2019-01-16T15:59:52", "url": "https://files.pythonhosted.org/packages/81/dd/1499ffcdc18b4381b24322f247820bc12260002b5a51f58403126089afc0/globber-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c1b7726b8564cf905777ae9e543fbf4", "sha256": "0c4cb69a5b3a7b68adb30483568c220aa231e318b12dbef0457efe8391bee44f" }, "downloads": -1, "filename": "globber-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1c1b7726b8564cf905777ae9e543fbf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3307, "upload_time": "2019-01-16T15:59:54", "url": "https://files.pythonhosted.org/packages/cf/62/2f8b796bcfd37e1795611dfe6bf23bbf5096ddfb6369e0a10e25d10a2ee6/globber-0.2.0.tar.gz" } ] }