gitvck


Namegitvck JSON
Version 2.0.0b1 PyPI version JSON
download
home_pageNone
SummaryA way to ensure critical libraries are up-to-date.
upload_time2024-09-11 15:58:18
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseMIT
keywords library utility utilities version
VCS
bugtrack_url
requirements packaging requests utils4
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# A way to ensure critical libraries are up-to-date

[![PyPI - Version](https://img.shields.io/pypi/v/gitvck?style=flat-square)](https://pypi.org/project/gitvck)
[![PyPI - Implementation](https://img.shields.io/pypi/implementation/gitvck?style=flat-square)](https://pypi.org/project/gitvck)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gitvck?style=flat-square)](https://pypi.org/project/gitvck)
[![PyPI - Status](https://img.shields.io/pypi/status/gitvck?style=flat-square)](https://pypi.org/project/gitvck)
[![Static Badge](https://img.shields.io/badge/tests-passing-brightgreen?style=flat-square)](https://pypi.org/project/gitvck)
[![Static Badge](https://img.shields.io/badge/code_coverage-100%25-brightgreen?style=flat-square)](https://pypi.org/project/gitvck)
[![Static Badge](https://img.shields.io/badge/pylint_analysis-100%25-brightgreen?style=flat-square)](https://pypi.org/project/gitvck)
[![Documentation Status](https://readthedocs.org/projects/gitvck/badge/?version=latest&style=flat-square)](https://gitvck.readthedocs.io/en/latest/)
[![PyPI - License](https://img.shields.io/pypi/l/virtualenv?style=flat-square)](https://opensource.org/licenses/MIT)
[![PyPI - Wheel](https://img.shields.io/pypi/wheel/gitvck?style=flat-square)](https://pypi.org/project/gitvck)

The ``gitvck`` library is a CPython project which is designed to help ensure the latest version of a critical library is being used by your project.

Sometimes a project relies on the *latest* version of an underlying library. The ``gitvck`` library is designed to run in the background on program startup and check if the version of a critical library is the latest version available. If the critical library being imported is not the latest, the user is alerted that a later version is available. If the latest version is already being used, the test ends silently.

However, this is a *notification-only* service. The user is *not* prevented from carrying on.

If you have any questions that are not covered by this documentation, or if you spot any bugs, issues or have any recommendations, please feel free to [contact us](https://gitvck.readthedocs.io/en/latest/contact.html).


## Installation
For most users, the easiest way is probably to install the latest version hosted on [PyPI](https://pypi.org/project/gitvck/), *after* activating the appropriate virtual environment.

    pip install gitvck


## Using the Library
The [documentation suite](https://gitvck.readthedocs.io/en/latest/index.html) contains detailed explanation and example usage for each of the library's importable modules. For detailed documentation, usage examples and links the source code itself, please refer to the [Library API](https://gitvck.readthedocs.io/en/latest/library.html) page.

### Quickstart
To demonstrate how easy it is to get up and running, the template below can be copied and pasted into your program's primary ``__init__.py`` module. When your program starts up, the ``__init__.py`` module is run, and performs the version check in the background.

To verify the version of a critical library against GitHub use:

    from gitvck import gitvck
    from <project>._version import __version__

    gitvck.VersionCheck(name='project-spam',
                        source='git',
                        path='https://github.com/s3dev/project-spam',
                        version=__version__).test()

More example templates can be found in the ``gitvck`` [module documentation](https://gitvck.readthedocs.io/en/latest/gitvck.html) page.

### Sources
The following code configuration sources can be accessed by ``gitvck``:

- PyPI
- GitHub
- Git (a local or remote repository, accessed through a filesystem)

Guidance for using these various sources can be found in the ``gitvck`` [module documentation](https://gitvck.readthedocs.io/en/latest/gitvck.html) page.


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gitvck",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "The Developers <development@s3dev.uk>",
    "keywords": "library, utility, utilities, version",
    "author": null,
    "author_email": "The Developers <development@s3dev.uk>",
    "download_url": "https://files.pythonhosted.org/packages/86/bf/0fb50e0a5a03f90a65a3696bff424b749fe3fa6d0521559316551222cdbf/gitvck-2.0.0b1.tar.gz",
    "platform": null,
    "description": "\n# A way to ensure critical libraries are up-to-date\n\n[![PyPI - Version](https://img.shields.io/pypi/v/gitvck?style=flat-square)](https://pypi.org/project/gitvck)\n[![PyPI - Implementation](https://img.shields.io/pypi/implementation/gitvck?style=flat-square)](https://pypi.org/project/gitvck)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gitvck?style=flat-square)](https://pypi.org/project/gitvck)\n[![PyPI - Status](https://img.shields.io/pypi/status/gitvck?style=flat-square)](https://pypi.org/project/gitvck)\n[![Static Badge](https://img.shields.io/badge/tests-passing-brightgreen?style=flat-square)](https://pypi.org/project/gitvck)\n[![Static Badge](https://img.shields.io/badge/code_coverage-100%25-brightgreen?style=flat-square)](https://pypi.org/project/gitvck)\n[![Static Badge](https://img.shields.io/badge/pylint_analysis-100%25-brightgreen?style=flat-square)](https://pypi.org/project/gitvck)\n[![Documentation Status](https://readthedocs.org/projects/gitvck/badge/?version=latest&style=flat-square)](https://gitvck.readthedocs.io/en/latest/)\n[![PyPI - License](https://img.shields.io/pypi/l/virtualenv?style=flat-square)](https://opensource.org/licenses/MIT)\n[![PyPI - Wheel](https://img.shields.io/pypi/wheel/gitvck?style=flat-square)](https://pypi.org/project/gitvck)\n\nThe ``gitvck`` library is a CPython project which is designed to help ensure the latest version of a critical library is being used by your project.\n\nSometimes a project relies on the *latest* version of an underlying library. The ``gitvck`` library is designed to run in the background on program startup and check if the version of a critical library is the latest version available. If the critical library being imported is not the latest, the user is alerted that a later version is available. If the latest version is already being used, the test ends silently.\n\nHowever, this is a *notification-only* service. The user is *not* prevented from carrying on.\n\nIf you have any questions that are not covered by this documentation, or if you spot any bugs, issues or have any recommendations, please feel free to [contact us](https://gitvck.readthedocs.io/en/latest/contact.html).\n\n\n## Installation\nFor most users, the easiest way is probably to install the latest version hosted on [PyPI](https://pypi.org/project/gitvck/), *after* activating the appropriate virtual environment.\n\n    pip install gitvck\n\n\n## Using the Library\nThe [documentation suite](https://gitvck.readthedocs.io/en/latest/index.html) contains detailed explanation and example usage for each of the library's importable modules. For detailed documentation, usage examples and links the source code itself, please refer to the [Library API](https://gitvck.readthedocs.io/en/latest/library.html) page.\n\n### Quickstart\nTo demonstrate how easy it is to get up and running, the template below can be copied and pasted into your program's primary ``__init__.py`` module. When your program starts up, the ``__init__.py`` module is run, and performs the version check in the background.\n\nTo verify the version of a critical library against GitHub use:\n\n    from gitvck import gitvck\n    from <project>._version import __version__\n\n    gitvck.VersionCheck(name='project-spam',\n                        source='git',\n                        path='https://github.com/s3dev/project-spam',\n                        version=__version__).test()\n\nMore example templates can be found in the ``gitvck`` [module documentation](https://gitvck.readthedocs.io/en/latest/gitvck.html) page.\n\n### Sources\nThe following code configuration sources can be accessed by ``gitvck``:\n\n- PyPI\n- GitHub\n- Git (a local or remote repository, accessed through a filesystem)\n\nGuidance for using these various sources can be found in the ``gitvck`` [module documentation](https://gitvck.readthedocs.io/en/latest/gitvck.html) page.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A way to ensure critical libraries are up-to-date.",
    "version": "2.0.0b1",
    "project_urls": {
        "Documentation": "https://gitvck.readthedocs.io",
        "Homepage": "https://github.com/s3dev/gitvck",
        "Repository": "https://github.com/s3dev/gitvck"
    },
    "split_keywords": [
        "library",
        " utility",
        " utilities",
        " version"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "44b2dab83f9b45b3b007a9968d042df6997f0a5e3535fd1de6398d414fc70cbc",
                "md5": "ea97ed1734911c85035cc39418b5e461",
                "sha256": "4fd1544b29ae6593ebce9d0b3bd6349f88bd7f582d3807014229cf7eb38fd7ac"
            },
            "downloads": -1,
            "filename": "gitvck-2.0.0b1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ea97ed1734911c85035cc39418b5e461",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 8283,
            "upload_time": "2024-09-11T15:58:16",
            "upload_time_iso_8601": "2024-09-11T15:58:16.152441Z",
            "url": "https://files.pythonhosted.org/packages/44/b2/dab83f9b45b3b007a9968d042df6997f0a5e3535fd1de6398d414fc70cbc/gitvck-2.0.0b1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86bf0fb50e0a5a03f90a65a3696bff424b749fe3fa6d0521559316551222cdbf",
                "md5": "157fb03031e33ef47c616d1b5d20b65b",
                "sha256": "df7b3d7d010e461e7db26ef8bd14768a1045470d1ed3468558ed0b09527d47a4"
            },
            "downloads": -1,
            "filename": "gitvck-2.0.0b1.tar.gz",
            "has_sig": false,
            "md5_digest": "157fb03031e33ef47c616d1b5d20b65b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 2919411,
            "upload_time": "2024-09-11T15:58:18",
            "upload_time_iso_8601": "2024-09-11T15:58:18.472619Z",
            "url": "https://files.pythonhosted.org/packages/86/bf/0fb50e0a5a03f90a65a3696bff424b749fe3fa6d0521559316551222cdbf/gitvck-2.0.0b1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-11 15:58:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "s3dev",
    "github_project": "gitvck",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "packaging",
            "specs": [
                [
                    "==",
                    "24.1"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.32.3"
                ]
            ]
        },
        {
            "name": "utils4",
            "specs": [
                [
                    "==",
                    "1.5.0rc3"
                ]
            ]
        }
    ],
    "lcname": "gitvck"
}
        
Elapsed time: 0.39940s