Saravanan666/pypi-org huggingface dataset:
Package: mcanitexgen
Animated-texture generator for MinecraftAnitexgen is a generator for ".mcmeta" files that Minecraft uses to animate textures.It allows you to write texture animations in Python instead of json. Using a proper programming language enables you to create much more complex animations, like this model that uses 3 animated textures to create a moving dog.InstallationUsageGetting startedCreate a simple animationMore examplesChangelogInstallationpip install mcanitexgenUsageGenerate .mcmeta files for all animations in an animation file$mcanitexgengenerate<animation_file>-o,--outTheoutputdirectoryofthegeneratedfiles-m,--minifyMinifygeneratedfiles-i,--indentIndentationusedwhengeneratingfiles--dryDryrun.Don'tgenerateanyfilesCreate gifs for all animations in an animation file$mcanitexgengif<animation_file>-o,--outTheoutputdirectoryofthegeneratedfilesGetting startedCreate a simple animationWe are going to create this blinking Steve:First we have to create the different states of the animation.
I created a simplesteve.pngfile:Top to Bottom: Looking normal, blinking, wink with right eye, wink with left eye.Now we can create the animation filesteve.animation .pythat uses these states to create an animation:frommcanitexgen.animationimportanimation,TextureAnimation,State,Sequence@animation("steve.png")classSteve(TextureAnimation):NORMAL=State(0)# Look normalBLINK=State(1)WINK_RIGHT=State(2)# Wink with right eyeWINK_LEFT=State(3)# Wink with left eye# Look normal and blink shortlylook_and_blink=Sequence(NORMAL(duration=60),BLINK(duration=2))# The main Sequence used to create the animationmain=Sequence(3*look_and_blink,# Play "look_and_blink" Sequence 3 timesNORMAL(duration=60),WINK_LEFT(duration=30),look_and_blink,NORMAL(duration=60),WINK_RIGHT(duration=30),)Files overview:resourcepack
  ⠇
  textures
    └╴ item
       ├╴steve.png
       └╴steve.animation.pyPassing the animation file to Anitexgen will create asteve.png.mcmetafile:$mcanitexgengeneratesteve.animation.pysteve.png.mcmeta{"animation":{"interpolate":false,"frametime":1,"frames":[{"index":0,"time":60},{"index":1,"time":2},{"index":0,"time":60},{"index":1,"time":2},{"index":0,"time":60},{"index":1,"time":2},{"index":0,"time":60},{"index":3,"time":30},{"index":0,"time":60},{"index":1,"time":2},{"index":0,"time":60},{"index":2,"time":30}]}}resourcepack
  ⠇
  textures
    └╴ item
       ├╴ steve.png
       ├╴ steve.animation.py
       └╴ steve.png.mcmeta
Package: mcanvil
AnvilWhat is Anvil?Anvil is a Minecraft Bedrock development tool designed to make creating content for Minecraft Bedrock easier and consistent. It is build around modularity and extensibility, allowing you to create your own modules and plugins to extend the functionality of Anvil.RequirementsTo use Anvil,python3.10.0or higher must be installed.Due to Minecraft bedrock being primarily developed on Windows, Anvil is only supported on Windows.FeaturesDevelop the entire project in python, no need to dive into json files.Reusable modules and scripts to make development easier.Automatic packaging of the project into a.mcpack,.mcaddonor.mcworldand more.Automatic validation for Marketplace content.InstallingTo install Anvil, run the following command in your terminal:pipinstallmcanvilUsageanvilcreate<namespace><project_name>[options]namespaceThenamespaceoftheproject."minecraft"isareservednamespaceandcannotbeused.
project_nameThenameoftheproject.[options]:--previewGeneratestheprojectinMinecraftPreviewcom.mojanginsteadofrelease.--scriptapiAddsdependenciessupportofScriptAPI--pbrAddsdependenciessupportofPhysicallybasedrendering--random_seedAddssupportofRandomSeedWorlds.--addonSetsthispackageasanaddon,comeswithmanyrestrictions.Links & ResourcesDocumentation- Official docs foranvil.Bedrock Learn Portal- Official Minecraft Bedrock Documentation.
Package: mcap-protobuf-support
Python MCAP protobuf supportThis package provides protobuf support for the Python MCAP file format reader.InstallationInstall viaPipenvby addingmcap-protobuf-supportto yourPipfileor via the command line:pipenvinstallmcap-protobuf-supportExamplesExamples of use of this package can be found in the/examplesdirectory. To run the examples first run
pipenv to install dependencies:pipinstallpipenv
pipenvinstallThen switch to the examples directory and run the setup script there:cdexamples
./setup.shYou should now be able to run the examples:pipenvrunpythonpoint_cloud_example.pyoutput.mcapStay in touchJoin ourSlack channelto ask questions, share feedback, and stay up to date on what our team is working on.
Package: mcap-ros1-support
Python MCAP Ros1 supportThis package provides ROS1 support for the Python MCAP file format reader &
writer.InstallationYou can install directly via pip.pipinstallmcap-ros1-supportReading ROS1 Messages# Reading from a MCAP filefrommcap_ros1.readerimportread_ros1_messagesformsginread_ros1_messages("my_data.mcap"):print(f"{msg.topic}: f{msg.ros_msg}")Writing ROS1 Messagesfrommcap_ros1.writerimportWriterasRos1Writerfromstd_msgs.msgimportStringoutput=open("example.mcap","w+b")ros_writer=Ros1Writer(output=output)foriinrange(0,10):ros_writer.write_message("chatter",String(data=f"string message{i}"))ros_writer.finish()Stay in touchJoin ourSlack channelto ask questions,
share feedback, and stay up to date on what our team is working on.
Package: mcap-ros2-support
Python MCAP ROS2 supportThis package provides ROS2 support for the Python MCAP file format reader. It has no dependencies on ROS2 itself or a ROS2 environment, and can be used in any Python project.InstallationYou can install directly via pip.pipinstallmcap-ros2-supportReading ROS2 Messages# Reading from a MCAP filefrommcap_ros2.readerimportread_ros2_messagesformsginread_ros2_messages("my_data.mcap"):print(f"{msg.channel.topic}: f{msg.ros_msg}")Stay in touchJoin ourSlack channelto ask questions,
share feedback, and stay up to date on what our team is working on.
Package: mcaptcha-api
mcaptcha_api: Python library to interact with mCaptcha serverInstallationpipinstallmcaptcha_apiUsageParameterInfoinstance_urlthe URL of the mCaptcha instance you are usingsitekeyThe captcha identifier; can be obtained from dashboard or from widget URL (http://hostname/widget?sitekey=<sitekey>secretAccount secret; can be obtained from mCaptcha dashboard account settings pagemcaptcha=MCaptcha(instance_url=INSTANCE_URL,sitekey=SITEKEY,secret=SECRET)assertmcaptcha.verify(token=TOKEN)isTrue
Package: mcash-mapi-client
A SDK used to make communication with mCASH’s merchant API easier. A basic usage example is shown inmapi_client_example.Before using this clientBe aware that this client is in beta. Backwards incompatible changes should not occur, but updates might be frequent. Comments and pull requests are welcome.Make sure you are familiar with the documentation, found at:http://dev.mca.sh/merchant/. Consider reading the tutorials athttp://dev.mca.sh/tutorials/.Register as a merchant athttps://my.mca.sh/ssp/merchant/UsageMapiClient is the main class and can be found inmapi_client. It’s constructor takes 4 required arguments:mcash_merchant: Your merchant id, received while registering.mcash_user: Your merchant user, added in the SSP.base_url: The base url to use. For production this ishttp://api.mca.sh/. The URL’s to use for testing can be found athttp://dev.mca.sh/.auth: The authentication method to use. Accepts one of the classes defined inauth.  See the ‘Auth’ section for more information.After being instantiated with these arguments, the client is ready to use. All functionality is provided as member methods of the MapiClient class.AuthThe merchant API supports 3 authentication levels:Open (no authentication)SecretRSAThese are represented in the merchant API client as classes in theauthfile. When passed as an argument to the MapiClient during instantiation, authentication will be automatically applied to every request.LicenseCopyright (C) 2014 mCASH Norge ASPermission 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: mcasm
mc-asmmc-asm provides a Python API for turning assembly into machine code, providing
rich symbolic information.Copyright and AcknowledgmentsCopyright (C) 2020 GrammaTech, Inc.This code is licensed under the MIT license. See the LICENSE file in
the project root for license terms.This project is sponsored by the Office of Naval Research, One Liberty
Center, 875 N. Randolph Street, Arlington, VA 22203 under contract #
N68335-17-C-0700.  The content of the information does not necessarily
reflect the position or policy of the Government and no official
endorsement should be inferred.The header files under thesrc/llvm-headers/directory are copied from the
LLVM project and are licensed under the Apache License v2.0 with LLVM
Exceptions (a copy of that license is included in thesrc/llvm-headers/directory).The following files from the open-source LLVM project are included in the
MCASM repository.Files:AArch64MCExpr.h (fromllvm/lib/Target/AArch64/MCTargetDesc/)MipsMCExpr.h (fromllvm/lib/Target/Mips/MCTargetDesc/)Project Name: LLVMProject Version: 14.0.6License: Apache License v2.0 with LLVM Exceptions
Package: mcast
The simplest multicast file transfer app on earth ! ;)
+ pure python netcat (as fallback ?)Pull data:mcastPush data:mcast file.extFeaturestransfer files of any size to multiple hosts at a timesimple to use (even NetCat is more complex !)single file app, runs on any platform (pure Python)file corruption detected automaticallyLimitationscomputers must be on the same networknc.pytool featured fortraditionaltcp connectionsone file transfer at a time [TODO: fix this]How to use itreceivecallmcastwithout argumentsendcallmcastwith file as argument, or “-” for stdinThere are two steps:start program on each computer wanting to receive the file or contentstart the program with the file as parameter on any computer of the networkOn computers you want to send the file toRun this command to receive data and show it on the console:mcastor, more common, saving the content to a file:mcast > my_super_file.extor, unpack the transmitted tar archive:mcast | tar xvfOn the computer owning the file to distributemcast path/to/file.extor, if you want to send multiple files using tartar cvf - path/to/send | mcast -DevelopersThis app is supported and tested only under Linux, but patches for other OS are accepted.
Package: mcastsocket
===============================Multicast Socket===============================.. image:: https://img.shields.io/pypi/v/mcastsocket.svg:target: https://pypi.python.org/pypi/mcastsocket.. image:: https://img.shields.io/travis/mcfletch/mcastsocket.svg:target: https://travis-ci.org/mcfletch/mcastsocketProvides a simple interface for configuring multicast socket services* Free software: LGPL 2.1 licenseSample Usage------------See `docs/sample.py <docs/sample.py>`_.. literalinclude:: docs/sample.py:language: python:linenos:Migrating from `zeroconf.mcastsocket`--------------------------------------If you've been using the `forked zeroconf mcastsocket module <https://github.com/mcfletch/pyzeroconf>`_, just update yourimports from::from zeroconf import mcastsocketto::from mcastsocket import mcastsocketand your code should continue to work.Credits---------The original "how to work with multicast" code comes from PyZeroconf. The mcastsocketmodule is largely new-code, but it does derive from the original PyZeroconf, so retainsits license (LGPL).This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template... _Cookiecutter: https://github.com/audreyr/cookiecutter.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage=======History=======1.0.0 (2016-04-21)------------------* First release on PyPI.
Package: mca-traceroute
MCAThis tool implements the Multipath Classification Algorithm (MCA), an extension to Paris traceroute and the Multipath Detection Algorithm (MDA). MCA can detect routers that perform load balancing and identify what fields in the IP and transport headers are used for load balancing.A more detailed explanation of MCA, together with a characterization of load balancing appeared in our INFOCOM 2020 paper:R. Almeida, Í. Cunha, R. Teixeira, D. Veitch, and C. Diot. "Classification of Load Balancing in the Internet". In Proc. IEEE INFOCOM, 2020.PDFBibTeXInstallationMCA has been tested on Linux. It requires Python 3.6+ and Scapy 2.4+. The latest version is available onPyPI, the Python Package Index:pip3 install mca-traceroute
mca-traceroute --helpYou can also run MCA as a Python module directly from the Git repository. You may need to install Scapy asrootas MCA requires root privileges to execute.sudo pip3 install scapy
git clone https://github.com/rlcalmeida/mca.git
cd mca
sudo python3 -m mca --helpAdditional ResourcesRoute Exploreris a visualization framework for MCA results.  It renders MCA measurements in a Web browser using Javascript libraries and supports IP-to-AS, AS-to-name, and rDNS metadata.  Our paper's dataset and some example load balancers configuration arepublicly available.
Package: mcauth
django-mcauth is a pluggable authentication back-end that lets your users
login with their Minecraft.net user/pass.WarningAuthentication against Minecraft.net auth servers is not
officially endorsed, and may cease to work at any time. Using a fallback
authentication backend (like Django’s default) will prevent complete
failure if Notch ever decides to lock things down. Also keep in mind that
if you run a high traffic site, you may be asked to stop hitting the
Minecraft.net auth server.RequirementsDjango 1.2+Python 2.6 or 2.7 (I don’t care to officially support 2.5)InstallationAdd'mcauth.backend.MinecraftAuthServerBackend'to your settings.py like
so:AUTHENTICATION_BACKENDS = (
    'mcauth.backend.MinecraftAuthServerBackend',
    'django.contrib.auth.backends.ModelBackend',
)If you don’t want to create new local Django users when someone logs in with
a valid user/pass, but doesn’t already exist in the DB, you can do this in
settings.py:# Only existing User objects can be authenticated against.
MCAUTH_CREATE_UNKNOWN_USERS = FalseSupportIf you have questions or ideas, or encounter bugs, add an entry to ourissue tracker.Licensedjango-mcauth is licensed under theBSD License.
Package: mc-authn
mc-authn: Authenticator for Minecraft with MicrosoftInstallationpipinstallmc-authnUsage1. Create Azure Token(You can followthis guidefor more details)Sign in to theAzure PortalClick "Azure Active Directory" (the icon should look like Ramiel from EVA 🤔)Click "App registrations" on the left navigation menuClick "New registration" on top leftGive it a nameFor "Supported account types," select "Personal MS accounts only"For "Redirect URI", select "Web" and type "http://localhost:18275"Now you should be in the overview page of your app!You should see a field "Application (client) ID", copy that somewhereClick "Certificates & secrets" on the left navbarIn the "Client secrets" tab, click "New client secret"Give it a descriptionFor "Expires" select "24 months"Click "Add"There should be "Value" and "Secret ID", copy "Value"Write this in~/.config/mc-auth/auth_config.yml:ClientID:Paste the "Application (client) ID" hereClientSecret:Paste the "Value" you copied here2. Login!You can now runmc-authnto login! After logging in, it will create a text file~/.config/mc-auth/mc-token.txtcontaining your minecraft token.In your start script for minecraft, add the--accessTokenargument to the java line used to start minecraft:mc-authnexportname=$(<~/.config/mc-auth/mc-name.txt)exportuuid=$(<~/.config/mc-auth/mc-uuid.txt)exportauth=$(<~/.config/mc-auth/mc-token.txt)java...net.minecraft.client.main.Main...\--accessToken${auth}\--uuid${uuid}\--username${name}3. Start Minecraft!You can now start minecraft!
Package: mc-autofisher
# MinecraftAutoFisher[![Documentation Status](https://readthedocs.org/projects/minecraftautofisher/badge/?version=latest)](https://minecraftautofisher.readthedocs.io/en/latest/?badge=latest)## Description
The goal of fishing in Minecraft is to cast your line and wait until the fishing bobber bobs in the water.
If you click quickly enough when that happens, you’ll reel in a fish (or some treasure!).This program ~~cheats~~ automates this process for you by watching the subtitles on the screen; When the bobber bobs,
it makes a splashing sound and if you have subtitles enabled the text ‘Fishing Bobber splashes’ appears. This program watches
the screen and right clicks whenever it sees that text, allowing it to keep reeling in fish as long as you leave it running.## Installation
Requires [tesseract](https://github.com/tesseract-ocr/tesseract)More details to come## Usage
This README needs to be updated, see the [docs](https://minecraftautofisher.readthedocs.io) for usage details
Package: mc-automation-tools
automation-kitThis pytonic package include useful sub-packages and implementation for variant manipulation of automation infrastructure.Include:base_request - wrapper for restful API's requests [post, get, etc..]S3storage - wrapper of boto3 library for handling with S3 storage typeCommon - common utils for string manipulations, urls, storage, os, and data-types convertorJira - integration sub-package for connecting pytest results with jira's dashboard.PostGres support wrapping module that provide useful class and function working with pgMC-ingestion mutual API's wrappers:job manager api wrapper:Multiple API accessAutomation utilities -> Job Follower[Example]overseer api wrapperagent api wrapperazure pvc handler -> automation internal service to mock NFSMC-sync mutual API's wrappers:layer spec api wrapper:Multiple API access as describe on layer spec api docs
Package: mcbackup
mcbackupThis program backs up a local Minecraft server instance. You must have
enabled RCON on the server.InstallationRunpip install mcbackup.Usage$ mcbackup --help
Usage: mcbackup [OPTIONS]

  This program backs up a local Minecraft server instance

Options:
  --password TEXT         [required]
  --port INTEGER
  --world TEXT            Directory to back up
  --directory TEXT        Directory for storing backups
  --careful / --careless  Back up only when no players are present
  --source TEXT           Source, e.g. server name
  --keep-only INTEGER     Number of backup files to keep
  --sync TEXT             Server to sync to, not yet implemented
  -h, --help              Show this message and exit.
Package: mcbootflash
mcbootflashWhatMcbootflash is a Python tool for flashing firmware to 16-bit Microchip MCUs and DSCs
from the PIC24 and dsPIC33 families of devices, which are running abootloadergenerated by the MPLAB Code Configurator tool.Mcbootflash is intended to be a drop-in replacement for Microchip's official tool, the
Unified Bootloader Host Application (UBHA).WhyMcbootflash is:ScriptableAs a command-line application, mcbootflash is easily scriptable.ExtensibleIn addition to its command-line interface, mcbootflash can be used as a library by
applications wanting to implement firmware flashing as part of a larger suite of
features.Free and Open SourceMcbootflash is distributed under the MIT license.Installationpip install mcbootflashUsageMcbootflash can be used as both a command-line application and a library.Command-line$ mcbootflash --help
usage: mcbootflash [-h] -p PORT -b BAUDRATE [-t TIMEOUT] [-v] [-q] [--version] hexfile

Flash firmware over serial connection to a device running Microchip's 16-bit bootloader.

positional arguments:
  hexfile               an Intel HEX file containing application firmware

optional arguments:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  serial port connected to the device you want to flash
  -b BAUDRATE, --baudrate BAUDRATE
                        symbol rate of device's serial bus
  -t TIMEOUT, --timeout TIMEOUT
                        try to read data from the bus for this many seconds before giving up
  -v, --verbose         print debug messages
  -q, --quiet           suppress output
  --version             show program's version number and exitExample$ mcbootflash --port /dev/ttyUSB0 --baudrate 460800 firmware.hex
Connecting to bootloader...
Connected
Existing application detected, erasing...
Application erased
Flashing firmware.hex
100%  88.7 KiB |########################################| Elapsed Time: 0:00:05
Self verify OKLibraryWhen using mcbootflash as a library, typical workflow looks something like this:importmcbootflashasbfimportserial# Connect to a device in bootloader mode.connection=serial.Serial(port=<PORT>,baudrate=<BAUDRATE>,timeout=<TIMEOUT>)# Query its attributes.bootattrs=bf.get_boot_attrs(connection)# Load the firmware image and split it into chunks.total_bytes,chunks=bf.chunked(hexfile=<HEXFILE_PATH_STRING>,bootattrs)# Erase the device's program memory area.bf.erase_flash(connection,bootattrs.memory_range,bootattrs.erase_size)# Write the firmware chunks to the bootloader in a loop.forchunkinchunks:bf.write_flash(connection,chunk)# Optionally, check that the write is OK by checksumming.ifbootattrs.has_checksum:bf.checksum(connection,chunk)# At this point, you may want to give an indication of the flashing progress,# like updating a progress bar.# Verify that the new application is detected.bf.self_verify(connection)See also theAPI Reference.