Saravanan666/pypi-org huggingface dataset:
Package: pymcutk
PyMCUTK OverviewPyMCUTK is a python based toolkit for NXP MCUXpresso SDK. And it aims to proivide easy-to-use tools to work with MCUXpresso SDK. The project focus on toolchains and their projects, debuggers, and NXP MCU boards support.Simple command line could make you can quicky get start. We have many hard works and you may won't repeat. That is what PyMCUTK design for.PrerequisitesPython 3 >= 3.4 or (python 2 >= 2.9)InstallationSimply installation with pip:pipinstallpymcutkInstall from source code, firstly clone the git repository fromGithub-PyMCUTK,
and run below command in project root:pip install .Once installed, try below command to test:mtk--versionQuickly startCommand line usage# Build projects in current directory.$mtkbuild.# Build specific configuration: sdram_release$mtkbuild.-tsdram_release# Recursive mode and dump results to CSV format.$mtkbuild./mcu-sdk-2.0/boards/-r--results-csv# Scan Projects dump to json format$mtkscan./mcu-sdk-2.0/boards/-otest.jsonSupported toolchainsNXP MCUXpresso IDEARM MDKIAR Embedded WorkbenchGNU ARM Embedded ToolchainConfigurationMCUTK could automatically discover the installed toolchains from your system as usual.
If you hope to use another version, you can edit the config file: ~/.mcutk.Run bellow command that will initialize the configuration file, which is saved at ~/.mcutk.$mtkconfig--autoUnittestBefore create pull requests, please do a test in your local to check mistakes.pytest command:pytest.
Package: pymcversion
pymcversionInstallpip3installgit+https://github.com/aoirint/pymcversion.gitCommand Usage$mcversionbedrock-server1.17.40.06

$mcversionjava1.17.1

$mcversionios1.17.40Developpip3install-rrequirements.txtRun testspip3install-rrequirements-test.txt

maketest
Package: pymcworld
pymcworldpymcworldis a simple world creator for Minecraft. It currently supports 1.16.5. The library automatically takes care of level files, placing of blocks, gamerules, and more. It currently supports over 500 blocks.
Example:from pymcworld.world import World

world = World()
world.set_block(0, 0, 0, world.blocks.ANDESITE)
world.save("testworld")This creates a world, with the block at (0, 0, 0) set to andesite, and saves the world to thetestworldfolder. This is the code to create a sphere:from pymcworld.world import World

world = World()
# this function takes 5 arguments: x, y, z, radius, and block type
world.shape.sphere(0, 20, 0, 15, world.blocks.ANDESITE)
world.save("testworld")
Package: py-mcws
py-mcwsMinecraftとPythonを繋げるためのシンプルなライブラリインストールpipinstallpy-mcws使い方importpy_mcwsserver=py_mcws.WebsocketServer()@server.eventasyncdefon_ready(host,port):print("サーバーを起動しました。")print(f"'/connect{host}:{port}' で接続できます")@server.eventasyncdefon_connect():print("接続しました")awaitserver.command("say Hello World!")# メッセージを送信@server.eventasyncdefon_PlayerMessage(event):print(event)server.start(host="0.0.0.0",port=19132)接続の仕方[!WARNING]
ワールドの設定でチートを有効にする必要があります。Minecraft内のチャットで以下のコマンドを実行してください。/connect host:portイベントを受け取る[!NOTE]
Minecraftで受け取れるイベントは以下から確認してください。MCPE & W10 Event Namesby jocopa3PlayerMessageイベントを受け取る例@server.eventasyncdefon_PlayerMessage(event):print(event)コマンドを実行するMinecraft と接続している状態でコマンドを実行してください。cmd=awaitserver.command("say Hello World!")print(cmd)記事以下の記事は、inunosinsiさんによる記事です。thanks!クロームブックのマインクラフト統合版でプログラミングをしてみるpy-mcwsの仕組みを見てみようpy-mcwsでプレイヤーの頭上でニワトリを召喚してみるpy-mcwsでプレイヤーの前に任意のブロックを置いてみる
Package: pymcxray
pymcxrayPython scripts for using mcxray softwareFree software: Apache Software License 2.0Documentation:https://pymcxray.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.4 (2019-11-29)Add calculation of weight fractions for trace elements.0.1.2 (2017-06-26)Add create multi-layers specimen.Add number of layers X, Y, and Z as parameters.0.1.0 (2017-03-07)First release on PyPI.
Package: pyMd2Doc
# 1.Introduction to pyMd2DocUse python to convert markdown to a directory document with retractable text content.# 2. Method of useThis program requires a python environment of python3 or above.## 2.1 Prepare Markdown filePrepare the Markdown file that needs to be converted into a document.## 2.2 Install pyMd2DocInstall the program usingpip install pyMd2Doc## 2.3 Start the conversion### 2.3.1 md file to HTML> creates [yourFileName].py file to prepare the markdown file that needs to be converted, such as mymarkdown.md> introduces the required module, calls the function and passes in the markdown file to be converted, as shown in the following example:from pymd2doc import createDoccreateDoc.create(“myMarkdown”)The successful execution of > will generate the mymarkdown.html file### 2.3.2 String md content to HTML> introduces the required module, calls the function, and passes in the markdown file that needs to be converted> passes in String md content, as shown in the following example:from pymd2doc import createDocSTR = u’’’Here is the String md content
‘’’# param strs passes in the MD string
# param myMarkdown definition will generate the name of the HTML file
# return myMarkdown.htmlcreateDoc.createByString(strs, “myMarkdown”)> The successful execution of > will generate the mymarkdown.html file## 2.4 Check the documentationOpen the mymarkdown.html file you just generated with your browser.Click the directory to jump to the corresponding document content.
Package: pymd4c
PyMD4CPython bindings (plus extras) for the very fastMD4CMarkdown parsing and
rendering library.Documentation:https://pymd4c.dcpx.org/GitHub:https://github.com/dominickpastore/pymd4cPyPI:https://pypi.org/project/pymd4c/Changelog:https://github.com/dominickpastore/pymd4c/blob/master/CHANGELOG.mdIssues:https://github.com/dominickpastore/pymd4c/issuesOverviewTheMD4CC library provides a SAX-like parser that uses callbacks to return
the various blocks, inlines, and text it parses from the Markdown input. In
addition, it provides an HTML renderer built on top of the parser to provide
HTML output directly.PyMD4C provides Python bindings for both, plus some convenience features built
on top. The goal is to provide a simple and fast interface for applications
that just need to translate Markdown to HTML, while providing flexibility for
applications that need to do more.Brief installation instructions and examples are below, but see thefull
documentationfor more detail.Installation from PyPIPyMD4C is available on PyPI under the namepymd4c. Install it with
pip as you would any other Python package:pip install pymd4cThis is the recommended method to obtain PyMD4C. It should work well on most
Linux distributions, Windows, and macOS, but since it contains a C module, it
must be built for each platform specifically. Those running on uncommon
architectures or old versions of their OS may find that a prebuilt module isn't
available. (If a build is not available or working for your platform and you
think it should be, consider opening aGitHub issue.)For more detailed installation instructions, including building from source
(which should work on virtually any platform), see the "Installation" page in
thefull documentation.Basic UsageOnce PyMD4C is installed, generating HTML from Markdown is as simple as the
following:importmd4cwithopen('README.md','r')asf:markdown=f.read()renderer=md4c.HTMLRenderer()html=renderer.parse(markdown)This is just the most basic example to get you up and running ASAP. There are
several options for customizing MD4C's parsing and HTML generation behavior, as
well as other APIs for tasks other than generating HTML. Thefull
documentationwalks through all of those features.ContributionsThank you for your interest in contributing to PyMD4C! The "Contributing to
PyMD4C" page in thedocumentationhas some information that should
prove helpful.LicenseThis project is licensed under the MIT license. See theLICENSE.mdfile for
details.
Package: pymd5
pymd5=====Recursively calculate and display MD5 file hashes for all files rooted in a directory.Description-----------Hashes are calculated for all files rooted in the given directory. Hashes and file paths (relative to given directory) are output to stdout, problem files reported on stderr. File paths are output in alphabetical order, and don't include the name of the top-level directory.Output matches that of md5sum(1): "{md5-hash} \*{relative file path}", e.g: ::7df5132659452a47ec54aa7158995e21 *pymd5.pyFunctions---------.. raw:: html<pre><strong>calculate_hashes</strong>(dirpath)Calculate MD5 hashes for all files rooted in `dirpath`.</pre>Command-line usage------------------.. raw:: html<pre><strong>pymd5</strong> [-h|--help] DIRPATH</pre>
Package: py-mdb
PyMDbPyMDb is a package for both parsing thedatasets provided by IMDband scraping information from their web pages.This package is able to gather information on people, titles, and companies provided by IMDb and is split into two separate modules: one for parsing the IMDb datasets, and one for scraping webpages onimdb.com.InstallationThe latest release of PyMDb can be installed from PyPI with:pip install py-mdbIf downloading the source from GitHub, PyMDb requires the following packages:requestsselectolaxUsage>>>importpymdb>>>fromcollectionsimportdefaultdict>>>>>>parser=pymdb.PyMDbParser(gunzip_files=True)>>>genre_count=defaultdict(int)>>>fortitleinparser.get_title_basics("path/to/files"):...forgenreintitle.genres:...genre_count[genre]+=1...>>>forgenreingenre_count:...print(f"{genre}:{genre_count[genre]}")...Documentary:600184Short:837912Animation:312227...Talk-Show:584252Reality-TV:307037Adult:178493>>>>>>scraper=pymdb.PyMDbScraper(rate_limit=500)>>>title=scraper.get_title("tt0076759")>>>print(f"{title.display_title}came out in{title.release_date.year}!")StarWars:EpisodeIV-ANewHopecameoutin1977!DocumentationFull documentation can be found at thePyMDb Read the Docspage.DisclaimerPyMDb is still in a pre-release state and has only been tested with a small amount of data found onimdb.com.
The web scraper portion of the code does have a rate limiter value you can customize, please be kind to IMDb.
If any bugs or issues are found, please do not hesitate to create an issue or make a pull request onGitHub.
Suggestions for features to be added to PyMDb in future releases are also welcome!LicenseThis project is licensed under the MIT License. Please see theLICENSEfile for details.
Package: pymd-editor
PyMD EditorA standalone and embeddable Python based Markdown editor with HTML preview.Explore the docs »PyPi·Report Bug·Request FeatureTable of ContentsAbout The ProjectBuilt WithGetting StartedInstallationInstall With PIPInstall From SourceUsageStandaloneEmbeddedRoadmapContributingLicenseContactAbout The ProjectA standalone and embeddable Python based Markdown editor with HTML preview.(back to top)Built WithPygmentsPythonPython Markdowntkintertkinterwebttkbootstrap(back to top)Getting StartedInstallationTo get a local copy up and running choose one of the below install instructions and follow the steps provided.Install With PIPThe simplest way to install the PyMD Editor is to usepip:pipinstallpymd-editorInstall From SourceAlternatively you can install from source by following the steps below:Clone the repo:gitclonehttps://github.com/hreikin/pymd-editor.gitcdpymd-editor/Create and source a Python virtual environment:python3-mvenv.venvsource.venv/bin/activateInstall requirements withpip:pipinstall-rrequirements.txt(back to top)UsageStandaloneTo start the standalone editor simply run the following:python3-mpymd_editor(back to top)EmbeddedTo use thettkbootstrapstyledEditorFramein one of your own python scripts:frompymd_editor.pymd_editor_frameimportEditorFrameimporttkinterastkimportttkbootstrapasttkfromttkbootstrap.constantsimport*root=ttk.Window(themename="darkly")app=EditorFrame(root)app.pack(fill="both",expand=1)app.mainloop()(back to top)RoadmapSee theopen issuesfor a full list of proposed features (and known issues).(back to top)ContributingContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull Request(back to top)LicenseDistributed under the MIT License. SeeLICENSE.txtfor more information.(back to top)ContactGithub Link:https://github.com/hreikin/pymd-editorPyPi Link:https://pypi.org/project/pymd-editor/Documentation:https://hreikin.github.io/pymd-editor/(back to top)
Package: pyMdfParser
This package provides a parser for reading MDF files in PythonThe source code for this package lives at:https://sourceforge.net/p/pymdfparser/code/Please report any bugs or feature requests via the issue tracker there.InstallationThis package is registered with the Python package index, so you can do:$ easy_install pyMdfParser… or download fromhttps://sourceforge.net/projects/pymdfparser/filesinstall in the usual way:Windows: use the Windows installer file pyMdfParser-x.y.z.win32.exe
    Installation of the pyMdfParser-x.y.z.zip file via
$ python setup.py installIf you want the bleeding edge, clone the source code repository:$ git clone ssh://bowie2@git.code.sf.net/p/pymdfparser/code pymdfparser-codeUsageThemdf_parserpackage contains the class MDFParser class with is the base for all
mdf related operations.You can use the MDFParser class to read mdf data as follows:import matplotlib.pyplot as plt
from mdf_parser import MDFParser
    from mdf_blocks import CNBlock

mdf=MDFParser('CANape.MDF')
    signal_list=mdf.get_signallist()
    #get data for one signal
    signal1=obj.get(signal_list[1])

    #get data for all signals
    signals=obj.get(signal_list)For a complete account of all of the functionality available from this package,
see the documentation.NotesNote that thepyMdfParserpackage supports only MDF 3 at the moment.
Package: pymdfs
高级的、易用的 Micaps 在线数据读取包。PyMDFS主要包含以下特征，在线读取Micaps GDS服务器数据，模式、观测、卫星、雷达等读写Micaps Diamond数据，读取Micaps网络存储二进制格式数据读取卫星产品数据 (AWX)读取天气雷达拼图数据 (.LATLON)过滤站点和经纬度裁剪主要的数据结构为`pandas.DataFrame <https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html>`_
和xarray.DataArrayREADMEEnglish安装方法使用pip可以直接安装pipinstallpymdfs简单上手从MicapsGDS 服务器中读取数据pymdfs中最常用的类为MdfsClient，
它承担了从 GDS 服务器中读取数据和裁剪经纬度的重要功能。MdfsClient 介绍实例化MdfsClient类时使用 GDS serveraddressandport.MdfsClient拉取 GDS 数据的前端接口，通过一下多个参数组合实现其功能,datasource, GDS 服务器中子类数据的顶级路径inittime, 数值模式的起报时间或观测数据的观测时间fh, 模式预报时效（仅针对模式数据）varname, 变量名, 对应于子类数据路径后移植到最后的数据目录路径，以/连接level, 模式垂直层（仅针对模式数据）lat, 维度切片lon, 经度切片wildcard, 文件名通配符，如未提供此参数，程序将自动解析，但将增加运行时间以下程序，使用MdfsClient拉取 0.125度的 ECWMF 在北京时间2023年2月20日20时起报的未来24小时的相对湿度。fromdatetimeimportdatetimefrompymdfsimportMdfsClientgds=MdfsClient('xxx.xxx.xxx.xxx:xxxx')dar=gds.sel('ECMWF_HR',datetime(2023,2,20,20),fh=24,varname='RH',level=850,lat=slice(20,40),lon=slice(110,130))print(dar)以下程序，使用MdfsClient拉取2023年2月20日20时观测的24小时站点降水量，
并过滤出北纬20-40度、东经110-130度范围的站点数据，数据结构为 pandas.DataFramefromdatetimeimportdatetimefrompymdfsimportMdfsClientgds=MdfsClient('xxx.xxx.xxx.xxx:xxxx')df=gds.sel('SURFACE',datetime(2023,2,20,20),varname='RAIN24_ALL_STATION',lat=slice(20,40),lon=slice(110,130))print(df)命令行程序1. client_query用法:mdfs_query [-h] [-s SERVER] [-o LOGLEVEL] datasourceMDFS数据变量查询位置参数:datasource            数据名称可选参数:argumentsDescription-h, –helpshow this help message and exit-s SERVER, –server SERVERGDS server address-o LOGLEVEL, –loglevel LOGLEVELloglevel: 10, 20, 30, 40, 50示例:mdfs_queryECMWF_HR2. client_dump用法:mdfs_dump [-h] [-f FH] [-e OUTFILE] [-c COMPLEVEL] [-v VARNAME] [-x LON] [-y LAT] [-p LEVEL] [-t OFFSET_INITTIME] [–name_map NAME_MAP] [-s SERVER] [-o LOGLEVEL] datasource inittimeMDFS数据读取下载位置参数:argumentsDescriptiondatasourcedata source nameinittimemodel initial datetime or observation datetime可选参数:argumentsDescription-h, –helpshow this help message and exit-f FH, –fh FHmodel forecast hour-e OUTFILE, –outfile OUTFILEoutput netcdf file name-c COMPLEVEL, –complevel COMPLEVELoutput netcdf4 compress level-v VARNAME, –varname VARNAMEmodel variable names-x LON, –lon LONlongitude point or range-y LAT, –lat LATlatitude point or range-p LEVEL, –level LEVELpressure level point or range-t OFFSET_INITTIME, –offset-inittime OFFSET_INITTIMEoffset inittime (hours) to variable–name_map NAME_MAPmap variable name to new-s SERVER, –server SERVERGDS server address-o LOGLEVEL, –loglevel LOGLEVELlogger level in number示例:以下脚本使用client_dump命令行程序，拉取ECMWF 2023年2月19日20时起报的24小时预报时效，
500hPa的相对湿度、U/V风场、温度场、高度场的数据，并存储为 ECMWF_HR.2023021920.nc 文件。mdfs_dumpECMWF_HR2023021920-f24--level500-vRH,UGRD,VGRD,TMP,HGT-eECMWF_HR.2023021920.nc更多细节和特征，请参与项目文档readthedocs.
Package: pymdfu
pymdfu - Microchip Device Firmware Upgrade applicationThis utility requires that the input image is built in a format matching the bootloader firmware.  To build such images for Microchip 8-bit microcontrollers use the pyfwimagebuilder tool:https://pypi.org/project/pyfwimagebuilder/Usagepymdfu can be used as a command-line interface or a libraryCommand line helpFor help, use:pymdfu--helpUpdate an image from the command-lineExample usage:pymdfuupdateserialmyimage.img--portCOM11--baudrate9600Additional command-line switches-v ,  --verboseLogging verbosity configuration. Valid values for level are ('debug', 'info', 'warning', 'error', 'critical')-V, --versionPrint pymdfu version and exit-R, --release-infoPrint pymdfu release details and exitChangelog[1.0.2] - December 2023AddedPYTOOLS-211 Add missing packaging dependency[1.0.1] - December 2023Support MDFU get client info commandRead client command timeoutsRead client MDFU protocol versionSupport individual command timeoutsDecode transport and file transfer abort error causesCheck image state command responseBugfixesAddedPYTOOLS-156 New get client information command with version and command timeoutsPYTOOLS-91  Decode transport and file transfer abort error causesPYTOOLS-90  Check "get image state" command response packet payload for image statusFixedPYTOOLS-155 PyMDFU tool usage guideline is incorrectPYTOOLS-84  Document link between pymdfu and pyfwimagebuilder[0.1.4] - October 2023Initial public beta release.Initial beta release[0.0.1] - October 2023Placeholder release
Package: pymdg
pyMDGOverviewThe problem with most model driven generation is that tools force the modeller to effectively "code up" the output representation of the artifact being generated in an output specific, non-reusable model. It always ends up being simpler just to actually code up the end result.pyMDGs goal is to use a logical model as the source, then combine with business rules to output physical level artifacts (code, schema, documentation etc). Current version supports Sparx DB (including sqlite which is the '.qea' native file format for Sparx v16+) or diagrams.net XML.A single logical model is rich enough to generate API schemas, DB schemas, POJOs, Python Data classes etc.The tool parses your models into generic UML classes (see metamodel below) which are then passed to jinja2 templates for generation.My current favorite generation recipie is Hasura for a GraphQL API and generating DB migrations via Django. See the tutorial here:HasuraTutorialand check the example config in sample_recipies/sparxdb/config-sparxdb-graphql.yamlQuickstart and docs can be found here:readthedocsTestTesting (powershell):.\test.ps1Testing (unittest):python -m unittestGenerateTo generate code call the generate script and pass in the recipe folder. A sample recipe folder is provided in the github repo:python mdg-tool.py generate ./sample_recipe/drawio/config-drawio-django.yamlOr once installed into site-packages execute:mdg-tool generate <my/config.yaml>See the sample_recipe configs for examplesSparx EA XMI (versions earlier than V16) Export ProcessThe UML parser expects a specific package hierarchy, please see the sample EA file.In Sparx select the domain root node  (e.g. Model/Sample )Select the publish tab at the topSelect Publish As... from top menuSet export type as XMI 2.1Optionally select 'Export Diagrams', 'Generate Diagram Images' and PNG formatExport to folder where you want to generate fromNote: Sparx V16+ does not need to be exported. The parser uses native SQLite file format which is the same schema as database repositories.Draw.io Export ProcessThe UML parser expects a specific package layout which mimics the Sparx hierarchy, please see the sample files.In the web editor select Export As -> XMLUncheck 'Compressed'Wiki documentation uploadIf your generation recipe has created a file for your wiki (Confluence) then an uploader utilitity can be used. This assumes that you have done the XMI export from Sparx EA with export diagrams and generate diagram images.
To generate a confluence token please see:https://confluence.atlassian.com/cloud/api-tokens-938839638.htmlpython mdg/confluence.py {your email} {your confluence token} {confluence page id} {path to images} {doc filename}Nomenclature:This diagram shows all the features and how to model in UMLSample modelMetamodelThis diagram shows the internal classes which are passed to the templates during generation.Build the docsInstall sphinx> cd pyMDG
 > sphinx-apidoc -o docs\source mdg
 > cd docs
 > make html
Package: pymdi
MolSSI Driver Interface (MDI) LibraryOverviewThe MolSSI Driver Interface (MDI) project provides a standardized API for fast, on-the-fly communication between computational chemistry codes.  This greatly simplifies the process of implementing methods that require the cooperation of multiple software packages and enables developers to write a single implementation that works across many different codes.  The API is sufficiently general to support a wide variety of techniques, including QM/MM, ab initio MD, machine learning, advanced sampling, and path integral MD, while also being straightforwardly extensible.  Communication between codes is handled by the MDI Library, which enables tight coupling between codes using either the MPI or TCP/IP methods.DocumentationComplete documentation can be found athttps://molssi-mdi.github.io/MDI_LibraryLicenseThe MDI Library is released under the BSD 3-clause license. See LICENSE for details.AcknowledgementsThis work was supported by the Molecular Sciences Software Institute under U.S. National Science Foundation grant ACI-1547580.MDI builds upon the work of numerous development groups, without whom it could not exist.
The syntactical structure of the MDI Standard, including the fundamental command-response communication pattern, is modelled after that used by thei-PIproject, as is the string-based representation of commands.
The Node System draws inspiration from the techniques used by several molecular mechanics packages, especiallyLAMMPSandOpenMM, to enable modular code additions.
The unit conversions available through the MDI Library were provided by theQCElementalproject.
Certain details of the communication protocols implemented by the MDI Library, especially pertaining to MPI-based communication in the MPMD regime, were informed by the accomplishments of theCSliblibrary.
The library-based communication protocol was developed in response to discussions with theEXAALTteam.
The interface, error handling, data types, and numerous other elements of the MDI Library are modelled after theMPI Standard.
A distribution of the MDI Library for Python is provided byConda Forge.