Saravanan666/pypi-org huggingface dataset:
Package: versionbump
Helper tool to generate version strings based onsemantic versioningrules. It provides a shell command which you can use in bash scripts and comes with Python classes which you can integrate in your code.Installationpip install versionbumpUsageusage: versionbump [-h] -c CURRENT [-q] [-i]
               {major,minor,patch,pre} [file [file ...]]Arguments-c/--current: Assume current version. (required)-l/--label: Pre-release label.-h/--help: Print help text and exit.-q/--quiet: Don’t write anything to stdout.-i/--ignore: Ignore invalid filesIncrease version$ versionbump -c 0.1.2 patch
0.1.3Replace version in file(s)$ cat version.txt
Current version: 0.1.2
$ versionbump -c 0.1.2 minor version.txt
0.1.3
$ cat version.txt
Current version: 0.1.3If you want to replace the version string in more than one file, just pass them toversionbumpaswell. Example:$ versionbump -c 0.1.2 major file1.txt file2.txt file3.txtPython libraryVersionBumpfrom versionbump import VersionBump
vb = VersionBump('2.0.1')
vb.bump()              ## default value: 'patch'
print vb.get()         ## 2.0.2
print vb.get('patch')  ## 2FileBumpfrom versionbump import FileBump
fo = open('version.txt', 'r+')
fb = FileBump(fo, '2.0.1')
fb.bump()              ## default value: 'patch', writes to file
print fb.get()         ## 2.0.2
print fb.get('patch')  ## 2Alternativesbumpversionby Filip Noetzel. Provides much more functionality like VCS integration.grunt-bumpby Vojta Jina. Integrates with the task runner grunt.
Package: versionbumpr
versionbumprBump the version in your setup.py. Supports direct incrementing as well as custom version numbers.InstallationTested on Python3+, probably works with Python2.pip3 install versionbumprUsageusage: commandline.py [-h] [-b {major,minor,hotfix}] [-v V] [-d]
                      path_to_setup_py

Bump your setup.py's release version.

positional arguments:
  path_to_setup_py      Path to your package's setup.py. Required

optional arguments:
  -h, --help            show this help message and exit
  -b {major,minor,hotfix}
                        Type of version bump to perform. Defaults to "minor"
                        unless version (-v) is specified. 
  -v V                  The version number you want to bump your setup.py to.
  -d                    If this flag is provided, the autogenerated
                        [filename].old file will be deleted. Defaults to
                        False.Commandline args-b: one of "major", "minor", "hotfix". Defaults to "minor", disregarded if-vis provided.major:  bump 1.0 to 2.0, 4.3 to 5.0, etc.minor:  bump 1.0 to 1.1, 4.3 to 4.4, etc.hotfix: bump 1.0 to 1.0.1, 4.3.2 to 4.3.3, etc.-v: Any version number you want. Blindly assumes that it's being provided a version string which conforms with Pypi's requirements.-d: This script autogenerates a backup of the original input file, but with.oldappended to the filename. If-dis passed, this backup file gets deleted instead of being left behind.
Package: version-calculation
calculadora de versÃ£oform version_calculation import calsÃ³ e possivel calcular esse padrÃ£o:
numero.numero.numerocal(numero da versÃ£o,quantidade de casas de cada numero).calculo(vc deve fazer um calculo ilusorio em forma de string com um n)
exemplo:from version_calculation import calx = cal('0.11.',3).calculo('n+15')print(x) #0.1.115o 0.11. Ã© a versÃ£o,
o 3 Ã© o numero de casas
e o n+15 Ã© a operaÃ§Ã£oentÃ£o some 15 a minha versÃ£oalteraÃ§Ãµe:
corresÃ£o de erros
Package: versionchecker
versioncheckerCheck for outdated packages installed on your system and get the latest version numberInstallationpip install versioncheckerUsageThe package list should be in the format  {package_name: online_name}from versionchecker import check_packages
packages = {
'urllib3': 'urllib3',
'bs4': 'beautifulsoup4'
}
results, latest_version = check_packages(packages)
print(results)
print(latest_version){'urllib3': True, 'bs4': False}
{bs4': '4.8.0'}LicenseMIT
Package: version-comparator
OverviewAn example package. Checks if a version is equal to, greater or less than another versionFree software: BSD 3-Clause LicenseInstallationpip install version-comparatorYou can also install the in-development version with:pip install https://github.com/pcu4dros/pedro_cuadros_test/python-version-comparator/archive/master.zipDocumentationProjectThe goal of this question is to write a software library that accepts 2 version string as input and
returns whether one is greater than, equal, or less than the other. As an example: “1.2” is
greater than “1.1”.UsageTo use Distributed LRU Cache in a project:from version_comparator import comparator

comparator.compare_versions('1.2.1', '1.2.1')Where:0: The version are equal
1: The version is greater then the other version
-1: The version is less than the other versionDevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.0.1 (2020-01-29)First release on PyPI.
Package: versionCompare
Laguage: PythonFunction: LibraryName: versionCompareLatest Version of the library:https://pypi.org/project/versionCompare/0.1.1/A python library that takes 2 strings of versions as input and then checks if one is greater, equal or less than the other. Example output; 1.2 > 1.1, 1.1.0 < 1.1.2UsageImport versionComparison from class versionComparisonCreate an instance of versionComparison and supply it with the 2 strings as expected in its constructor.Call compare_versions on the instance, and it will give appropriate result.-> 1 if version1 > version2-> 0 if version1 == version2-> -1 if version1 < version2
Package: version-comparison
Version ComparisonYou can use this tool to compare 2 versions in order to know if is greater, lesser or equal to the other.Installationpip install version-comparisonUsageget_lesser()function return the lesser version of the provided, if none is lesser, the result is aNonevalue.get_greater()function return the greater version of the provided, if none is greater, the result is aNonevalue.compare()function return which one is greater, lesser or equal to the other.fromversions_comparisonimportComparisonversions=Comparison(version_1,version_2)versions.get_lesser()versions.get_greater()versions.compare()Valid Formatsdot numbers: You can use numbers like1.5,0.1.9,8.6.3chars: You can validate a version with chars.b > aord < zExceptionsThere are a coulpe of exceptions that could be used to catch possible errors throwed by the library.FormatVersion: This exception is thrown when the version provided does not have a valid format.StringFormat: This exception is thrown when the version provided is not a valid string type.fromversions_comparison.exceptionsimportFormatVersion,StringFormat
Package: version-control
Django Version ControlThird-party app created withhttps://github.com/kuter/django-plugin-template-cookiecutterQuick startInstall version_control:$ pip install version_controlAdd “version_control” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    "version_control",
]Enable “version_control” in your settings module as follows:MIDDLEWARE = [
    "version_control.middleware.VersionControlMiddleware"
]Install third-party modulesFor projects running under git source control:$ pip install GitPythonFor mercurial projects:$ pip install hglib  # python 3.x
$ pip install python-hglib  # python 2.7.x
Package: version-differ
FeaturesGiven any two versions of a package, returns the list of changed files with the count of loc_added and loc_removed in each file.Covers eight ecosystems, namely Cargo, Composer, Go, Maven, npm, NuGet, pip, and RubyGems.For Cargo, Composer, Maven, npm, pip, and RubyGems, version-differ downloads source code for a version of a package directly from the respective package registries to measure the diff.For Go and NuGet, it clones the source code repository, applies some heuristics to detect package specific files, and measures the diff.diffing is performed using native git-diff, ignores black lines (does not ignore comments).InstallationYou can installversion-differviapipfromPyPI:$pipinstallversion-differUsagePlease see theCommand-line Referencefor details.CreditsThis package was created withcookietempleusingCookiecutterbased onHypermodern_Python_Cookiecutter.
Package: versioned
Welcome toversionedDocumentationThe version and alias best practice for immutable artifacts and deployment.Tutorial:Quick Start - S3 and Dynamodb BackendQuick Start - S3 only BackendLearn why Blue / Green, Canary deployment and Rollback made easy with versioning and alias management.Related Project:aws_glue_artifactenables the versioned deployment for AWS Glue.airflow_dag_artifactenables the versioned deployment for Airflow DAG deployment.Installversionedis released on PyPI, so all you need is to:$pipinstallversionedTo upgrade to latest version:$pipinstall--upgradeversioned
Package: versionedfunction
versionedfunctionSometimes you want to be able to dynamically call different
versions of a function.testing alternatives against each otherruntime "always on" support for versions code changesExamplefromversionedfunctionimportversionedfunction,versionedcontextclassFoo():@versionedfunctiondefalgo(self):return0@algo.versiondefalgo1(self):return1@algo.version@algo.defaultdefalgo2(self):return2foo=Foo()# the default is algo2assertfoo.algo()==2withversionedcontext(Foo.algo):# choose Foo.algoassertfoo.algo()==0@versionedcontext(Foo.algo1)defsome_method():assertfoo.algo()==1Installing$pipinstallversionedfunctionThe source code is currently hosted on GitHub athttps://github.com/GistLabs/versionedfunctionand published in PyPI athttps://pypi.org/project/versionedfunction/The versioning scheme currently used is {major}.{minor}.{auto build number}
fromgit rev-list --count HEAD.We recommend picking a version like:versionedfunction = "^0.9"Community guidelinesWe welcome contributions and questions. Please head over to github and
send us pull requests or create issues!
Package: versioned-hdf5
versioned-hdf5Versioned HDF5 provides a versioned abstraction on top ofh5py.See the documentation athttps://deshaw.github.io/versioned-hdf5/.HistoryThis was created by theD. E. Shaw groupin conjunction withQuansight.LicenseThis project is released under aBSD-3-Clause license.We love contributions! Before you can contribute, please sign and submit thisContributor License Agreement (CLA).
This CLA is in place to protect all users of this project.
Package: versioneer2
An updated, simplified version of versioneer.Development NoteSince this project uses itself for versioning, when you make a change to the main stript(versioneer2/__init__.py), you should then run the following commands:python setup.py install
versioneer2installer
python setup.py versioneerThen your changes have actually updated both __init__.py and the bundled copy of versioneer. To see the effect of all of your changes, run setup.py install again and test normally.History0.1.0 (2015-01-16)First release on PyPI.
Package: versioner
Versioner is a very basic Python command-line tool and library to keep
track of the version of your project, any kind of project.InstallationYou can install the last stable release of Versioner using pip:$ pip install versionerUsageIts usage is very simple. If you runversionerwithout arguments, it will
print the version currently stored in a file namedVERSIONin the current
folder. If such file does not exist,versionercreates it with an initial
version of 0.0.1:$ versioner
0.0.1
$ cat VERSION
0.0.1Versioner accepts a series of arguments to increase, decrease and set
the three diferent categories, you can increase the major version number
with:$ versioner +major
1.0.1Or decrease the revision number with:$ versioner -revision
1.0.0Or directly set the value of each component:$ versioner minor=2 revision=5
1.2.5All this operations will update theVERSIONfile. As you can see,
Versioner uses a three-digit versioning schema,major.minor.revision, which should fit most needs. At the end of the
day, if you need a different or more robust versioning schema, chances
are you have the knowledge to build a more suitable tool yourself - or
send a patch!
Package: versiongit
WarningThis has been deprecated in favour of setuptools_scm and is no longer maintainedVersionGit is a tool for managing the version number of Python modules, removing
the need to update an embedded version string whenever a Git tag is made, and
providing sensible development version numbers too. It does this by storing a
single file in the source repo that reads the version fromgit describeorgit archivekeywords. At build time, this file is modified in the
distribution to contain a static version number to be used in preference to
this. This tool is inspired byversioneer, but has a vastly reduced feature set
so that the code stored in each module is minimal.PyPIpip install versiongitSource codehttps://github.com/dls-controls/versiongitDocumentationhttps://dls-controls.github.io/versiongitChangeloghttps://github.com/dls-controls/versiongit/blob/master/CHANGELOG.rstLicenseTo make VersionGit easier to embed, all its code is dedicated to the public
domain. The_version_git.pythat it creates is also in the public domain.
Specifically, both are released under the Creative Commons
“Public Domain Dedication” license (CC0-1.0)Seehttps://dls-controls.github.io/versiongitfor more detailed documentation.
Package: version-handle
📦 version-handleVersion handle moduleInstallationpipinstall-ihttps://mirrors.aliyun.com/pypi/simple/--extra-index-urlhttps://pypi.org/simple/version-handleExamplefromversion_handleimportpython,generate,VersionVersion("11.2-3_4")>Version("9.2-3_4a")==Version("9.2-3.4a")# output: TrueVersion("11.1-2_3")>Version("9.1-2_3")# output: TrueVersion("11.1-2_3")>=Version("9.1-2_3")# output: TrueVersion("11.1-2_3")<Version("9.1")# output: FalseVersion("11.1-2_3")<=Version("9.1")# output: FalseVersion("9.1.b")>Version("9.1.a")# output: TrueVersion("11.1-2_3+0006")==Version("11.1-2_3+6")# output: Truebool(Version("9.1.b"))# output: Truebool(Version("++"))# output: Falsepython.version()# output: 3.10.5 (v3.10.5:f377153967, Jun  6 2022, 12:36:10) [Clang 13.0.0 (clang-1300.0.29.30)]generate((0,11,12))# output: 0.11.12To DoBe the best version of you.More Resourcesversion-handleon github.comOfficial Python Packaging User GuideThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.
Package: version-helper
Version helperversion-helperis a package for a better version management in python projects.This package is still under development. Code may change frequently.from version_helper import Version
v = Version.get_from_git_describe()
print(v.core)  # major.minor.patch
print(v.full)  # major.minor.patch[-prerelease][+build]Table of contentsVersion helperTable of contentsRequirementsInstallingversion-helperUsageReading version from a fileWriting version to a fileChangelogReferencesRequirementsPython3.6+Git, if you'd need to receive a version string fromgit describeInstallingversion-helperpip install version-helperUsageReading version from a fileimport pathlib
from version_helper import Version

version = Version.read_from_file(
    file=pathlib.Path('/path/to/my/version_file.txt'),
    variable_name='APP_VERSION',
    separator='=',
)
print(version)Writing version to a fileimport pathlib
from version_helper import Version

version = Version(1, 2, 3)
version.write_to_file(
    file=pathlib.Path('/path/to/my/version_file.txt'),
    variable_name='APP_VERSION',
    separator='=',
)ChangelogAll notable changes to this project will be documented in theCHANGELOG.md.Referencesgit-describePoetrySemantic Versioning
Package: versioninfo
VS_VERSIONINFO Structure ExtractorThis package parses a VS_VERSIONINFO structure and returns a JSON string. Certain szKey members in this struct and its children are compared with the expected and the structs are marked non-standard if the strings are not as expected. Data returned from this parser is meant for malware analysis.If you need to isolate the RT_VERSION resource for input into this extractor, trythisJupyter Notebook.UsageNative Python Dictionary Outputversioninfo.parser.get_versioninfo(data)JSON Outputversioninfo.parser.to_json(data)BugsIf the parsing fails or there are any other problems, please provide the file that caused the problem in addition to opening a Github issue.
Package: versioninfo-helper
VersionInfo helper script for PyInstallerThis repository contains helper scripts to dynamically create VersionInfo objects that can be embedded in .exe files created by PyInstaller.This project was created because existing solutions to embed version information inside executables relied on creating artifact files that get read (and eval-ed) by PyInstaller during the build process.
Dynamically creating such files essentially boiled down to inserting data in a string template, with no guides to the user if their entered data is valid or not.
A bit of exploration of PyInstaller's source code and official Microsoft documentation revealed that it should be possible to
provide PyInstaller with necessary data straight from .spec files without file-read-and-eval step.
This approach has the added bonus of being type hint compatible, offering rich auto-complete in supported IDEs.Installationpip install versioninfo_helperUsageSeeexample_simple.onefile.specandexample_dynamic.onefile.specfor examples on how to integrate VersionInfo creation directly into PyInstaller .spec files.
Package: versionix
Python version:Python 3.8, 3.9, 3.10, 3.11Source:Seehttp://github.com/sequana/versionix.Issues:Please fill a report ongithubOverviewVersionix is a simple tool that attemps to print on screen the version of a given standalone.InstallationIf you are in a hurry, just type:pip install versionix  --upgradeThis is pure Python so no need for fancy libraries.UsageThen, just type e.g:versionix  fastqcThis tool uses a registry so it will work only with resgistered tools, which list can be obtained with:versionix --registeredType:versionix --helpto get more help like this example:DESCRIPTIONThe first difficulty is that standalone applications have different ways to obtain their version information. Some require the use of a long or short argument (–version or -v), while others do not require any argument at all. In addition, display channels (stdout or stderr) and formats of the version output differs between applications. To handle these various cases, we define a dictionnary ofmetadatarelated to the different standalones. These metadata helps in the identification of the command to run, the options to use, if the information is directed to stdout or stderr and the method to parse the output to obtain the version number.Versionix is designed to be used with all Sequana pipelines and is not intended to be universal. It will only work for tools that are registered. You can add your own standalone version in the versionix/register.py file and provide a Pull Request.ChangelogVersionDescription0.2.4More tools in the registry and added precommit0.2.3More tools in the registry0.2.2add all tools required by sequana pipelines (oct 2023)0.2.1More tools added.0.2simplification. Add tests. Add more tools0.1first draft
Package: version-lister
version_listerHard pin your dependencies inrequirements.txtThis is a simple python program or rather script to updaterequirements.txtdepending upon its state:Check the dependencies(packages) currently installed in the environment.(Req.file Present):For each value of packages present in environment, update those which were listed already inrequirements.txtdependency version.(Req.file absent): For all the values of packages in the environment, list them inrequirements.txtas it is,
with dependencies locked.(You may have to manually remove un-necessary values.)
Note :Hence as a necessity, it requires that project dependencies are already installed with working versions.Aim:helping python package authors/owners tohard pintheir dependencies with the working version installed in theirrequirements.txtfile before making it public.It is not a complete solution for dependency management in building python projects, nor does it in anyway attempts to become so.Getting StartedInstall:Activate venv/virtualenv, install throughpip:pip install version_listerRun:add-versionin the top level working dir where requirements.txt is present.recommended usage:Before runningadd-versionmake sure :All required project dependencies are installed.All dependencies are mentioned in the requirements.txt file in any way with or without any semantic versioning.Failure of first results in requirements.txt updated with un-necessary environment packages and no actual required dependency mentioned.Failure of second results in noisy requirements file where other system packages are mentioned alongside actual dependencies.Contributionseeissuescreatepull requestsLicenseversion_listerwas created by Azzam Zafar. It is licensed under the terms
of the MIT license.
Package: versionmanagerpy
versionmanager.pyA GitHub Project Version Manager that polls latest version data from GitHub repo release tag.InstallationPIPPyPI> pip install versionmanagerpyUsageversionmanager checks the version passed to its constructor against the tag attached to the latest release on a GitHub repo. Comparing the given version string against thetag_namevalue athttps://api.github.com/repos/{author}/{projectName}/releases/latest. This means release tag names need to be formatted specifically for this. Versionmanager doesnt support letters in version categories* and assumes a separator of a period unless told otherwise.*A version category is a set of numbers separated by a uniform character (e.g. 2.0.3 has categories 2, 0, and 3). Using Semantic Versioning there are usually 3 version categories (major, minor, and patch) but versionmanager supports more categories as well.import versionmanagerpy

def main():
	vm = VersionManager("Aquatic-Labs", "Umbra-Mod-Menu", "2.0.4")
	
	vm.on_outdated += lambda: print("Outdated.")
	vm.on_current += lambda: print("Current.")
	vm.on_dev += lambda: print("Dev.")
	
	vm.check_status()

if __name__ == "__main__":
	main()
Package: versionone-to-jira-reflector
This is a little utility you can use for creating/updating JIRA issues
matching one’s VersionOne stories.InstallationUsing pip:pip install --allow-external elementtree --allow-unverified elementtree versionone-to-jira-reflectorIf you’re wondering what the--allow-externalelementtreeand--allow-unverifiedelementreelines are about:
This program relies upon thePython SDK released by the VersionOne team(albeit, an unofficial distribution of it), and that SDK relies upon elementree
which is unavailable through verified/local PyPI sources.UseThe first time you run the command, it will ask you for various bits
of information that it will use for interacting with VersionOne
and JIRA.Basic use:v1tojira D-08248The app will proceed to ask you for connection information if such
details have not previously been saved, and will create or update
a JIRA issue to match your V1 story with the story identifiers you have supplied.NoteAll configuration data except passwords will be written to~/.versionone-to-jira-reflectorshould you need to edit it after
saving.  Passwords will be queried from (and saved to) the system
keyring.Note that you can run this command for multiple stories simultaneously,
too:v1tojira D-01084 B-08244 B-08084And that you can prevent a web-browser tab from being opened for each
created or updated ticket:v1tojira --no-open D-01084 B-08244 B-08084Seev1tojira--helpfor more information.Caveat EmptorAlthough this is a totally workable solution, this was mostly a quick
hack to solve a temporary need, and it isn’t exactly code that I’m
proud of.  If you end up using this tool, feel free to fork this
code and clean things up to your liking.