Saravanan666/pypi-org huggingface dataset:
Package: vigorish
vigorishvigorishis a hybrid Python/Node.js application that scrapes MLB data from mlb.com, brooksbaseball.net and baseball-reference.com.My goal is to capture as much data as possible — ranging from PitchFX measurements at the most granular level to play-by-play data (play descriptions, substitutions, manager challenges, etc) and individual player pitch/bat stats at the highest level.RequirementsPython 3.6+Node.js 10+ (Tested with Node.js 11-13)XvfbAWS account (optional but recommended, used to store scraped data in S3)Project DocumentationFor a step-by-step install guide and instructions for configuring/usingvigorish, please visit the link below:Vigorish: Hybrid Python/Node.Js Web ScraperCreditsvigorisheither relies on the following projects listed below directly or as a dev dependency. It would not have been possible for me to createvigorishwithout these projects, thanks to all of the creators/maintainers for making these available (projects are listed alphabetically):aenumbulletclickdacitedataclass-csvenlighteneventshalolxmlnakedrapidfuzztabulate
Package: vihhlima-image-processsing
vihhlima_image_processingDescription.
The package package_name is used to:Utils:
	- Read image
	- Save imageInstallationUse the package managerpipto install package_namepipinstallvihhlima_image_processingUsagefromvihhlima_image_processing.utilsimportioio.read_image(path)AuthorVitor LimaLicenseMIT
Package: vihub
vihub-pythonpython-sdk for vihubinstallpipinstallvihubexample usage@ AI-edge deviceimportosos.environ["API_KEY"]="<YOUR_API_KEY>"importvihubmonitoringId="<YOUR_MONITORING_ID>"imageBytes=open("/Users/rikimac22/Desktop/cancun.jpeg","rb")imageTitle="cancun.jpeg"imageType="image/jpeg"vihub.addImage(monitoringId,imageBytes,imageTitle,imageType,)for developersinstall local packagepipinstallwheel
pipuninstallvihub
rm-rfdist/*
pythonsetup.pysdistbdist_wheel
pipinstalldist/*.whl
Package: viihdecli
ViihdeCLICommand-line interface for Elisa Viihde.In Finnish.FeaturesDownloading recordings usingViihdexDLandFFmpegIf multiple files are selected to be downloaded, downloads are queuedFiltering recordings based on e.g. name, channel, start time, duration, show type and actorsEither recordings of a folder or all recordings, regardless of their folder can be listed and then filteredFlexible selection of recordings to be downloaded, deleted, or moved to another folderDuplicate search with multiple modesDocumentationDocumentationin Finnish.
Package: vik
VIKKEK extension for VimInstallationvim should be installed in your system and be available asvimUsing package managerpip:pipinstallvikOr create package from source:gitclonehttps://github.com/SweetBubaleXXX/vik.gitcdvik
pipinstall.Usagevik[FILE]Inside vim::Encrypt [-k KEY_ID]:Decrypt [-k KEY_ID]:CommitLicenseGPLv3 license
Package: viking
VIKING InstructionsEventual System to branch off from CSV to a new Instruction System.InstallEasy wayPip will be used for installing all requirements, just dopip install viking.Then you can run the script by doinguser@computer ~ % python3
import viking
viking.translate.main()Full CLIFirst, clone the repo. Then runpip install -r requirements.txt. After you are done then simply dopython3 -m viking
Package: viking-log-keeper
Log Keeper661 VGS - Function to collate 2965D log sheets into a single master log file and database.ContentsInstallationUsageContributionSupportLicenseInstallationEnsurePython 3.11is installed andpython.exeisadded to the path:Sync your squadron sharepoint using OneDrive:Create a directory on your sharepoint in documents calledLog Sheets. The naming is important!Save the2965D_YYMMDD_ZEXXX.xlsxtemplate (Seedocs/) into the#Statistics/Log Sheetsdirectory.Get started with creating some log sheets to test it out. Note, you will need to update the hiddenINPUT_DATAsheet to add your aircraft and pilots:Sign up toMongoDB Atlasto create your organisation, project, database, and collection. It is free for 512 MB. An example below:Organisation: RAFAC VGSProject: 661 VGSDatabase: 661vgsCollection: log_sheetsUsing powershell, git bash, or command prompt, run the following command:python-mpipinstallviking-log-keeperUsageNormal UsageFollowing installation, run the log keeper function:update-logsEnter the credentials of your database. The URL can be found in the "Database > Overview > Connect" menu:DebuggingTo update your database configuration, run the following command:update-configTo update your log sheet location, run the following command:update-log-sheet-locationContributionIssue Tracker:https://github.com/mjennings061/viking-log-keeper/issuesSource Code:https://github.com/mjennings061/viking-log-keeper/tree/mainSupportFor questions and assistance, consider raising an issue on theissue tracker. All other queries can be directed tomjennings061@gmail.comLicenseThe project is licensed under the MIT License.
Package: vikinglotto
vikinglotto-generatorThis program can generate a set of randomly picked lottery numbers
forVikinglottoandEurojackpot.The program's output supports showing the result usingcowsayfor added fun.
The generated numbers are stored in a log file and can be reviewed if necessary.中文说明RequirementsIf you need the program to display the results ascowsay, you need to havecowsayinstalled on your system.Take Debian & Ubuntu as an example:sudoaptupdate
sudoaptinstallcowsay-yInstallationUsepip:python3 -m pip install vikinglottoUsageRun the program incowsaymode:vikinglottoWithout usingcowsay, print the result directly:vikinglotto--plainGenerate numbers for Eurojackpot:vikinglotto--euro
Package: viktor
VIKTOR is a platform that makes it easy to create powerful and user-friendly web apps, all with pure Python! Create apps
to automate your workflow, integrate with different software packages, and get better insights into your project through
interactive visualizations.Let’s start: Automate the boring, Engineer the awesome!Getting Started: Are you new to VIKTOR? Then this is a good place to
start.Create Apps: Learn how to create apps and get an overview of all available
features.Apps Gallery: Explore the app gallery, download the code, use it to create
your apps.ExamplesEasily add one of 30+ input fields and buttons with just a single line of code:Create a 3D model using VIKTOR components, or import it from Grasshopper, Dynamo, and more:Add insightful graphs using your preferred library, like Matplotlib, Plotly or Bokeh:Display your data on a map or satellite view, or draw directly on the map and use the input for your calculations:Automatically generate custom reports using your own templates in Word, Excel, PDF, and more:LICENSERead more about the terms and conditions here:https://www.viktor.ai/terms.Copyright (c) VIKTOR B.V.

The VIKTOR SDK is a software distributed by VIKTOR B.V., a Dutch corporation,
based in Rotterdam, The Netherlands, at the Weena 740, 3014DA, registered at
The Netherlands Chamber of Commerce KVK under number 62601008.

This software is protected by applicable copyright laws, including international
treaties. This software is dual-licensed, which means the license terms may vary
depending on your use of the software.

When installing, copying, or otherwise using this software, commercial terms
and/or specific license terms may apply. Contact support@viktor.ai to obtain
information regarding the permitted use of this software and the applicable
commercial terms and/or specific license terms, and to find out till what extent
you can use this software on a free basis and when you need to enter a paid
plan. If you do not contact VIKTOR, you may only use this software for personal,
non-commercial testing and evaluation purposes, without the right to use the
software for any commercial or other production purposes.

VIKTOR PROVIDES THIS SOFTWARE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND. IN NO EVENT AND UNDER NO LEGAL THEORY, SHALL VIKTOR
BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL,
INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM USE OR
INABILITY TO USE THIS SOFTWARE.
Package: viktor-table-view
Table view (open-source view for VIKTOR)This repository can be installed in a VIKTOR application to show nicely formatted tables.InstallationPaste the link of this repository in yourrequirements.txt:viktor==14.4.0
viktor-table-viewExample implementationThe following could be an implementation of theTableView(app.py)importnumpyasnpimportpandasaspdfromviktorimportViktorControllerfromviktor_table_viewimportTableResultfromviktor_table_viewimportTableViewclassSampleEntity(ViktorController):label="SampleEntity"@TableView("le view",duration_guess=1)defle_view(self,**kwargs):# Generate the datadata=np.random.randn(20,6)strings=np.array(["string1","string2","string3","string4"])string_data=np.random.choice(strings,size=(20,4))# Create the headersheaders1=["Text"]*4+["Number"]*6headers2=[f"Column{index+1}"forindexinrange(0,10)]# Combine the headers and data into a dataframedf=pd.DataFrame(np.column_stack([string_data,data]),columns=[headers1,headers2])df.iloc[:,4:]=df.iloc[:,4:].astype(float)df_colours=df.copy(deep=True)df_colours.iloc[0,:]="success"df_colours.iloc[1,:]="warning"df_colours.iloc[2,:]="error"df_colours.iloc[3:,:]=pd.NAreturnTableResult(df,dataframe_colours=df_colours,n_decimals={("Number","Column 5"):2})ContributingImprovements to the view are very welcome. Please ensure your improvements adhere to the code standards by running
black, isort and pylint (with the versions specified indev-requirements.txt):python-mblackviktor_table_view/;python-misortviktor_table_view/;python-mpylintviktor_table_view/--rcfile=pyproject.toml;
Package: vilas
Need software1. Python version >= 2.7sudo apt-get install python python-setuptools python-dev python-augeas python-opengl python-imaging python-pyrex python-pyside.qtopengl python-qt4 python-qt4-gl python-lxml2. Gromacs version >= 4.6sudo apt-get install gromacs3. Openbabelsudo apt-get install openbabelorsudo pip insatall openbabel4. Avogadro for pythonsudo apt-get install avogadro5. Pymolsudo apt-get install pymol6. Xmgracesudo apt-get install graceHow to install labpi in Ubuntu1. Install pipsudo apt-get install python-pip2. Install Labpisudo pip install labpi*** If you get error while installing, maybe it lacks some below packages** Error when install Cython:sudo apt-get install cythonorsudo pip install cython** Missing openGL:sudo apt-get install build-essentialsudo apt-get install freeglut3-dev** Missing pygame:sudo apt-get install python-pygameorsudo pip install hg+http://bitbucket.org/pygame/pygame** Missing some packagesudo apt-get installgcc swig dialogsudo apt-get install -y python-pip build-essential libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev zlib1g-devsudo apt-get install libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-ttf-2.0-0sudo apt-get install xmlsec1 openssl libxmlsec1 libxmlsec1-devsudo apt-get install build-essential autoconf libtool pkg-config  idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus libgle3
Package: vilfo-api-client
vilfo-api-client-pythonThis is the initial version of a python module and API client for the Vilfo router. The module is targeted towards compatibility with Python3.Currently, the client is quite limited but will be extended with support for additional endpoints over time.Seevilfo/client.pyfor additional information about available methods. A short usage example is available in this README as well.Legal DisclaimerPlease note that this software is not affiliated with Vilfo AB, is not an official client for the Vilfo router API and the developers take no legal responsibility for the functionality or security of your Vilfo router. Support is only offered on a community basis.Information about the Vilfo router and APIYou can find more information about the Vilfo router onwww.vilfo.com.From there you can also find information about the API in the form of the official API documentation:https://www.vilfo.com/apidocs/InstallationThe preferred installation method is by usingpip:pip install vilfo-api-clientUsageThe API client is available through the classvilfo.Client. To establish a connection and make the API calls, you will need thehostname or IP of your router(admin.vilfo.comis the default one) as well as anAPI access token.Obtaining an access tokenInformation about how to get an access token is described in the official API documentation:https://www.vilfo.com/apidocs/#header-authorizationNote:In version 1.0.13 of the Vilfo firmware, access tokens are invalidated when a new login to the web UI is made. To prevent web UI logins from interfering with the API calls, you can create a separate user solely for API purposes and use its access token.Creating the client and making callsThis is a basic sample of how you can use thevilfo-api-client.importvilfoclient=vilfo.Client(host='admin.vilfo.com',token='YOUR_ACCESS_TOKEN')# Ping to check if router is onlineresult=client.ping()print(result)try:# Get the last reported loadresult=client.get_load()print(result)# Get a list of all devicesresult=client.get_devices()print(result)# Get a boolean indicating if a device is online or notresult=client.is_device_online(mac_address='08:00:27:8e:ac:31')print(result)# Get detailed information about a specific deviceresult=client.get_device(mac_address='08:00:27:8e:ac:31')print(result)exceptvilfo.exceptions.AuthenticationException:print("Authentication Exception")Exceptions and error handlingThevilfo-api-clientlibrary defines a set of exceptions that can be used to handle errors. These exception classes are located undervilfo.exceptions.Additional information about the exceptions will be added and exception and error handling will be improved further.ChangelogVersion 0.3.1Minor adjustment in Client constructor to allow for better mocking during testing.Version 0.3Initial stable release.
Package: vili
PyViliPyVili is a Python API to manipulate Vili Data filesYou can install it using the following command :pip install viliWhat does vili files look likes ?Person:# This is how you define a ComplexNode (object)animal:"Homo Sapiens"# You can use stringslegs:2# And also integersarms:2Cat:animal:"Felis silvestris catus"legs:4Jack(Person):criminal:True# You can use booleans (True / False)age:32name:"Jack"surname:"Sparrow"weight:76.4# Vili also support floatsBilly(Cat):activities:[# A simple list"Chasingmice","Eatingfood""Sleeping"]House:inhabitants:billy:&Billy# You can reference an existing objectjack:&Jack
Package: vilib
==================================================This library is now part of the ambhas(http://pypi.python.org/pypi/ambhas/) library.Updates will only be made in the ambhas library.==================================================A library to calculate the soil and vegetation indices. It can calculate the-----------------------------------------------------------------------------following indices:---------------------- RVI- NDVI- IPVI- DVI- RNDVI- MRVI- MPRI- SAVI- EVI2- MGNDVI- MNDVI- BI- RGRI- GNDVI- NDRGI- NDVSI- RDI- TNDVI- GRVI- OSAVI- MGRVI- SLAVI- NDMI
Package: villa
Villa✨ 米游社大别野Bot Python SDK ✨特性基于FastAPI和Pydantic，异步优先、快速、高性能！完整的类型注解支持，便于开发。便捷的消息构造和发送方法。完整的消息段和API支持。Serverless云函数支持。More想不出来了安装使用 pip:pip install villa使用 poetry:poetry add villa使用 pdm:pdm add villa快速开始你需要一个米游社大别野的 Bot，可前往大别野「机器人开发者社区」(ID:OpenVilla)申请，取得bot_id、bot_secret和pub_key。fromvillaimportBotfromvilla.eventimportSendMessageEventbot=Bot(bot_id="your_bot_id",bot_secret="your_bot_secret",pub_key="-----BEGIN PUBLIC KEY-----\nyour_pub_key\n-----END PUBLIC KEY-----\n",callback_url="your_callback_url_endpoint",)# 初始化Bot，填写你的bot_id、密钥、pub_key以及回调地址endpoint# 举例：若申请时提供的回调地址为https://域名/callback，这里的callback_url就填`/callback`@bot.on_startswith("hello")asyncdefhandler(event:SendMessageEvent):awaitevent.send("world!")# 一个简单的处理函数，向你的Bot发送包含`hello`关键词的消息，它将会回复你`world`！if__name__=="__main__":bot.run(host="127.0.0.1",port=13350)# 启动bot，注意，port端口号要和你所使用的回调地址端口对上示例详见example文件夹：单 Bot 运行多 Bot 运行处理器介绍消息发送方法vercel serverless 部署交流、建议和反馈注意：本SDK并非官方SDK大别野 Bot 和本 SDK 均为开发测试中，如遇问题请提出issue，感谢支持！也欢迎来我的大别野「尘世闲游」(ID:wgiJNaU)进行交流~相关项目NoneBot2非常好用的 Python 跨平台机器人框架！nonebot-adapter-villaNoneBot2 的大别野 Bot 适配器。Herta-villa-SDK另一个大别野 Python SDK。
Package: villaBackendSdk
SDK for villa e-commerce Backendpostman TerminalfileFull DocumentationHereHow to useCreate a bucketfill in the productsmodify the quantity and update productstrigger conversion to cart referencing a bucketSDK docsfrom villaBackendSdk.basket import BasketSdkbasketSdk = BasketSdk(branch='dev')inputDict = {
    "basketId" : "1234",
    "basketName" : "1234",
    "ownerId" : "1234"
}
basketSdk.create(inputDict){'body': '{"result":{"basketId":"1234","creationTime":1605790015.917538,"basketName":"1234","ownerId":"1234","productList":[]},"Metadata":{"ConsumedCapacity":{"TableName":"basket-table-dev","CapacityUnits":3.0}}}',
 'statusCode': 200,
 'headers': {}}inputDict = {
    'basketId': '1234',
    'items': [{'sku':'123','quantity':-123},{'sku':'456','quantity':123}],
  }
basketSdk.add(inputDict){'body': '{"basketId":"1234","creationTime":1605790015.917538,"basketName":"1234","ownerId":"1234","productList":[{"sku":"456","quantity":123}]}',
 'statusCode': 200,
 'headers': {}}inputDict = {
    'basketId': '1234',
    'basketName': 'test',
    'ownerId': '1234',
    'items': [{'sku':'123234','quantity':123},{'sku':'456','quantity':123}]
  }
basketSdk.update(inputDict){'body': '{"basketId":"1234","creationTime":1605790015.917538,"basketName":"1234","ownerId":"1234","productList":[{"sku":"123234","quantity":123},{"sku":"456","quantity":123}]}',
 'statusCode': 200,
 'headers': {}}inputDict = {
    'basketId': '1234',
  }
basketSdk.get(inputDict){'body': '{"basketId":"1234","creationTime":1605790015.917538,"basketName":"1234","ownerId":"1234","productList":[{"sku":"123234","quantity":123},{"sku":"456","quantity":123}]}',
 'statusCode': 200,
 'headers': {}}inputDict = {
    'basketId': '1234'
  }
basketSdk.empty(inputDict){'body': '{"basketId":"1234","creationTime":1605790015.917538,"basketName":"1234","ownerId":"1234","productList":[]}',
 'statusCode': 200,
 'headers': {}}inputDict = {
    'basketId': '1234'
  }
basketSdk.remove(inputDict){'body': '{"basketDeleted":{"basketId":"1234","creationTime":1605790015.917538,"basketName":"1234","ownerId":"1234","productList":[]}}',
 'statusCode': 200,
 'headers': {}}
Package: villagewars
Welcome to VillageWars!Here's some info on how to play this game successfully.First, you need to install python athttps://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exeIf python is already installed, move on.Last of all, when running the server for VillageWars, the computer has to access and give information through port 5555. If you can customize your firewall to let this port be used by python, then great. Otherwise you'll have to turn off the firewall temporarily while running the server.You should be good to go!Quickstart:import villagewarsThis will run the client.To start the server, hotkey alt-M and search villagewars. Then hotkey ctrl-O and and open ./src/VillageWarsServer.py
Package: villagewars-package
Welcome to VillageWars!Here's some info on how to play this game successfully.First, you need to install python. To download the installer, visit this link:https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exeIf python is already installed, move on.When running the server for VillageWars, the computer has to access and give information through port 5555. If you can customize your firewall to let this port be used by python, then great. Otherwise you'll have to turn off the firewall temporarily while running the server.You should be good to go!Quickstart:>>> import villagewars_package>>> villagewars_package.download('C://Users/me/Desktop/')>>> villagewars_package.download.version1.5.4Go inside the VillageWars folder that was created and you'll see the current version as a folder. Go inside that and double-click "main.pyw" to start the client.
To run a server, go throught the src folder and double-click the "VillageWarsServer.py".
Package: villagewars-package-test
Welcome to VillageWars!Here's some info on how to play this game successfully.First, you need to install python. To download the installer, visit this link:https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exeIf python is already installed, move on.When running the server for VillageWars, the computer has to access and give information through port 5555. If you can customize your firewall to let this port be used by python, then great. Otherwise you'll have to turn off the firewall temporarily while running the server.You should be good to go!Quickstart:>>>import villagewars_package>>>villagewars_package.download('C://Users/me/Desktop/')Go inside the VillageWars folder that was created and you'll see the current version as a folder. Go inside that and double-click "main.pyw" to start the client.
To run a server, go throught the src folder and double-click the "VillageWarsServer.py".
Package: villain-pagination
Welcome to villain-paginationInstallationFirst of all, you need to install villain-pagination on your local to start.pip install villain-paginationMinimal ExampleVillain Paginatoruses SQLAlchemy ORM.Let's start with a simple example below.
You need to importpageandpaginatorfunction fromvillain-pagination.page: is a class which used asresponse_modelin your route declaration.paginator: is main functions that will paginate your data.To use paginate, 5 params required.db: is a SQLAlchemy session.model: is a object which you want to paginate.order_by: is a column of the model.page: is a number of a page requested to show.size: is a number of data which will shown in one page.And Here is an example.fromtypingimportIterator,AnyfromfakerimportFakerfromfastapiimportDepends,FastAPIfromsqlalchemyimportColumn,Integer,String,create_enginefromsqlalchemy.ext.declarativeimportdeclarative_basefromsqlalchemy.ormimportSession,sessionmakerfromvillainimportpage,paginatorengine=create_engine("sqlite:///.db",connect_args={"check_same_thread":False})SessionLocal=sessionmaker(autocommit=True,autoflush=True,bind=engine)Base=declarative_base(bind=engine)fake=Faker()classUser(Base):__tablename__="users"id=Column(Integer,primary_key=True,autoincrement=True)name=Column(String,nullable=False)Base.metadata.create_all()app=FastAPI()@app.on_event("startup")defon_startup()->None:session=SessionLocal()session.add_all([User(name=fake.name())for_inrange(100)])session.flush()session.close()defget_db()->Iterator[Session]:db=SessionLocal()try:yielddbfinally:db.close()@app.get("/users/",response_model=page.Page)defget_users(db:Session=Depends(get_db))->Any:returnpaginator.paginate(db=db,model=User,order_by=User.id,page=0,size=10)
Package: villains
Villian Name GeneratorGet Awesome Random Villian names!ScreenshotInspired bySindresorhus's SupervillainsInstall$ pip install villainsUsageimportvillainsprint(villains.gen())#=> The Separated Manprint(villains.genarr(3))#=> ['Green Goblin', 'Major Force', 'Roulette']Get HelpThere are few ways to get help:Pleasepost questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.For bug reports and feature requests, open issues.For direct and quick help, you canemail me.How to contributeHave an idea? Found a bug? Seehow to contribute.Thanks!LicenseMIT
Package: villainscli
Villains Name Generator CLIPrint Super Villians names in CLIInstall$ pip install villainscliUsage$ villainGet HelpThere are few ways to get help:Pleasepost questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.For bug reports and feature requests, open issues.For direct and quick help, you canemail me.How to contributeHave an idea? Found a bug? Seehow to contribute.Thanks!LicenseMIT