Saravanan666/pypi-org huggingface dataset:
Package: mc-calculator
Minecraft Recipe CalculatorOverviewThe Minecraft Recipe Calculator is a Python-based tool designed for Minecraft. It tells you how many items you need to make a specific recipe.Key FeaturesRecipe Creation: Users can create custom recipes by specifying the name of the item and the ingredients required, along with their quantities. This now supports nested recipes.Recipe Database: Recipes are saved in a SQLite database, allowing for easy retrieval and management. This also helps in preventing the creation of duplicate recipes.Ingredient Calculation: The application can calculate the total amount of each ingredient needed based on the desired quantity of the final crafted item.Recipe Browsing: Users can view a list of all saved recipes and select one for ingredient calculation.How to UsePre-RequisitesMake sure you have python installed: Validate this by runningpython --versionin your terminal.If you don't, you can get it here:Python Release 3.11.7.If it outputsPython 3.11.7(or higher), then congratulations, you've installed forbidden snake technology.Make sure you have pip installed: Check if you have pip installed by runningpip --versionin your terminal.If you don't have pip, don't worry! You can easily install it by following the instructions on thepip official websiteNote: Depending on your system, you might need to usepip3instead ofpip.InstallationInstall the package: Install the package via pip by runningpip install mc-calculatorIf you've downloaded the.whlfile from the releases, you can install it by runningpip install /path/to/mc_calculator-0.3.2-py3-none-any.whlConfirm the package installed correctly: Runmc-calculatorfrom the terminal. If its installed correctly, you'll get a menu that looks like this:__      __             __                 ___  __   __
|\/| /    __ /     /\  |    /    |  | |     /\   |  /  \ |__)
|  | \__     \__  /--\ |___ \__  \__/ |___ /--\  |  \__/ |  \



Options:
1. Create a new recipe
2. List all recipes
3. Calculate ingredients for a recipe
4. Credits
5. Exit
Choose an option:If you see this, you've installed the project successfully! Good job!Usage:Create a New Recipe: Choose to create a new recipe and follow the prompts to enter the item name, ingredients, and their quantities.View Recipes: Select the option to view all available recipes in the database.Calculate Ingredients: Choose a recipe and specify the number of final items you wish to craft. The application will display the total ingredients required.Credits: Choose to view the credits.Close the program: Choose to close the app.Report A Problem:Found a bug? Got an idea to make mc-calculator even more useful?Raise an Issue here!
Package: mccalcy
McCalcy PackageThe McCalcy package provides a Calculator class that allows you to perform basic arithmetic operations and manipulate a memory value.InstallationTo install the McCalcy package, you can use pip:pip install mccalcyUsageFirst, import the package:frommccalcyimportmccalcyCreate a Calculator instance:calc=mccalcy.Calculator()Perform calculations using the available methods:calc.add(5)calc.subtract(2)calc.multiply(3)calc.divide(2)calc.root(2)Access the current memory value:print("Memory:",calc.memory)Reset the memory:calc.reset_memory()print("Memory after reset:",calc.memory)Refer to the docstrings in the source code for detailed information on each method.ContributingContributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on theGitHub repository.LicenseThis package is licensed under theMIT License.
Package: mcc-api
Python MCC APIA wrapper for theMC Championship API, inspired byderNiklaas'snode-mcc-apiproject.Issues:https://github.com/JamesMCo/python_mcc_api/issuesMCC API documentation:https://api.mcchampionship.com/docsModule documentation:https://mrjamesco.uk/python_mcc_apiPyPI:https://pypi.org/project/mcc-api/Repository:https://github.com/JamesMCo/python_mcc_apiInstallationEnsure thatpipis updated using:python-mpipinstall--upgradepipThen install or updatemcc_apiusing:pipinstall--upgrademcc-apiUsageimportmcc_api# Print information about the current event cyclefromdatetimeimportdatetime,timezoneevent=mcc_api.get_event()ifevent.data.date<=datetime.now(tz=timezone.utc):print(f"The latest event (MCC{event.data.event}) started at{event.data.date.strftime('%I%p UTC on %A%d%B %Y')}.")else:print(f"The upcoming event (MCC{event.data.event}) starts at{event.data.date.strftime('%I%p UTC on %A%d%B %Y')}.")# Print the names of the players that played in Dodgebolt in the latest eventrundown=mcc_api.get_rundown()dodgebolt_teams=rundown.data.dodgeboltData.keys()players=sorted([playerforteamindodgebolt_teamsforplayerinrundown.data.creators[team]],key=str.casefold)print(f"The players that played in Dodgebolt in the latest event were{', and '.join([', '.join(players[:-1]),players[-1]])}.")
Package: mccd
Author:Tobias LiaudatVersion:1.2.4Repository:https://github.com/CosmoStat/mccdDocumentation:https://cosmostat.github.io/mccd/Description:The non-parametric MCCD PSF modelling, or MCCD for short, is a Point Spread Function modelling pure python package. It is used to generate a PSF model based on stars observations in the field of view. Once trained, the MCCD PSF model can then recover the PSF at any position in the field of view.
Package: mccdaq_linux
Python drivers for data acquisition hardware from Measurement Computing (http://mccdaq.com/).Currently only USB26xx devices are supported, but we could add more.Complete support for timers, counters, single-sample digital and analog input/output,waveform generation, synchronous analog input/output scanning, external/internal triggering;in a user-friendly, interactive, object-oriented format.Installation requirements-------------------------Warren Jaspers' C drivers must already installed under /opt/mcc-libhid (see https://github.com/wjasper/Linux_Drivers/tree/master/USB/mcc-libusb)Then use pip as usual::$ pip2.7 install mccdaq_linux
Package: mccli
This is an SSH client wrapper that enables SSH with OIDC access tokens.For server-side software, seemotley_cue.Compatibilitymccli works with Python 3 (>=3.7), and only Linux. Windows support is planned as plugins for popular SSH clients, such as PuTTY.DocumentationThe documentation is available atreadthedocs.Test serverYou can test this tool against ourtest SSH serverthat supports OIDC-based authentication:ssh-oidc-demo.data.kit.eduThe server accepts tokens from the following OIDC providers:EGI Check-inWLCGHELMHOLTZ AAI (production)HELMHOLTZ AAI (development)KITDEEP Hybrid DataCloudGoogleLicenseThe source code is licensed under theMIT license.The logo is licensed under theCreative Commons Attribution 4.0 International License.
Package: mcclient-lib
MCClient-libA lightweight Minecraft client for querying the status data of a Minecraft server.Supported Mincraft versionsMinecraft Java (v1.4.0 and later)Minecraft BedrockSupported protocolsServerListPingfor Minecraft java serversLegacy ServerListPingfor Minecraft java servers before 1.4Query Protocolfor Minecraft java servers (this needs to be enabled on the server)Bedrock ServerListPingfor Bedrock serversInstallationpypipip3installmcclient-libpip + githubYou can also install the package directly from github.pip3installgit+https://github.com/Sch8ill/MCClient-lib.gitUsageServerListPingfrommcclientimportSLPClient# for Minecraft Java servers from 1.7.* and newerslp_client=SLPClient("mc.example.com",port=12345)res=slp_client.get_status()QueryfrommcclientimportQueryClient# for Minecraft Java servers (needs to be enabled on the server)query_client=QueryClient("mc.example.com",port=12345)res=query_client.get_status()Bedrock ServerListPingfrommcclientimportBedrockSLPClient# for Minecraft Bedrock serversbedrock_slp_client=BedrockSLPClient("mc.example.com",port=12345)res=bedrock_slp_client.get_status()ResponseHow to handle the returned response object# The server address and porthost=res.hostport=host.portmotd=res.motdonline_players=res.players.onlinemax_players=res.players.maxplayer_list=res.players.listversion=res.version.nameprotocol_version=res.version.protocol# only for query responsesplugins=res.plugins# only for basic ServerListPinghas_favicon=res.favicon# only for query and Bedrockgametype=res.gametype# only for query and bedrockmap=res.map# only for bedrockserver_id=res.server_id# timestamp of the requesttimestamp=res.timestamp# the reponse as a dictonary with some further infomation# the keys are named like the values in the response objectres_dictionary=res.resQueryable datamotdonline player countmax player countplayer listserver versionserver protocol versionmods and pluginshas a faviconname of maphostport and hostipgametypeserver idNote: not every field is queryable with every protocol.DocumentationYou can find more documentationhere, feel free to look into thesourceif you can't find enough.
Package: mccmnc
mcc-mncmcc-mnc is a tool for matching and retrieving information about Mobile Country Codes (MCC) and Mobile Network Codes (
MNC). It allows you to search for MCC-MNC combinations, Country Codes (CC), Public Land Mobile Network (PLMN), or
individual MCC, MNC, or CC values to retrieve details about the corresponding mobile network provider. The tool uses a
JSON database that maps the MCC-MNC combinations to their associated information such as ISO country codes, country
names, and network names.InstallationYou can install mcc-mnc using pip, the Python package manager.pipinstallmccmncUsageYou can use mcc-mnc to search for MCC-MNC combinations, Country Codes (CC), PLMNs, or individual MCC, MNC, or CC values.
Here are some usage examples:# Search by Country Code (CC)mccmnc-ccXXX# Search by Mobile Country Code (MCC)mccmnc-mccXXX# Search by MCC and MNCmccmnc-mccXXX-mncXXX# Search by CC, MCC, and MNCmccmnc-ccXXX-mccXXX-mncXXX# Search by PLMNmccmnc-plmnXXXXX# Update the mcc-mnc databasemccmnc-updateThe-updateoption allows you to download and refresh the local JSON file that mcc-mnc uses for matching.Python UsageYou can also usemccmncwithin your Python programs. First, make sure it's installed in your Python environment, then
you can import it and use its functions. Here's an example:frommccmncimportfind_matches,print_matches,update# Example of searching by MCC and MNCmatches=find_matches(user_mcc="123",user_mnc="45")ifmatches:print_matches(matches)else:print("No match found.")# Example of updating the databaseupdate()These examples demonstrate how to usefind_matchesto search for MCC-MNC combinations andprint_matchesto print out
the details of the matches. Theupdatefunction is used to update the MCC-MNC database.ContributingContributions, bug reports, and feature requests are welcome! If you would like to contribute to mcc-mnc, please open an
issue to discuss your ideas or submit a pull request with your changes.Please ensure that you update or add relevant tests for your changes.Licensemcc-mnc is licensed under theMIT License. Feel free to use, modify, and
distribute this project under the terms of this license.
Package: mccolors
MCColorsMCColors is a Python module that allows you to handle Minecraft-style color codes in your terminal text output.InstallationYou can install MCColors using pip:pipinstallmccolorsUsagefrommccolorsimportmcwrite,mcreplace,mcremove# Writing text with Minecraft color codesmcwrite('&4Hello &rWorld!',reset_all=True)# Replacing Minecraft color codes with their respective colorsformatted_text=mcreplace('&6Formatted &ctext &athat &3shines!')# Removing Minecraft color codes from textclean_text=mcremove('&eClean &7this &ftext.')Functionsmcwrite(text, reset_all=True)Allows writing text with Minecraft color codes in the terminal.mcreplace(text, reset_all=True)Replaces Minecraft color codes in the text with their respective colors.mcremove(text)Removes Minecraft color codes from the text, leaving clean text.Parameterstext: The input text containing Minecraft color codes.reset_all: A boolean value that decides whether to reset the text color at the end (default: True).Contributions and IssuesContributions and suggestions are welcome! If you encounter any issues or want to contribute, please open an issue or pull request onGitHub.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.
Package: mcconv
Converter of MCEG  files from old EIC generators to HEPMC.Provides command line interface (CLI) and python API to convert old (and not old) event
generators mainly used for EIC to HepMC.CLI supported types(out of the box):LUND (vanilla pythia6)LUND GEMC (various generators especially from Clas12)Pythia6 RadCor (aka Pythia-EIC, Pythia6-BNL, Pythia6-HERMES)BeagleEic-smear (aka Eic-tree)Python API supported typesAny type of text event+particles formatsEic-smear (aka Eic-tree)
Package: mc-converter
modpack-converterConvert's one minecraft modpack format to another.Maybe I need to think of a better name...FeaturesAuto detect input modpack formatSupport convertions to and from:MultiMC (parsing only)CurseForgeModrinthpackwizDetects downloadable resourcepacks and shaders (MultiMC only)User friendly toml configMultiple output formats at onceHow to Usemc-converter [-h] [-c CONFIG] -i INPUT -f FORMAT [-o OUTPUT]Explanation:-h --help: prints help
-i --input: specifies input file (mostly zip file)
-c --config: specifies config file, used for fill the gaps like description or files not in modrinth on curseforge example can be found in this repository.
-f --format: soecifies formats to convert, must be separated by space.
-o --output: specifies output directory, where converted zip files will be stored. By default current working directory will be used.Avaliable formats:     -curseforge, modrinth, packwiz, intermediateintermediatemust be used only for debuging, can contain sensetive informationExample:mc-converter -i MyLovelyMultiMcModpack.zip -c config.toml -f curseforge modrinth -o converted_modpacksHow to InstallFrom PyPIpip install mc-converterFrom.whlfileGo to Release page, download latest.whlfileAnd install it via the following comand:pip install mc_converter_{version}.whlCreditsmurmurhash2 - Murmur Hash 2 libray -https://pypi.org/project/murmurhash2aiohttp - Async web interface -https://github.com/aio-libs/aiohttptomli - Fast pure python toml parser -https://github.com/hukkin/tomlipytoml - The only one toml writer that can handle weird packwiz files -https://github.com/avakar/pytomltenacity - Awesome, ease-in-use retrying library -https://github.com/jd/tenacity
Package: mccoygroup-mcutils
McUtilsMcUtils is a set of utilities written by the McCoy group for the McCoy group to handle common things we do, like pulling data from electronic structure calculations, doing unit conversions, interpolating functions, making attractive plots, getting finite difference derivatives, performing fast, vectorized operations, etc.We're working ondocumenting the package, but writing good documentation takes more time than writing good code.
Docs for the actively edited, unstable branch can be foundhere.Installation & RequirementsThe easiest way to install is viapip, aspip install mccoygroup-mcutilsThis should install all dependencies.
The major requirement is that Python 3.8+ is required due to use of features in thetypesmodule.
For safety, it is best to install this in avirtual environment, which we can make likepython3.8 -m pip venv mcenvand activate like. mcenv/bin/activateor to use it in acontainerorconda environmentor some other place where we can control the environment.It is also possible to install from source likegit clone https://github.com/McCoyGroup/McUtils.gitbut in this case you will need to make sure the library is on the path yourself and all of the dependencies are installed.
If you want to get all of the niceJHTMLfeatures for working in Jupyter, you'll then need to runfromMcUtils.JupyterimportJHTMLJHTML.load()and then reload the browser window when prompted.ContributingIf you'd like to help out with this, we'd love contributions.
The easiest way to get started with it is to try it out.
When you find bugs, pleasereport them.
If there are things you'd like addedlet us know, and we'll try to help you get the context you need to add them yourself.
One of the biggest places where people can help out, though, is in improving the quality of the documentation.
As you try things out, add them as examples, either to themain pageor to achild page.
You can also edit the docstrings in the code to add context, explanation, argument types, return types, etc.
Package: mccoygroup-peeves
PeevesA small layer on the built in unit testing and documentation building frameworks.
Provides little utilities to support testing, like a timer and profiler.
No assurances of reliability, but also not too bad to read the source.We also have some (minimal) documentation.Documentation on more of our packages can be foundhere.InstallationWe're distributing this via GitHub, so justgit cloneit where you need to likegit clone https://github.com/McCoyGroup/Peeves.git <your_dir>You can alsopipinstall if you like. The package name ismccoygroup-peeves.
Package: mccoygroup-psience
PsiencePsience is a set of core scientific packages written by the McCoy group for the McCoy group to handle interesting scientific problems, like DVR, managing potential and dipole surfaces, VPT2, normal mode analysis, etc.We're working ondocumenting the package, but writing good documentation takes more time than writing good code.Installation & RequirementsPsienceis written in pure python and we've worked to try to avoid any major dependencies outside of what comes inAnacondaand ourMcUtilspackage.The easiest way to install is viapip, aspip install mccoygroup-psienceThis should install all dependencies.
The major requirement is that Python 3.8+ is required due to use of the types module. If installing on Windows, use  the above command in the "Anaconda Prompt" as opposed to the default terminal installed on Windows.
For safety, it is best to install this in avirtual environment, which we can make likepython3.8 -m pip venv mcenvand activate like. mcenv/bin/activateor to use it in acontainerorconda environmentor some other place where we can control the environment.It is also possible to install from source likegit clone https://github.com/McCoyGroup/Psience.gitbut in this case you will need to make sure the library is on the path yourself and all of the dependencies are installed.Once the package is installed, you can go ahead and get started in your scripts by importing Psience with the following command.import PsienceHave fun doing Psience!ContributingIf you'd like to help out with this, we'd love contributions.
The easiest way to get started with it is to try it out.
When you find bugs, pleasereport them.
If there are things you'd like addedlet us know, and we'll try to help you get the context you need to add them yourself.
One of the biggest places where people can help out, though, is in improving the quality of the documentation.
As you try things out, add them as examples, either to themain pageor to achild page.
You can also edit the docstrings in the code to add context, explanation, argument types, return types, etc.
Package: mccp
Welcome to Multi Cam Compose ProOverviewMulti Cam Compose Pro (MCCP) is a powerful tool designed to streamline and enhance multi-camera video composition workflows. It offers a range of features and functionalities to make multi-camera video editing more efficient and user-friendly.FeaturesThis project aims to capture images of objects from multiple camera angles and detect anomalies. It uses OpenCV for image capturing and provides a modular approach to manage camera configurations and image storage.Getting StartedMultiCamComposePro - Manage multiple cameras in PythonMCCPRequirements- Python 3.10
- OpenCV
- JSON for configuration
- mkdocs, mkdocstrings, mkdocs-material
- pytestInstallationInstall package:pipinstallmccpUsageRun the main.py script to start the application:python main.pyModulescamera.pyClass: CameraManager
    Manage and capture images.
    Load camera configurations from JSON file.
    Sort and display camera angles based on configuration.main.pyFunction: main()
    Run camera identification, configuration, and image capturing process.augment.pyClass: DataAugmenter
    Create synthetic data from captured images.utils.pyClass: Warehouse
    Manage object names and setup directories.

Class: CameraConfigurator
    Find and configure all connected cameras.
    Configure exposure and white balance.

Function: batch_resize()
    Post-capture resize.

Function: wcap():
    Allow optimized image capture on Windows OS.

Function: view_camera()
    View camera feed for any connected camera.Configurationcamera_config.json: Holds the camera settings and order.DocumentationFor full documentation run:cdpath/to/mccp
mkdocsserveContactPyPi page:MCCPGithub:our GitHubContributingWe welcome contributions to the MCCP project! If you're interested in contributing, please checkout the informationhere.SupportIf you encounter any issues or have questions, please file them on ourGitHub issues page.LicenseThis project is licensed under the MIT License - see the LICENSE file for details.
Package: mcc.py
mcc.pyA Python module for controlling Minecraft Console Client Webhook botsGetting startedCurrently an example script is provided as "example.py", it has very limited usage
currently and is only able to send commands and receive their responsesDesignInterface roughly based onMCC.JSDealing with concurrencyThere are effectively two queues, one for sending messages and one for receiving them
They are not designed to be directly accessed, and have methods to allow for
interacting with them in a way that is easier to use.EXPERIMENTALThis library is currently purely experimental, as it relies on experimental
features of Minecraft Console Client. It may break with no warning due to
changes that are not under the control of the maintainer.My main goal is to play with the technologies and ideas, so this repo may not
be maintained in the future.CommandsTo save time the command are auto generated from the Minecraft-Console-Client docs,
usinggenerate_commands.py.DebuggingUnit tests have been scaffolding, but still need a lot better coverage currently
Integration tests are not currently working
E2e tests work, but require a modified MinecraftClient binaryTo change the timeout of the function "wait_for_response" (used for waiting for the
response to a command) set the environment variable "TIMEOUT".Roadmap[ ] Write e2e Robot Framework tests for the commands
[ ] Test the tests
[ ] Setup Github pipelines to run the tests automaticallyCurrently undecided[ ] Publish the package to PyPi
[ ] Publish the container to DockerHubUseful linksDocumentation that proved useful:https://websockets.readthedocs.io/en/stable/index.html