Saravanan666/pypi-org huggingface dataset:
Package: minerl-wrappers
minerl-wrappersminerl-wrapperscompiles common wrappers and standardizes code for reproducibility in theMineRL environment!Currently Supported EnvironmentsMineRL Basic EnvironmentsMineRLTreechop-v0MineRLNavigate-v0MineRLNavigateDense-v0MineRLNavigateExtreme-v0MineRLNavigateExtremeDense-v0MineRLObtainDiamond-v0MineRLObtainDiamondDense-v0MineRLObtainIronPickaxe-v0MineRLObtainIronPickaxeDense-v0MineRL Diamond Competition EnvironmentsMineRLTreechopVectorObf-v0MineRLNavigateVectorObf-v0MineRLNavigateDenseVectorObf-v0MineRLNavigateExtremeVectorObf-v0MineRLNavigateExtremeDenseVectorObf-v0MineRLObtainDiamondVectorObf-v0MineRLObtainDiamondDenseVectorObf-v0MineRLObtainIronPickaxeVectorObf-v0MineRLObtainIronPickaxeDenseVectorObf-v0Wapperspfrl wrappers: an assortment of wrappers ported over from the2020 PfN minerl baselinesand2019 PfN minerl baselinesSupports Basic Environments for 2019 and Diamond Competition Environments for 2020diamond wrappers: updated wrappers for the 2021 MineRL Diamond Competition EnvironmentsWrap argumentsFor documentation see wrapper files:pfrl_2019_wrappers.pypfrl_2020_wrappers.pydiamond_wrappers.pyRequirementsJava JDK 8Python 3.7+InstallMake sure you have Java JDK 8 installed as the only Java version for MineRL.Install with pip from pypi:pipinstallminerl-wrappersInstall directly from git:pipinstallgit+https://github.com/minerl-wrappers/minerl-wrappers.gitClone and Installgitclonehttps://github.com/minerl-wrappers/minerl-wrappers.gitcdminerl-wrappersUse your own virtual environmentvirtualenvInstalled Python 3.7+python3-mvirtualenvvenvsourcevenv/bin/activatecondaInstall Anaconda or Minicondacondacreate--nameminerl-wrapperspython=3.7
condaactivateminerl-wrappersInstall dependenciesInstall dependencies with pip:# install fixed requirementspipinstall-rrequirements.txt# set the minerl-wrappers module for importsexportPYTHONPATH=$PYTHONPATH:$(pwd)Install dependencies withpoetryinto your virtual environment:# this also installs minerl-wrappers as a packagepoetryinstall--no-devUseTo quickly test out the wrappers try:importgymimportminerlfromminerl_wrappersimportwrapenv=gym.make("MineRLObtainDiamondDenseVectorObf-v0")env=wrap(env)# plug this into your rl algorithmChange which wrappers to apply by supplying config arguments:config={"diamond":True,"diamond_config":{"frame_skip":4,"frame_stack":4,}}env=wrap(env,**config)ContributingIt is highly encouraged to contribute wrappers that worked well for you!
Just create aPull Requeston this repository,
and we'll work together to get it merged!
ReadREADME-DEV.mdfor contributing guidelines and more details!
Package: minerva-lib
minerva-lib-pythonMinerva Python Library contains common code for the Minerva suite, such as:High performance server-side rendering code implemented in native C codeMinerva client for making requests to Minerva APIHigh level utility classes for importing and exporting imagesUsing the Minerva APIAuthenticationfromminerva_lib.clientimportMinervaClientclient=MinervaClient(endpoint="MINERVA_BASE_URL",region="AWS_REGION",cognito_client_id="CLIENT_ID")client.authenticate(username="USERNAME",password="PASSWORD")Fetch raw image tiles# Credentials will be valid for 1 hourcredentials,bucket,prefix=client.get_image_credentials("IMAGE_UUID")# Returns a bytes objectres=client.get_raw_tile(credentials,bucket,"IMAGE_UUID",x=0,y=0,z=0,t=0,c=0,level=0)
Package: minerva-py
minerva-pyminerva-py is the python client to fetch data from minerva datahubInstallation$ pip install minerva-pyExamplefromminervaimportClientclient=Client(user={user},password='{password}')data=client.fetch('marketdata?sector=information_technology&begin=2020-01-10&end=2020-02-20&start=0&size=20')datahub docshttps://datahub.moyiquant.com/api-docs/
Package: minerva-python
# minerva_py[![Tagged Release](https://img.shields.io/badge/release-v0-blue.svg?longCache=true)](CHANGELOG.md)
[![Development Status](https://img.shields.io/badge/status-planning-lightgrey.svg?longCache=true)](ROADMAP.md)
[![Build Status](https://img.shields.io/badge/build-unknown-lightgrey.svg?longCache=true)](https://travis-ci.org)
[![Build Status](https://img.shields.io/badge/build-pending-lightgrey.svg?longCache=true)](https://www.appveyor.com)
[![Build Coverage](https://img.shields.io/badge/coverage-0%25-lightgrey.svg?longCache=true)](https://codecov.io)Minerva access from within python_**Note:** This project was initially created with the cookiecutter template [dough](https://gitlab.com/dboe/dough)!_:cookie:## Table of Contents[Table of Contents](#table-of-contents)[Features](#features)[Requirements](#requirements)[Installation](#installation)[Usage](#usage)[Development](#development)[License](#license)## Features## Requirements## Installation## Usage## Development## LicenseSee [LICENSE](LICENSE)MIT LicenseCopyright (c) 2020, Daniel BöckenhoffPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: minervashadow
[![McGill Logo](./assets/img/shadow-logo-transparent-big.png)](https://horizon.mcgill.ca/pban1/twbkwbis.P_WWWLogin "Minerva Webpage")Minerva Shadow=======A python interface to the aging minervashadow website.## UsageUsage:minervashadow loginminervashadow transcriptminervashadow -h | --helpminervashadow -v | --versionExamples:minervashadow loginminervashadow transcriptOptions:-h, --help     Show this screen.-v, --version  Print the current version.## InstallationIf you just want to run the package without prior installation, run:git clone https://github.com/cadesalaberry/minervashadow.gitpython minervashadow### Simplepip install minervashadowOreasy_install minervashadow### AdvancedIf you prefer not to use Pypi, or want to get the latest cutting-edge version, you can pull directly from github:pip install git+https://github.com/cadesalaberry/minervashadowOr you can use the makefile included in the repository, provided you already have git installed:git clone https://github.com/cadesalaberry/minervashadow.gitcd minervashadowmakeAnd you are good to go !### UninstallationTo remove the package, just run:pip uninstall minervashadowOrmake uninstallDepending on how you installed it.### SOCS Server bugIf you want to install minervashadow on your SOCS server, you might run into the same issues I did, providing we don't have root privileges. In order to solve it, I just had to modify my **~/.bashrc** file to look like this:# .bashrc# Source global definitionsif [ -f /usr/socs/Profile ]; then. /usr/socs/Profilefi# User specific aliases and functionsexport PYTHONPATH=$HOME/.local/lib/python2.7/site-packages:$PYTHONPATHexport PATH=$HOME/.local/bin:$PATHThe two last lines are the most important.## ContributeTo contribute do not hesitate to send me pull requests ! However when doing so, make sure you modify the less code possible, or the request would not be clear.## FutureThe future of this package is uncertain for now, but here is the planning I had for it on the short term if you are interested:https://github.com/cadesalaberry/minervashadow/issues/milestones[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/cadesalaberry/minervashadow/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
Package: minerva-torch
Minerva: Unleashing the Secrets of advanced Mathematics 🏛️🔢Minerva is a groundbreaking language model that pushes the boundaries of mathematical understanding and problem-solving. Designed with an advanced math theme, Minerva embodies the spirit of renowned mathematicians such as Euclid, Pythagoras, and Archimedes. By harnessing their advanced wisdom, Minerva offers unparalleled capabilities in mathematical reasoning and exploration.InstallpipinstallminervaUsageimporttorchfromminervaimportMinerva,Train# Example usagex=torch.randint(0,20000,(1,1024))Minerva(x)# or trainTrain()TrainingTo train Minerva, follow these steps:Configure the training settings by setting the environment variables:ENTITY_NAME: Your wandb project nameOUTPUT_DIR: Specify the output directory for saving the weights (e.g.,./weights)Launch the training process using Deepspeed:AccelerateConfig
Acceleratelaunchtrain_distributed_accelerate.pyDataset BuildingTo build a custom dataset for Minerva, you can preprocess the data using thebuild_dataset.pyscript. This script performs tasks such as pre-tokenization, data chunking, and uploading to the Huggingface hub. Here's an example command:DatasetDescriptionMathematical Web PagesWeb pages containing mathematical expressions in MathJax format, cleaned to preserve math notationarXiv2 million arXiv papers up to Feb 2021, in LaTeX formatGeneral Natural Language DataSame dataset used to pretrain PaLM modelsThe mathematical web pages and arXiv datasets focus on technical and mathematical content. The general natural language data provides a broad coverage of general language.The paper states the mathematical web pages and arXiv each account for 47.5% of the total data. The remaining 5% is general natural language data which is a subset of what was used for PaLM pretraining.Roadmap 🗺️📍Create a dataset of ARXVIV papers
Package: minerva-ufrj
minervaUm renovador automático de livros da biblioteca da UFRJInstalaçãoRequer Python3.7+, pode ser obtido viapipou executando o scriptsetup.pyem um clone do repositório.Linux, OSx$python3-mpipinstallminerva-ufrjou$pip3installminerva-ufrjWindows>pipinstallminerva-ufrjUso$ minerva --helpPara renovar os livros de uma conta use o comando:minerva [user] [pswd]Para guardar em cache suas credenciais:minerva -c [user] [pswd]Para listar as credenciais armazenadas:minerva -lPara renovar os livros de todas as credenciais armazenadas:minerva -rPor fazer:Implementar configurações de renovação automática (agendada).Algo comominerva --scheduleque agende uma renovação ao conectar-se à internet.Implementar casos de erro ao renovar.
Simplesmente melhores relatórios de falha.
Package: minerva-ui
MINERVA: An out-of-the-box GUI tool for offline deep reinforcement learningMINERVA is an out-of-the-box GUI tool for offline deep reinforcement
learning, designed for everyone including non-programmers to do reinforcement
learning as a tool.Documentation:https://minerva-ui.readthedocs.ioChat:key features:zap: All You Need Is DatasetMINERVA only requires datasets to start offline deep reinforcement learning.
Any combinations of vector observations and image observations with discrete
actions and continuous actions are supported.:beginner: Stunning GUIMINERVA provides designed with intuitive GUI to let everyone lerverage extremely
powerful algorithms without barriers. The GUI is developed as a Single Page
Application (SPA) to make it work in the eye-opening speed.:rocket: Powerful AlgorithmMINERVA is powered byd3rlpy, a powerful
offline deep reinforcement learning library for Python, to provide
extremely powerful algorithms in an out-of-the-box way. The trained policy can
be exported asTorchScriptandONNX.installationPyPI$ pip install minerva-uiDocker$ docker run -d --gpus all -p 9000:9000 --name minerva takuseno/minerva:latestupdate guideIf you update MINERVA, the database schema should be also updated as follows:$ pip install -U minerva-ui
$ minerva upgrade-dbusagerun serverAt the first time,~/.minervawill be automatically created to store
database, uploaded datasets and training metrics.$ minerva runBy default, you can access to MINERVA interface athttp://localhost:9000.
You can change the host and port with--hostand--portarguments
respectively.delete dataYou can delete entire data (~/.minerva) as follows:$ minerva cleancontributionsbuild$ npm install
$ npm run buildcoding styleThis repository is fully formatted withyapfandstandard.
You can format the entire scripts as follows:$ ./scripts/formatlintThis repository is fully analyzed withPylint,ESLintandsass-lint.
You can run analysis as follows:$ ./scripts/linttestThe unit tests are provided as much as possible.
This repository is usingpytest-covinstead ofpytest.
You can run the entire tests as follows:$ ./scripts/testacknowledgementThis work is supported by Information-technology Promotion Agency, Japan
(IPA), Exploratory IT Human Resources Project (MITOU Program) in the fiscal
year 2020.The concept of the GUI software for deep reinforcement learning is inspired byDeepAnalyzerfrom Ghelia inc.
I'm showing the great respect to the team here.
Package: mines-data-engineering
Mines Data EngineeringThis package simplifies the process of starting common database systems in the background on Singularity Hub.Supported DatabasesMongoDBTimescaleDB (and Postgres)ExamplesMongoDBfrommines_data_engineeringimportstart_mongoimportpymongo# will need wait a couple minutes the first time this happens# while Singularity downloads and converts the Docker imageconnection_string=start_mongo()client=pymongo.MongoClient(connection_string)client.my_db.my_col.insert_one({'finally':'working'})Postgres/TimescaleDBfrommines_data_engineeringimportstart_postgresimportpsycopg2# will need wait a couple minutes the first time this happens# while Singularity downloads and converts the Docker imageconnection_string=start_postgres()conn=psycopg2.connect(connection_string)cur=conn.cursor()cur.execute("SELECT 1")assertnext(cur)==(1,)
Package: mines-market
Mines Market PackageThis 'mines_market' python package allows users to see menu options for any sodexo sponsored dining option. The package was made for Mines Market located at the Colorado School of Mines, but has the ability to work for other locations through a unique location id assigned to each dining option.RequirementsThis module requires the following modules:[requests]InstallationInstall this package as you normally would via 'pip install mines_market'UsageNOTE: Package requires the use of an API key for sodexo's bite APILink to register found here:Sodexo's Bite APIUsers can use this package via two main functions:1. fetch_location_ids(location, apiKey, url)Parameters- location: Location name of the place you are trying to access. For Mines Market, this is 'mines'
- apiKey: Use the API key given once you register for Sodexo's Bite API
- url: Link to request URL of sodexo's bite API that gets location ids. Use default argument for linkReturns- 'list': A list containing the location id2. get_parsed_menu(apiKey, locationId, date, url)Parameters- apiKey: Same parameter as used in fetch_location_ids
- locationId: Location id of chosen place. Use fetch_location_ids to get id
- date: Specify which date's menu you are trying to access. Default argument given as today
- url: Link to request URL of sodexo's bite API that gets menu. Use default argument for linkReturns-  'dict': Full menu for given date
Package: minesoft-patbase-client
Minesoft PatBase REST API clientAboutminesoft-patbase-clientis a client library for accessing the Minesoft PatBase REST API.
It is written in Python.Currently, it implements wrappers for the following API methods:LoginQuerySearchResultsFor more details about the whole list of API methods,
please consult the canonicalPatBase REST API documentation.About PatBase REST APIThe Minesoft PatBase API allows software applications to interface seamlessly
with PatBase, Minesoft’s global patent database. Containing approximately
100 million patent documents from over 100 patent issuing authorities,
PatBase is used by large corporations, international IP law firms and tech
transfer companies for search, review, analysis and monitoring of patent information.The Minesoft PatBase API is a modern REST API with advanced functionality to
create individual software solutions, for powerful data retrieval and for
integrating with federated search engines as well as in-house corporate applications.For more details, see also the blog articleMinesoft API to access big patent data.Getting startedInstallIf you know your way around Python, installing this software is really easy:pip install minesoft-patbase-clientPlease refer to thevirtualenvpage about further guidelines how to install and use this software.Usage# Login to PatBase API and remember credentials for subsequent requests
patbase login --username=test@example.org --password=secret

# Submit fulltext search expression and display results in JSON format
patbase search 'FT=(Space Shuttle)' | jq .Project informationminesoft-patbase-clientis released under the terms of the GNU AGPL 3.0 license.
The code lives onGitHuband
the Python package is published toPyPI.
You might also want to have a look at thedocumentation.The software has been tested on Python 2.7 and Python 3.6.ContributingIf you’d like to contribute you’re most welcome!
Spend some time taking a look around, locate a bug, design issue or
spelling mistake and then send us a pull request or create an issue.Thanks in advance for your efforts, we really appreciate any help or feedback.LicenseThis software is copyright © 2018 The PatZilla authors. All rights reserved.It is and will always befree and open source software.Use of the source code included here is governed by theGNU Affero General Public Licenseand theEuropean Union Public License.Have fun!
Package: minesweeper-mvc
MinesweeperThis simple implementation of the minesweeper game is done in Python using the pygame game library and the MVC pattern.RequirementsPython +3.6Installation$ pip install minesweeper-mvcHow to playLeft click to step on a spotRight click to mark a spot as a bombStart game$ minesweeperLicenseMinesweeper is released under the MIT license. See LICENSE for details.ReferencesMinesweeperContactTelegram:@GerruxFollow me on GitHub:@Gerrux
Package: minesweeperPy
minesweeperPyCreated by stshrewsburyDevA simple minesweeper generator for Python 3Changelogs:Version2.1Latest changelogsInstallation:Install with pip:pip install minesweeperPyUpdate with pip:pip install minesweeperPy --upgradeInstall from source:python setup.py installLinks:GitHub repoPyPi project pageDocumentationMy website
Package: minetcookies
minetcookiesTable of ContentsInstallationLicenseDescriptionUsageExamplesFull commandsCookies onlyMedias supportedBrowsers supportedInstallationpipinstallminetcookiesLicenseminetcookiesis distributed under the terms of theAGPLv3 license.Minet cookies, a cookie manager for MinetDescriptionminetcookiesis a cookie manager forMinet.
It checks for cookies by using the minet cli ant then writes them to the Minet config file.
Preventing you from doing it manually.Additionally, it can also read minet commands, in that case, it will check for cookies and then return a folder path
based on the curent directory and the keyword. This is useful for chaining commands.CAUTION: For this script to work, you need to have one of the supported browsers installed and be logged in to the
social media you want to use minet with.Usageminetcookies[media]orminetcookies[minetcommand]ExamplesFull commandsminetcookiestiktoksearch-videostest-l20ORminettwitterscrapetweetstest--limit20Cookies onlyminetcookies[tiktok|twitter|facebook|instagram]Medias supportedInstagramTiktokTwitterFacebookBrowsers supportedChromeFirefoxChromiumEdge
Package: minetest-launcher
Minetest LauncherA GTK Minetest server browser and launcherThis is in a very early development stage.Basic roadmap:Server list implementationLogin managementDetect and launch MinetestPreferencesInstallationTo install the latest development version:pip install https://github.com/destofr/MinetestLauncher/archive/refs/heads/main.zipContributingBug reports and pull requests are welcome.
Package: minetest-log-parser
Minetest log parserSimple parser for Minetest logs. Parses Minetest logs to JSON.DescriptionIt only asks for player actions on the server, including authorization and events such as digs, places, moves, actives, punched etc.UsingSimple example reading via generator parsed dicts:fromsrc.minetest_log_parser.Parser.MinetestLogParserimportMinetestLogParserif__name__=='__main__':input="./debug.txt"minetestParser=MinetestLogParser(input)forparsedLoginminetestParser.read():playerNames=['littlePrettyCat','Melon','Player']ifparsedLog['name']inplayerNames:print(parsedLog)Example for import logs to JSON:fromsrc.minetest_log_parser.Parser.MinetestLogParserimportMinetestLogParserif__name__=='__main__':input="./debug.txt"output="./debug.json"minetestParser=MinetestLogParser(input)minetestParser.importToJson(output)Parsed line output examples:Action:{"timestamp":1698474247,"name":"Player","action":"places node","meta_action":null,"node":"default:dirt","count":1,"coords":null,"type":null,"logType":"action"}Beowulf auth:{"timestamp":1698471091,"name":"Player","ip":"127.0.0.1","protocolVersion":"40","formspecVersion":"4","lang":"en","logType":"beowulfAuth"}Default auth:{"timestamp":1698471091,"name":"Player","ip":"127.0.0.1","logType":"auth"}
Package: minetest-python-nsi
PrésentationCette bibliothèque permet d'exécuter des scripts Python dans le jeu Minetest (un jeu largement inspiré de Minecraft mais open source et gratuit).Ce travail s'appuie sur celui de Alessandro Norfo (sprintingkiwi)https://github.com/sprintingkiwi/pycraft_lib, également inspiré de Aron Nieminen et Mojang AB pour la partie connexion.InstallationCôté jeuWindows:Télécharger une version de Minetest préconfiguréehttps://github.com/sprintingkiwi/pycraft_mod/releases/download/0.22/Pycraft_Minetest.exe.Il s'agit d'une version 4.16, portable.Linux:Installer le jeu Minetest:https://www.minetest.net/downloads/Installer Lua (5.1)Installer LuarocksDans un terminal, exécuter:luarocks install luasocketDécompresser lepycraft_modde sprintingkiwi dans le dossiermodsde Minetest:https://github.com/sprintingkiwi/pycraft_mod/releases/tag/0.22Renommer le dossier du pycraft_mod, pour qu'il n'y ait pas de point, d'espace...Dans le jeu, créer un monde et activer le pycraft_mod dans la configuration.Côté PythonInstaller la bibliothèqueminetest-python-nsipip install minetest-python-nsiImporter la bibliothèquefromminetest_python_nsiimport*Utilisationfromminetest_python_nsiimport*# Connexion en localconnexion()pos=recuperer_ma_position()x,y,z=pos[0],pos[1],pos[2]+1# Pose un bloc de diamant à côté du joueurposer_bloc((x,y,z),57)fromminetest_python_nsiimport*# Connexion à un serveur distant# port par défaut: 4711connexion("mon_pseudo","mon_serveur.fr",4711)Ladocumentationcomplète de la librairie.