Saravanan666/pypi-org huggingface dataset:
Package: mcctl
mcctlA Minecraft Server Management Utility written in Python.PrerequisitesTo use mcctl, your server setup should look something likethis.Starting from Version 0.4.0, a compiler (e.g.gcc), the Python3 Headers (python-devorpython3-devel) and systemd Headers (libsystemd-devorsystemd-devel) must be installed on your System before attempting Installation via pip.InstallationThe easiest way to install mcctl is via pip:sudopipinstallmcctlOr even better: use pipx!sudo-i
pipinstall--userpipxecho"export PIPX_HOME=/usr/local/lib/pipx">>./bash_profileecho"export PIPX_BIN_DIR=/usr/local/bin">>./bash_profileexit# Reload environment variablessudo-ipipxinstallmcctlIn some cases, thesecure_pathofsudomust be changed. Ifsudo mcctlreturns "Command not found", add/usr/local/binto yoursecure_path.Getting startedAs soon as mcctl is installed, you can create a new server:sudomcctlcreatemyservervanilla:latest-m3G-pserver-port=25566"motd=My new fancy Minecraft Server!"create: Sets up a new server and configures it accordingly.Instance ID: gives the server a specific name (ID) which can be used in other commands.Type ID: Specifies the Minecraft server type. Automatically downloads the "jar"-File if not cached.Memory (-m): The amount of memory a server gets. Defaults are set via the systemd unit explained inPrerequisites.Properties (-p): Options for theserver.properties-File. Values with spaces can be quoted as shown above.The server is now created, but not running. For that, you can use thestartcommand:sudomcctlstartmyserver-pstart: Starts a server.Instance ID: The name of the server to start.Persistent (-p): Sets up the server to be started after a reboot of the OS.We can check if the server runs using the Commandls:sudomcctlls-fmyserver

NameServerVersionStatusPersistentmyserver1.15.2ActiveTrueConfigurationIn case you need to change the Unit Name or the Server User, it can be changed in/etc/mcctl.conf. The Config File can be created with thewrite-cfg-Subcommand.[system]systemd_service: The Service Prefix before "@INSTANCE_NAME". Default: 'mcserver'.server_user: The User under which Servers can be managed and are run. Default: 'mcserver'.env_file: The File in which Systemd Starting Options are specified. Default: 'jvm-env'.[user]editorThe default Editor for interactive config editing. Default: 'vim'.shellThe default Shell for fully interactive configuration. Default: '/bin/bash'Documentationmcctl is not well documented (yet). However, you should be able to answer a lot of your questions with the help parameter:mcctl-hOr for each Subcommand (e.g. create):mcctlcreate-hSuggestions/IssuesIf you have suggestions, questions or issues, feel free to report them as an Issuehere. Insights and Ideas of others are always welcome.LicenseThis Project is licensed under the GPLv3. Please seeLICENSEfor details.
Package: mccube
MCCubeMarkov chain cubature via JAXMCCube provides the tools for performing Markov chain cubature indiffrax.Key features:Custom terms, paths, and solvers that provide a painless means to perform MCC in diffrax.A small library of recombination kernels, convential cubature formulae, and metrics.InstallationTo install the base pacakge:pipinstallmccubeRequires Python 3.12+, Diffrax 0.5.0+, and Equinox 0.11.3+.By default, a CPU only version of JAX will be installed. To make use of other JAX/XLA
compatible accelerators (GPUs/TPUs) please followthese installation instructions.
Windows support for JAX is currently experimental; WSL2 is the recommended approach for
using JAX on Windows.DocumentationAvailable athttps://mccube.readthedocs.io/.What is Markov chain cubature?MCC is an approach to constructing aCubature on Wiener Spacewhich does not suffer from exponential scaling in time (particle count explosion),
thanks to the utilization of (partitioned) recombination in the (approximate) cubature
kernel.Exampleimportdiffraximportjaximportjax.numpyasjnpimportjax.randomasjrfromjax.scipy.statsimportmultivariate_normalfrommccubeimport(GaussianRegion,Hadamard,LocalLinearCubaturePath,MCCSolver,MCCTerm,MonteCarloKernel,gaussian_wasserstein_metric,)key=jr.PRNGKey(42)n,d=512,10t0=0.0epochs=512dt0=0.05t1=t0+dt0*epochsy0=jnp.ones((n,d))target_mean=2*jnp.ones(d)target_cov=3*jnp.eye(d)deflogdensity(p):returnmultivariate_normal.logpdf(p,mean=target_mean,cov=target_cov)ode=diffrax.ODETerm(lambdat,p,args:jax.vmap(jax.grad(logdensity))(p))cde=diffrax.WeaklyDiagonalControlTerm(lambdat,p,args:jnp.sqrt(2.0),LocalLinearCubaturePath(Hadamard(GaussianRegion(d))),)terms=MCCTerm(ode,cde)solver=MCCSolver(diffrax.Euler(),MonteCarloKernel(n,key=key))sol=diffrax.diffeqsolve(terms,solver,t0,t1,dt0,y0)res_mean=jnp.mean(sol.ys[-1],axis=0)res_cov=jnp.cov(sol.ys[-1],rowvar=False)metric=gaussian_wasserstein_metric((target_mean,res_mean),(target_cov,res_cov))print(f"Result 2-Wasserstein distance:{metric}")CitationPlease cite this repository if it has been useful in your work:@software{mccube2023github,author={},title={{MCC}ube: Markov chain cubature via {JAX}},url={},version={<insert current release tag>},year={2023},}See AlsoSome other Python/JAX packages that you may find interesting:Markov-Chain-CubatureA PyTorch implementation of Markov Chain Cubature.PySRHigh-Performance Symbolic Regression in Python and Julia.EquinoxA JAX library for parameterised functions.DiffraxA JAX library providing numerical differential equation solvers.LineaxA JAX library for linear solves and linear least squares.OTT-JAXA JAX library for optimal transport.
Package: mccurse
Minecraft Curse CLI ClientThis project is my humble attempt at creating an automated way of installing,
updating and managing mods for my Minecraft games. UsingCurse.RestProxyas its primary
data source, it can find mods and their updates on MinecraftCurseForgeand
automatically install them for you.UsageThemccursecommand provides various subcommands, described below.Queryingmccurse search TEXT– Search available mods onCurseForge, then presents
the user with list of possible matches. If the user choose one of them, it opens
its project page in the default browser.Mod ManagementAll the commands below presume that they are run in the profile directory of
a Minecraft instance.mccurse auth– Authenticate with your Curse account and store the auth token
for later use.mccurse new VERSION– Initialize new metadata file for current profile,
which will hold all the necessary info for installed mods.VERSIONis the
Minecraft version of the instance (i.e.1.10.2).mccurse install MOD– Install new mod, including its required dependencies,
to the current Minecraft instance.mccurse upgrade [all|MOD]– Upgrade mods to their latest version for current
game version.allupgrades all mods with available upgrades,MODonly
the specified one.mccurse remove MOD– Uninstall theMODand its no longer needed
dependencies.Licensemccurseis released under the terms ofGNU Affero General Public License
version 3 or later.
Package: mcd2zarr
mcd2zarrCommand line tool to convert MCD files to ZarrInstallationUse the package managerpipto install mcd2zarr:pip install mcd2zarrUsageCallmcd2zarron the command line:> mcd2zarr --help
Usage: mcd2zarr [OPTIONS] MCD_FILE [ZARR_FILE]

  Convert MCD files to Zarr

Options:
  --zarr-version TEXT      Zarr version
  --ome-zarr-version TEXT  OME-Zarr version
  --version                Show the version and exit.
  --help                   Show this message and exit.Zarr formatMCD file contents are extracted into the following Zarr structure:myfile.zarr
├── .zattrs  (mcd_file, mcd_schema, slide_groups)
├── .zgroups
│
├── S01_SlideDescription01
├── S02_SlideDescription02
├── ...
└── Snn_SlideDescriptionNN
    ├── .zattrs  (slide_metadata, acquisition_groups, panorama_groups)
    ├── .zgroups
    │
    ├── Ann_AcquisitionDescriptionNN
    ├── A02_AcquisitionDescription02
    ├── ...
    ├── Ann_AcquisitionDescriptionNN  (in OME-Zarr format)
    │   ├── .zattrs  (acquisition_metadata, has_before_ablation_image, has_after_ablation_image)
    │   ├── .zgroups
    │   │
    │   ├── before_ablation_image  (optional, in OME-Zarr format)
    |   |   ├── .zattrs
    |   |   └── .zgroups
    │   │
    │   └── after_ablation_image (optional, in OME-Zarr format)
    |       ├── .zattrs
    |       └── .zgroups
    │
    ├── P01_PanoramaDescription01
    ├── P02_PanoramaDescription02
    ├── ...
    └── Pnn_PanoramaDescriptionNN  (in OME-Zarr format)
        ├── .zattrs  (panorama_metadata)
        └── .zgroupsContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT
Package: mcda
Package for Multi-Criteria Decision Analysis namedmcda(Beta).Package descriptionThis package is used as a basis to represent Multi-Criteria Decision Aiding (MCDA) problems as well as solve them.
It also contains relatively low-level plotting functions to visualize a MCDA problem and its solution.It is released on PyPI asmcda.Its documentation is availablehere.RequirementsTo be able to plot relations and outranking graphs, this package requires thatgraphvizbe installed.
On Debian/Ubuntu this is done with:sudoapt-getinstallgraphvizInstallationIf you want to simply use this package, simply install it fromPyPI:pipinstallmcdaOnce you installed our package, you can have a look at ournotebookssection which contains examples on how to use our package.If you want to contribute to this package development, we recommend you to read the next section.ContributorsThis package is growing continuously and contributions are welcomed.
Contributions can come in the form of new features, bug fixes, documentation improvements
or any combination thereof.
It can also simply come in the form of issues describing the idea for a new feature, a bug encountered, etc.If you want to contribute to this package, please read theguidelines.
If you have any new ideas or have found bugs, feel free tocreate an issue.
Finally, any contribution must be proposed for integration as aMerge Request.LicenseThis software is licensed under theEuropean Union Public Licence (EUPL) v1.2.
For more information seeLICENSE.Citations@todo write section
Package: mcdatahelper
MinecraftDataHelper一个Minecraft数据包配方小工具使用pip install mcdatahelper来安装模块样例代码from MinecraftDataHelper import items, tags
from MinecraftDataHelper.Recipes import *

testGen = allRecipes('testGen')

testGen.CraftingShaped.pattern('ABA').pattern('AAA').pattern('ABA').key('A', items.APPLE).key('B', items.BOOK).result(items.SAND, 64).build('test1')
testGen.CraftingShapeless.ingredients(items.BIRCH_LOG).ingredients(items.BIRCH_LOG).result(items.BIRCH_BOAT).build('test2')
testGen.CraftingShapeless.ingredients(tags.LOGS).result(items.BROWN_DYE, 64).build('1111')
testGen.Smelting.ingredient(items.OAK_LEAVES).experience(0).cookingtime(100).result(items.OAK_LOG).build('test3')
testGen.Smithing.base(items.APPLE).addition(items.GOLD_BLOCK).result(items.GOLDEN_APPLE).build('test4')
testGen.Campfire.ingredient(items.BIRCH_LOG).result(items.BIRCH_BOAT).build('test5')
testGen.StoneCutting.ingredient(items.STONE).result(items.STONE_SLAB).count(2).build('test6')
testGen.Smoking.ingredient(items.OAK_LEAVES).experience(0).cookingtime(100).result(items.OAK_LOG).build('test7')
testGen.Blasting.ingredient(items.OAK_LEAVES).experience(0).cookingtime(100).result(items.OAK_LOG).build('test8')
Package: mcddns
MCDDNSMikeConigliaro's industrial-strengthDynamicDomainNameSystem clientFeaturesExtensible plugin-oriented architecture with a simple APIAddress providers are responsible for obtaining an addressDNS providers are responsible for managing a DNS recordResilient against network and endpoint failuresBuilt-in result validation for address providersUse multiple address providers (keep trying until one succeeds)Optional retry with Fibonacci backoffCron mode (prevents email flood if your Internet connections goes down)Detailed loggingDry-run mode (shows what will happen without changing anything)Built-In ProvidersAddress Providersaws.CheckIP: Obtains a public IPv4 address viaAmazon Web Servicesdyn.CheckIP: Obtains a public IPv4 address viaDyngoogle.CheckIP: Obtains a public IPv4 address viaGoogle Domainsipify.IPv4: Obtains a public IPv4 address viaipifyipify.IPv6: Obtains an IPv6 address viaipifyDNS Providersaws.Route53: Manages records inAmazon Route53Installationpip install mcddnsRunning the Applicationmcddns <dns_provider> <fqdn> [options]Use--helpto see available options.DevelopmentGetting Startedpoetry install
poetry shell
...Running TestspytestWriting ProvidersA provider is any class that inherits fromAddressProviderorDNSProvider. In production mode, Python modules/packages prefixed withmcddns_will automatically be imported from the following locations:$XDG_CONFIG_HOME/mcddns/provider/etc/mcddns/providersys.pathExample: If you create a file at$XDG_CONFIG_HOME/mcddns/provider/mcddns_foo.pywith a class namedBarthat inherits from one of theProvidersubclasses, your module can be referenced (e.g. in command-line options) asfoo.Bar.Provider MethodsEach provider type has a set of methods that will be called in a particular order. Note that some of these methods are expected to return a specific value in order to progress to the next step.All Providersoptions_pre(parser): Runs before option parsing. Use this method to add your own provider-specific command line arguments (See:argparse).options_post(parser, options): Runs after option parsing. Use this method to do things with your provider-specific command line arguments.Address Providersfetch(options): Fetches and returns an IP address, hostname, etc.validate(options, address): ReturnsTrueif the address is valid andFalseotherwiseDNS Providerscheck(options, address): ReturnsTrueif a DNS update is required andFalseotherwiseupdate(options, address): ReturnsTrueif a DNS update was successful andFalseotherwiseExamplesI'll write more documentation if people are interested, but for now, see the examples atmcddns/providerandtests/provider.ReleasesBumpversioninpyproject.tomlUpdateCHANGELOG.mdRunmake releaseTo DoAdd tests for built-in providers
Package: mcdecoder
README: mcdecoderThe mcdecoder (Machine Code Decoder) is a set of tools to implement a machine code decoder. It includes tools to:Generate a decoder for a user-defined machine code specificationEmulate a decoder for a binary data and show decoded resultCheck the integrity of a machine code specificationetc.Currently, the mcdecoder only generates decoders in C language.QuickstartDefine your machine code specification# arm.yamlmachine:byteorder:littleinstructions:-name:add_immediate_a1format:xxxx:cond|00|1|0100|x:S|xxxx:Rn|xxxx:Rd|xxxx xxxx xxxx:imm12Generate a decodermcdecodergeneratearm.yamlUse the decoder from a C clientconstuint8_tkMachineCodes[]={0x04,0xB0,0x8D,0xE2,};DecodeRequestrequest;DecodeResultresult;boolsucceeded;request.codes=&kMachineCodes[0];succeeded=DecodeInstruction(&request,&result);For more details, follow Installation steps below and go on toQuickstart tutorial.Who is mcdecoder forDevelopers of a CPU emulatorTo implement the decoder part of an emulatorDevelopers of a static analyzer for machine codesTo implement the decoder part of an analyzerLearners of the basics about machine codesHands-on approach to learn: write and test actual machine codesImplementing and maintaining a decoder are tough and cumbersome. The mcdecoder soothes these pains by generating a decoder.
The mcdecoder was originally developed forathrill, a CPU emulator.
It is now independent from athrill.RequirementsPython 3.8 and above (with pip)Installationpython3-mpipinstallmcdecoderLicenseThe mcdecoder uses MIT License. SeeLICENSEfor more details.More details about usageSeedocuments for mcdecoder users.For developers of mcdecoderSeedocuments for mcdecoder developers.
Package: mcdict
# mcdictPython class to access a memcache as if it was a dict. This implementation includes the keys() method.
All the memcache limitations are preserved, e.g. keys must be strings no longer than 250 bytes.## UsageBasic usage:import mcdict
mc = mcdict.MCDict()
mc[“mummy”] = “Olena”
print mc[“mummy”]By default, it connects to localhost on port 11211. If you need to specify a host and/or port:mc = mcdict.MCDict(mcaddress=’127.0.0.1:5211’)Access the underlying memcache Client object (note second mc)>>> mc.mc.get_stats()
{'accepting_conns': '1',
 'auth_cmds': '0',
 'auth_errors': '0',
 ... }Retrieve a list of keys currently in use:
(note that this will cause big memcaches to block until it completes and this won’t provide a complete
list of keys on very big memcaches)>>> mc.keys()
['mummy',
 'daddy',
 'masha',
 ... ]## Installationpip install ‘git+git://github.com/wavetossed/mcdict.git’## Licensemcdict is released under the [MIT license](http://creativecommons.org/licenses/MIT/).
Package: mcdiscovery
Minecraft LAN Server Discoverymcdiscoveryis a Python library and CLI tool for discovering Minecraft LAN worlds / servers on your local network. This works in accordance to@tomsik68's protocol descriptionhere.InstallationTo install, ensure your system haspython3andpython3-pip, then run:python3-mpipinstallmcdiscoveryUsagemcdiscoverycan be used as a CLI tool by runningpython3 -m mcdiscovery, or as a library withimport mcdiscovery. API documentation can be foundhere.
Package: mc-discrete-kit
Automation-discrete-kitDescriptionThis package provides multiple utilities for discrete manipulations , validation tools and functions.required files:Shapes folderFeatures included:ShapeToJSON - creates JSON from read files to be compared later on.Change resource name in shape file - metadata.Change discrete resolutionJSONs validationConfig - contains file extensions , and useful function for the JSON creation.Write JSON to file for validation.Validation of the JSON schema.Types ValidationsUpdating tfw resolution value - TBDReturn options:JSON - contains relevant fields filled with values.JSON File.Usage:import the package :automation-discrete-kit.createShapeToJSONcontains the path for shape folder.Use any function of the classShapeToJSON
Package: mc-downloader
mc-downloaderThis is a python package design to download Minecraft servers files from Mojang servers.The downloader verify integrity from mojang servers after download.If the files have already been downloaded, they are rechecked, and if necessary they are re-downloaded.InstallationYou need to install the package from pypi repository.pipinstallmc-downloaderUtilisation exampleimportosimportmcdwlddefmain():"""Download all servers."""downloads_directory=os.getcwd()+'/downloads/'versions=mcdwld.get_versions(mcdwld.MOJANG_MANIFEST_URL)mcdwld.download_versions(versions,downloads_directory)if__name__=='__main__':main()
Package: mcdreforged
MCDReforgedEnglish|中文This is a python based Minecraft server control toolMCDReforged (abbreviated as MCDR) is a tool which provides the management ability of the Minecraft server using custom plugin system. It doesn't need to modify or mod the original Minecraft server at allFrom in-game calculator, player high-light, to manipulate scoreboard, manage structure file and backup / load backup, you can implement these by using MCDR and related pluginsGreat thanks to chino_desu and hisMCDaemon 1.0for the idea of such a cool Minecraft control toolContact me on discord:Fallen_Breath#1215AdvantageIt's running above the server. It doesn't need to modify the server at all which keep everything vanillaHot-reloadable plugin system. You don't need to shut down the server to update the pluginsMulti platform / server compatibility. Supports vanilla, paper, bungeecord etc. on Linux / WindowsHow it works?MCDR usesPopento start the server as a sub-process, then it has the ability to control the standard input / out stream of the serverSince the console output of a Minecraft server has a stable format and contains a large amount of useful information about the server, e.g. player chat messages, MCDR is able to parse and analyze the server output, abstract them into different events and dispatch them towards plugins for respondingWith the help of Minecraft command system, MCDR can send Minecraft commands via the standard input stream to affect the actual Minecraft serverThat's it, you can even think of MCDR as a robot that stares at the server console and can quickly respond to server output and input related commands if you likePluginHereis a MCDR plugin collection repositoryDocumentCheckhttps://mcdreforged.readthedocs.io/for more details of MCDR
Package: mce
Mechanical Compound EyeIs a python based Nvidia DeepStream app to watch multiple video streams at once.RequirementsDeepStream 4.0(this can be installed on a Tegra platform since JetPack
4.3 withsudo apt install deepstream-4.0)Python bindings for DeepStreamInstallationpip3install(giturl)orpip3installmceor if you don't have pip / don't want to install it(gitclonethisurl)cdmce
python3./setup.pyinstallExample Usage:To run detections on multiple youtube videos/playlists (requires youtube-dl which can be installed withpip3 install youtube-dl):mce $(youtube-dl -f best -g https://www.youtube.com/watch?v=pJ5cg83D5AE) $(youtube-dl -f best -g https://www.youtube.com/watch?v=peC1JD9gEKc) $(youtube-dl -f best -g https://www.youtube.com/watch?v=0LYE669fbpU)Any uri supported by uridecodebin should work.FaqDid you come up with the name?No.How can I customize this?The primary inference config is in ~/.mce/pie.confKnown Issuestests need to be writtenthe decoder spews warning messages... not sure whyvideos don't always play at the correct rate. the --live option may help with some sourcesnvinfer doesn't respect batch-engine-file set at runtime for loading a file,
leading to long start times.
Package: mcemtools
mcemtoolsState of the art aalysis for electron microscopyFree software: MIT licenseDocumentation:https://mcemtools.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2022-09-07)First release on PyPI.0.2.0 (2023-07-11)Many functions used for 4D-STEM analysis have been added.OOP is avoided as much as possible.0.3.0 (2023-07-11)Tests are increasing in numberinit includes import of mcemtools0.4.0 (2023-07-11)Many small bugs are fixed0.5.0 (2023-07-12)Added binning to transforms0.6.0 (2023-07-14)More tests are addedNames are consistant accross the package.0.7.0 (2023-07-15)markimage bug is fixed0.8.0 (2023-07-19)markimage bug is fixed really as US version of centre is center.napari based GUI is added to mcemtools.bianary files can be read too.0.8.1 (2023-07-27)viewer_4D is a lot more concise and bug free.0.8.2 (2023-07-27)by pressing i, you get shapes info, m shows the mask and F5 updates the mask.0.8.3 (2023-07-28)critical bug was fixed in viewer_4D0.8.4 (2023-07-28)critical bug was fixed in viewer_4D0.8.5 (2023-08-03)bug fixed in image_by_windows0.8.6 (2023-08-05)viewer_4D handles arrows to move the selected objects.0.8.7 (2023-08-31)added load_raw and load_dm4.bug fixed in viewer_4D, moves a lot smoother than before.viewer_4D shows a single image when size of the mask is 1 pixel, rapidly.conv_4D added to analysis0.8.8 (2023-09-04)critical bug fixed in bin_4D0.8.9 (2023-09-20)bug removed from Normalize_4Dbug removed from SymmetrySTEMtets added to locate atom and …0.8.10 (2023-09-12)bug removed from SymmetrySTEM and mirror is addeddata_maker_4D can be updatedremove_islands_by_size bug fixed0.8.11 (2023-09-25)Bug fixed in viewer_4D0.9.0 (2023-10-13)added denoise4netadded clustering4net and feature_maker_4D0.9.1 (2024-02-23)added denoise4_tsvdfaster bin_4Dtorch handler does not update the model if the loss is inf or nan