Saravanan666/pypi-org huggingface dataset:
Package: verox
VeroxVerox (inspired bydiscord-ext-ipc) is an implementation ofIPCusing websockets.
It's designed to make dashboard development a lot easier and quicker.
While it's aimed at the hikari community, it does not depend on it at all which means you can use it for any discord API wrapper you like.Installationpip install veroxDidn't work?pipis not inPATHpython-mpipinstallveroxCheck if the path of your python executable matches the path of the interpreter you run your code withIn UNIX-like systems:whichpythonUsageVerox is split into client-side and server-side. The client-side is usually the web app, the server-side is the bot.The following example usesquartandhikari:webapp.pyfromquartimportQuartfromveroximportClientapp=Quart(__name__)client=Client("your_secret_key")@app.route("/")asyncdefhome():count=awaitclient.request("guild_member_count",guild_id=1234567890)returnstr(count)@app.after_servingasyncdefclose_client():awaitclient.close()app.run(debug=True)bot.pyimporthikariimportveroxbot=hikari.GatewayBot(token="your_token",intents=hikari.Intents.ALL)server=verox.Server("your_secret_key")#must match the secret key of your client@verox.endpoint()asyncdefguild_member_count(context:verox.Context):returnlen(bot.cache.get_members_view_for_guild(context.data.guild_id))@bot.listen()asyncdefclose_server(event:hikari.StoppingEvent):awaitserver.close()server.start()bot.run()For more advanced examples, please take a look atexamplesand its README
Package: versacord
Versacord FrameworkA modern, easy-to-use, feature-rich, and async-ready API wrapper for Discord written in Python.Key FeaturesModern Pythonic API usingasyncandawaitProper rate limit handlingOptimised in both speed and memoryInstallingPython 3.8 or higher is requiredInstall the initial dependeces:# aiohttppipinstallaiohttp==3.8.0# typing_extensionspipinstalltyping-extensions==4.2.0To install the library without full voice support, you can just run the following command:# Linux/macOSpython3-mpipinstall-Uversacord# Windowspy-3-mpipinstall-UversacordOtherwise to get voice support you should run the following command:# Linux/macOSpython3-mpipinstall-U"versacord[voice]"# Windowspy-3-mpipinstall-Uversacord[voice]To install additional packages for speedup, run the following command:# Linux/macOSpython3-mpipinstall-U"versacord[speed]"# Windowspy-3-mpipinstall-Uversacord[speed]To install the development version, do the following:$gitclonehttps://github.com/owera/versa-framework/$cdversacord$python3-mpipinstall-U.[voice]Optional PackagesPyNaCl(for voice support)aiodns,Brotli,cchardet(for aiohttp speedup)orjson(for json speedup)Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g.apt,dnf, etc) before running the above commands:libffi-dev (orlibffi-develon some systems)python-dev (e.g.python3.8-devfor Python 3.8)Quick Examplefromversacord.extimportcommandsbot=commands.Bot()@bot.slash_command(description="Replies with pong!")asyncdefping(interaction:versacord.Interaction):awaitinteraction.send("Pong!",ephemeral=True)bot.run("token")NOTE:It is not advised to leave your token directly in your code, as it allows anyone with it to access your bot. If you intend to make your code public you should store it securely.LinksDocumentationOfficial Discord ServerDiscord API
Package: versatility
VersatilityThis package implements versatility(Shinn et al.,
2017), which
describes how closely affiliated a node is with a network community
structure.  It is written in Python3, and can only be guaranteed to
work there.  (This MAY work in Python2 if youimport __future__but
this is untested... see code for details.)Install with:pip3 install versatilityAlternatively, clone the git repo and install with:python3 setup.py installDependencies:Python3networkxScipy(including numpy and matplotlib)bctpy: The module "bct" is
bctpy, a port of the Brain Connectivity Toolbox to Python.  The
latest version supports Python3, and can be installed most easily
with "pip install bcpty".See function help for full documentation, but the most useful
functions are:find_nodal_versatility- Compute the versatility of each node in a
graph using a specific community detection algorithm.find_nodal_mean_versatility- Compute the versatility of each node
across a spectrum of community detection algorithm parameters (most
notably the resolution parameter) and find the average.find_optimal_gamma_curve- Find the mean and standard error of
versatility across a spectrum of resolution parameters and
(optionally) plot the result.  This is most useful for finding the
best resolution parameter, e.g. inFigure 3c of the original
paper.Here is a quick example to get you started:import networkx
from versatility import *
G = networkx.karate_club_graph()
find_nodal_mean_versatility(G, find_communities_louvain, processors=2)
find_nodal_versatility(G, find_communities_louvain, algargs={"gamma" : 0.5})If you use this code, please cite:Shinn, M., Romero-Garcia, R., Seidlitz, J., Vasa, F., Vertes, P.,
Bullmore, E. (2017). Versatility of nodal affiliation to
communities. Scientific Reports 7: 4273.
doi:10.1038/s41598-017-03394-5Copyright 2016-2019 Maxwell Shinn (maxwell.shinn@yale.edu)
Available under the GNU GPLv3.
Package: versdatetool
versdateEasy to use Command line interface built with python, which helps you update all your dependencies to latest version without mannually working at all.Explore the docs »View Demo·Report Bug·Request FeatureTable of ContentsAbout The ProjectBuilt WithGetting StartedPrerequisitesInstallationUsageRoadmapContributingLicenseContactAcknowledgmentsAbout The ProjectHere's a blank template to get started: To avoid retyping too much info. Do a search and replace with your text editor for the following:surya-x,dyte-vit-2022-dyte-submissions,v_surya_kumar,surya-x,gmail,email,versdate,project_description(back to top)Built WithPythonReact.jsVue.jsAngularSvelteLaravelBootstrapJQuery(back to top)Getting StartedThis is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.PrerequisitesThis is an example of how to list things you need to use the software and how to install them.npmnpminstallnpm@latest-gInstallationGet a free API Key athttps://example.comClone the repogitclonehttps://github.com/surya-x/dyte-vit-2022-dyte-submissions.gitInstall NPM packagesnpminstallEnter your API inconfig.jsconstAPI_KEY='ENTER YOUR API';(back to top)UsageUse this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.For more examples, please refer to theDocumentation(back to top)RoadmapFeature 1Feature 2Feature 3Nested FeatureSee theopen issuesfor a full list of proposed features (and known issues).(back to top)ContributingContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull Request(back to top)LicenseDistributed under the MIT License. SeeLICENSE.txtfor more information.(back to top)ContactYour Name -@v_surya_kumar-kumarsurya.2001@gmail.comProject Link:https://github.com/surya-x/dyte-vit-2022-dyte-submissions(back to top)Acknowledgments(back to top)
Package: verse
VerseTired of having to change ENV variable for each of your project?Or to write long and hard to remember commands?Verse help you to create project specific alias and environment modification thanks to a simple fileHow does it work ?Create and edit a Versefile.Use the following instruction guide to customize your VersefileTypeverseand enter in a verse shell with your custom env and aliases!InstructionsNAME (name)Set a project name. Verse will then use this to customize your prompt.NAME MoonAppALIAS (name, command)Create a custom alias for your project.ALIAS dev react-native-run android --settings moonapp-settings-dev.jsonENVADD (key, value)Modify content of key in env to append value.ENV ADD ANDROID_PATH ./android-sdkSET (key, value)Modify content of key in env by value.ENV SET VERSION 4RUN (command)This command will be run when executingverse runRUN mongod --port 5542 &SETUP (command)This command will be run when executingverse setupSETUP npm iThere is also some customization commandsPRINT (message)Print a messagePRINT MoonLanding project !DESC (description)Must be placed beforeALIASAdd a description for an aliasDESC use to clean npm packages
ALIAS rm -rf nodes-modulesFORE (r, g, b)Used to set the prompt foregroundFORE 255 255 255BACK (r, g, b)Used to set the prompt backgroundBACK 162 35 173Verse CLIverse {ROOTDIR, default=./verse}Launch verse shell with a optional path to a dir containing a Versefile[arg]is mandatory,{arg}is optionalverse [OPTIONS]Options:run {ROOTDIR}Execute all RUN commands of Versefilesetup {ROOTDIR}Execute all SETUP commands of Versefilelist {ROOTDIR}Display all commands in Versefileinfo {ROOTDIR}Display Versefile infohelpDisplay helpExampleNAME AndroidApp

FORE 255 60 255
BACK 255 255 255

ENV SET ANROID_PATH ../android_sdk
ENV SET LINTER_PATH ../bin/linter
ENV ADD PATH ../bin

ALIAS build npm build
ALIAS run npm run

DESC Check linter and push
ALIAS push linter && git push

SETUP npm i
SETUP curl localhost:6088/secret-key > secret-key.key

RUN mongod --port 55555 &Important informations:All command and alias will be executed in a subshell, so ALIAS exit will not exit your shell.All path will be replaced byVERSEFILE_FOLDER_FULL_PATH+path except these starting by/TODOmakeENVdirectives also used byrunetsetupimplementverse create
Package: verse16
verse16nlp rap text-generationFree software: BSD licenseDocumentation:https://verse16.readthedocs.io.FeaturesUsage:verse16 --help
verse16 --lines 4
verse16 --lines 16 --log_level DEBUGImport as a class:gen=Generator(log_level="INFO")lines=gen.generate(16)GPU Support:create environment.yml:name: verse16
dependencies:
    - python=3.7
    - tensorflow-gpu=1.15
channels:
    - anacondaconda env create-fenvironment.ymlconda activate verse16pip install verse16If you want to contributeI am open to all ideas and contributions. contact me @pelgo14@protonmail.comFeature Ideas:implement for other languages (like german):https://huggingface.co/models?search=gpt2CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-08-29)First release on PyPI.
Package: verselect
verselectFastAPI based framework to select an API version.Battle-tested at Monite in production.ExplanationAt Monite, we are using header-based versioning, meaning that the client has to specify the version of the API it wants to use in the header in the YYYY-MM-DD format.The issue with this approach is that when releasing a new API version, we need to support it in every service, which is a lot of work.verselectresolves this issue.How it worksverselectsupports waterflowing the requests to the latest version of the API if the request header doesn't match any of the versions.If the app has two versions:2022-01-02and2022-01-05, and the request header
is2022-01-03, then the request will be routed to2022-01-02version as it the closest
version, but lower than the request header.Exact match is always preferred over partial match and a request will never be
matched to the higher versioned routeAlso non-versioned routes and routers can be added for the endpoints, like webhooksUsagefromcontextvarsimportContextVarfromdatetimeimportdatefromfastapiimportAPIRouterimportuvicornfromstarlette.responsesimportResponsefromverselectimportHeaderRoutingFastAPIapi_version_var:ContextVar[date]=ContextVar("api_version")router=APIRouter()webhook_router=APIRouter()@router.get("/users")defusers():returnResponse(f"Hello from{api_version_var.get()}",media_type="text/plain")@webhook_router.get("/webhooks")defwebhooks():returnResponse("webhooks",media_type="text/plain")versions=["2022-01-10","2022-02-11","1998-11-15","2022-03-12","2027-11-15","2022-04-14",]mixed_hosts_app=HeaderRoutingFastAPI(api_version_header_name="X-API-Version",api_version_var=api_version_var,)forversioninversions:mixed_hosts_app.add_header_versioned_routers(router,header_value=version,)mixed_hosts_app.add_unversioned_routers(webhook_router)if__name__=='__main__':uvicorn.run(mixed_hosts_app)By running the app, athttp://localhost:8000/docsyou will see a dashboard with the available versions.More examples can be found in thetests._resourcesfolder.
Package: verset
VersetA handy tool to manage dependencies of your python project.
Meant to be used with poetry, but can adapt to other tools with minimal effort.UsageCommands:comment: (default) update comments to match versions currently in useclear: clear commentsapply: apply versions in comment, so they are tilde (~) required versionrelax: apply versions in comment, so they are caret (^) required versionup: set every version as "*"ExampleGiven those dependencies[tool.poetry.dependencies]docutils=">= 0.12"python=">=3.8"python-dateutil={version="^2.8.2",optional=true}jira={version="^3.1.1",optional=true}six={version="^1.16",optional=true}pygments={version="^2.12.0",optional=true}runningversetin the project folder will update it to:[tool.poetry.dependencies]docutils=">= 0.12"# 0.19python=">=3.8"# 3.10.10python-dateutil={version="^2.8.2",optional=true}# 2.8.2jira={version="^3.1.1",optional=true}# Not foundsix={version="^1.16",optional=true}# 1.16.0pygments={version="^2.12.0",optional=true}# 2.14.0then, runningverset applyin the project folder will update it to:[tool.poetry.dependencies]docutils="~0.19"# >= 0.12python="~3.10.10"# >=3.8python-dateutil={version="~2.8.2",optional=true}# ^2.8.2jira={version="^3.1.1",optional=true}# Not foundsix={version="~1.16.0",optional=true}# ^1.16pygments={version="~2.14.0",optional=true}# ^2.12.0and if you run it again, you are back to the original version (as tilde):[tool.poetry.dependencies]docutils="~0.12"# ~0.19python="~3.8"# ~3.10.10python-dateutil={version="~2.8.2",optional=true}# ~2.8.2jira={version="^3.1.1",optional=true}# Not foundsix={version="~1.16",optional=true}# ~1.16.0pygments={version="~2.12.0",optional=true}# ~2.14.0if you would like the more inclusive carret versions, just useveset relax:[tool.poetry.dependencies]docutils="^0.19"# ~0.12python="^3.10.10"# ~3.8python-dateutil={version="^2.8.2",optional=true}# ~2.8.2jira={version="^3.1.1",optional=true}# Not foundsix={version="^1.16.0",optional=true}# ~1.16pygments={version="^2.14.0",optional=true}# ~2.12.0
Package: versify
python-versify is a pure python library wich can find many verses on the
bible. The lib relies on Dbt.io for get contents.Look how python-versify is usefullfromversify.util.DbtimportDbtdbt=Dbt(config_path="/path/to/config.ini")# DBY is the code of Darbyprint(dbt.find_verse("DBY","1 Timothée",2,1))Features supportFind any verse on the bibleFind random verse on the bibleInstallationTo install python-versify, simple use pip like that:pipinstallpython-versifyYou need a config file for Dbt like :[dbt]key=yourDbtKeylang=FRNDocumentationComplete documentation is available onthis linkHow to ContributeCheck for open issues or open a fresh issue to start a discussion
around a feature idea or a bug.Fork the repository on GitHub to start making your changes to the
master branch (or branch off of it).Send a pull request and bug the maintainer until it gets merged and
published. :) Make sure to add yourself to AUTHORS.
Package: versign
VerSign: Easy Signature Verification in Pythonversignis a small Python package which can be used to perform verification of offline signatures.It assumes no prior knowledge of any machine learning tools or machine learning itself, and therefore can be used by ML experts and anyone else who wants to quickly integrate this functionality into their project.Getting StartedInstallationThis package requires python 3. Installation can be done with pip:pip install versignInstallation inside avirtual environmentis recommended.Download Trained ModelsBefore you can get started with, there is one more step you need to complete.versigncomes with some pre-trained models which give it its magic.Download the compressed modelshere, and extract them tomodels/directory in your project root. Your project directory should look something like this:_ $PROJECT_ROOT
 |__ models/
 |   |__ signet.pth
 |   |__ versign_segment.pkl
 |__ ...Organise Your DatasetIt is assumed that only positive samples (i.e. genuine signatures) are available during training, while both genuine and forged signatures are present during testing.Write Your First Program withVerSignimport os
from versign import VerSign


# Load training data
train_data # folder containing training data (only genuine samples)
x_train = [os.path.join(train_data, f) for f in sorted(os.listdir(train_data))]

# Load test data and labels
test_data # folder containing test data
x_test = [os.path.join(test_data, f) for f in sorted(os.listdir(test_data))]

# Train a writer-dependent model from training data
v = VerSign('models/signet.pth', (150, 220))
v.fit(x_train)

# Predict labels of test data
y_pred = v.predict(x_test)For a more complete example and additional features such as measuring test accuracy if groundtruth is known, seeexample.py.
Package: versile-python2
Versile PythonVersile Python is an implementation of Versile Platform for python
v2.6 and v2.7. Lates source code is onGitHub.
Seewebsitefor documentation and additional information.Versile PlatformVersile Platform is a set of open protocols enabling object-level
service interaction between heterogenous technologies. The protocols
are designed to enable simple yet flexible and powerful patterns for
interacting with remote services or running services.
Package: versile-python3
Versile PythonVersile Python is an implementation of Versile Platform for python
v3.x. Lates source code is onGitHub.
Seewebsitefor documentation and additional information.Versile PlatformVersile Platform is a set of open protocols enabling object-level
service interaction between heterogenous technologies. The protocols
are designed to enable simple yet flexible and powerful patterns for
interacting with remote services or running services.
Package: version4plos
AboutConsole app and Python API for automated tracking ofPLOS LaTeX templateversions.Please cite this project in your papers:@misc{version4plos,
  title={{version4plos public code repository}},
  author={Mari{\'c}, Petar},
  year={2019},
  url={https://github.com/petarmaric/version4plos},
}InstallationTo install version4plos run:$ pip install version4plosConsole app usageQuick start:$ version4plosShow help:$ version4plos --helpPython API usageQuick start:>>> import logging
>>> logging.basicConfig(level=logging.DEBUG, format="[%(levelname)s] %(message)s")

>>> from version4plos import get_template_version
>>> get_template_version()ContributeIf you find any bugs, or wish to propose new featuresplease let us know.If you’d like to contribute, simply forkthe repository, commit your changes
and send a pull request. Make sure you add yourself toAUTHORS.
Package: versionah
Introductionversionahis a simple tool to help you — or more specificallyme— easily
maintain version information for a project.  Its entire aim is to make the act
of displaying or bumping a project’s version number a thoughtless task.It is written in Python, and released under theGPL v3.Requirementsversionahshould run onPythonv3.5 or newer.  The only external librariesversionahdepends on areclick,jinjaandjnrbase.  Ifversionahdoesn’t work with the version of Python you have installed, file anissueand
I’ll endeavour to fix it.ExampleThe simplest way to show howversionahworks is by example:$versionahsetexample.txt2.4.32.4.3$versionahdisplayexample.txt2.4.3$versionahbumpexample.txtminor2.5.0$versionahbumpexample.txtmajor3.0.0API StabilityAPI stability isn’t guaranteed across versions, although frivolous changes won’t
be made.Whenversionah1.0.0 is released the API will be frozen, and any changes
which aren’t backwards compatible will force a major version bump.ContributorsI’d like to thank the following people who have contributed toversionah.PatchesMarc AbramowitzAnsel CloutierTakesxiSximadaBug reportsLeal HétuMatt LeighyIdeasRyan LewisRyan SuttonIf I’ve forgotten to include your name I wholeheartedly apologise.  Just drop me
amailand I’ll update the list!BugsIf you find any problems, bugs or just have a question about this package either
file anissueor drop me amail.If you’ve found a bug please try to include a minimal testcase so I can
reproduce the problem, or even better a patch!
Package: versionalchemy
A library built on top of the SQLAlchemy ORM for versioning
row changes to relational SQL tables.Authors:Ryan KirkmanandAkshay NanavatiBuild StatusUseful LinksDeveloper DocumentationBlog Postwith more in depth design decisionsGetting Started$pipinstallversionalchemySample Usageimportsqlalchemyassafromsqlalchemyimportcreate_enginefromsqlalchemy.ext.declarativeimportdeclarative_basefromsqlalchemy.schemaimportUniqueConstraintimportversionalchemyasvafromversionalchemy.modelsimportVAModelMixin,VALogMixinMY_SQL_URL='<insert mysql url here>'engine=create_engine(MY_SQL_URL)Base=declarative_base(bind=engine)classExample(Base,VAModelMixin):__tablename__='example'va_version_columns=['id']id=sa.Column(sa.Integer,primary_key=True)value=sa.Column(sa.String(128))classExampleArchive(Base,VALogMixin):__tablename__='example_archive'__table_args__=(UniqueConstraint('id','va_version'),)id=sa.Column(sa.Integer)user_id=sa.Column(sa.Integer)va.init()# Only call this onceExample.register(ExampleArchive,engine)# Call this once per engine, AFTER va.initLatencyWe usedbenchmark.pyto
benchmark the performance of versionalchemy. It times the performance of the SQLAlchemy core, ORM
without VersionAclehmy and ORM with VersionAlchemy forninserts (wherenwas variable). Some
results are below.nCore TimeORM TimeVA Time100009.81 s16.04 s36.1310000098.78 s158.87 s350.84 sVersionAlchemy performs roughly 2 times as bad as the ORM, which makes sense as we are doing roughly one
additional insert per orm insert into the archive table.ContributingMake sure you havepipandvirtualenvon your dev machineFork the repository and make the desired changesRunmake installto install all required dependenciesRunmake lint teststo ensure the code is pep8 compliant and  all tests pass.
Note that the tests require 100% branch coverage to be considered passingOpen a pull request with a detailed explaination of the bug or featureRespond to any comments. The PR will be merged if the travis CI build passes and
the code changes are deemed sufficient by the adminStyleFollow PEP8 with a line length of 100 charactersPrefer parenthesis to\for line breaksLicenseMIT License