# verspec
**verspec** is a Python library for handling software versions and specifiers,
adapted from the [`packaging`][packaging] package.
## An Example
```python
from verspec import loose, python
v1 = loose.Version('1.0')
s1 = loose.SpecifierSet('~=1.0')
assert v1 in s1
v2 = python.Version('1.0')
s2 = python.SpecifierSet('~=1.0')
assert v2 in s2
```
## Documentation
Forthcoming! (Sorry about that...)
## Credits
The real credit for this package goes to the [Python Packaging Authority][pypa].
## License
This project is dual-licensed under the BSD and Apache licenses.
[gh-actions-image]: https://github.com/jimporter/verspec/workflows/build/badge.svg
[gh-actions-link]: https://github.com/jimporter/verspec/actions?query=branch%3Amaster+workflow%3Abuild
[codecov-image]: https://codecov.io/gh/jimporter/verspec/branch/master/graph/badge.svg
[codecov-link]: https://codecov.io/gh/jimporter/verspec
[packaging]: https://github.com/pypa/packaging
[pypa]: https://www.pypa.io/
Raw data
{
"_id": null,
"home_page": "https://github.com/jimporter/verspec",
"name": "verspec",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "version handling",
"author": "Jim Porter",
"author_email": "itsjimporter@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e7/44/8126f9f0c44319b2efc65feaad589cadef4d77ece200ae3c9133d58464d0/verspec-0.1.0.tar.gz",
"platform": "",
"description": "# verspec\n**verspec** is a Python library for handling software versions and specifiers,\nadapted from the [`packaging`][packaging] package.\n\n## An Example\n\n```python\nfrom verspec import loose, python\n\nv1 = loose.Version('1.0')\ns1 = loose.SpecifierSet('~=1.0')\nassert v1 in s1\n\nv2 = python.Version('1.0')\ns2 = python.SpecifierSet('~=1.0')\nassert v2 in s2\n```\n\n## Documentation\n\nForthcoming! (Sorry about that...)\n\n## Credits\n\nThe real credit for this package goes to the [Python Packaging Authority][pypa].\n\n## License\n\nThis project is dual-licensed under the BSD and Apache licenses.\n\n[gh-actions-image]: https://github.com/jimporter/verspec/workflows/build/badge.svg\n[gh-actions-link]: https://github.com/jimporter/verspec/actions?query=branch%3Amaster+workflow%3Abuild\n[codecov-image]: https://codecov.io/gh/jimporter/verspec/branch/master/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/jimporter/verspec\n\n[packaging]: https://github.com/pypa/packaging\n[pypa]: https://www.pypa.io/\n\n\n",
"bugtrack_url": null,
"license": "BSD 2-Clause or Apache-2.0",
"summary": "Flexible version handling",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/jimporter/verspec"
},
"split_keywords": [
"version",
"handling"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a4ce3b6fee91c85626eaf769d617f1be9d2e15c1cca027bbdeb2e0d751469355",
"md5": "04113d50bdb9f2894c2749695e3a3a62",
"sha256": "741877d5633cc9464c45a469ae2a31e801e6dbbaa85b9675d481cda100f11c31"
},
"downloads": -1,
"filename": "verspec-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "04113d50bdb9f2894c2749695e3a3a62",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 19640,
"upload_time": "2020-11-30T02:24:08",
"upload_time_iso_8601": "2020-11-30T02:24:08.387807Z",
"url": "https://files.pythonhosted.org/packages/a4/ce/3b6fee91c85626eaf769d617f1be9d2e15c1cca027bbdeb2e0d751469355/verspec-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e7448126f9f0c44319b2efc65feaad589cadef4d77ece200ae3c9133d58464d0",
"md5": "34d408f044894ec89a9780dbb75b6c9e",
"sha256": "c4504ca697b2056cdb4bfa7121461f5a0e81809255b41c03dda4ba823637c01e"
},
"downloads": -1,
"filename": "verspec-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "34d408f044894ec89a9780dbb75b6c9e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27123,
"upload_time": "2020-11-30T02:24:09",
"upload_time_iso_8601": "2020-11-30T02:24:09.646641Z",
"url": "https://files.pythonhosted.org/packages/e7/44/8126f9f0c44319b2efc65feaad589cadef4d77ece200ae3c9133d58464d0/verspec-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2020-11-30 02:24:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jimporter",
"github_project": "verspec",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "verspec"
}