Saravanan666/pypi-org huggingface dataset:
Package: mdcrawler
mildom_crawlerThis is a Mildom(https://www.mildom.com/) crawler written in Python.Installpip install websocket-clientpip install mdcrawlerExample・Getting user infofrom mdcrawler.mildom import Mildom

uid = '10084097'
mildom = Mildom()
user = mildom.get_account_by_uid(uid)
print(user)

# then you get
​```
User info:
Username: TIE Ru
UserId: 10084097
Follower: 197449
Follow: 24
Country: Japan
Level: 97
Exp: 332865
GiftRevenue: 2853554
​```・Getting playbacks by user_idfrom mdcrawler.mildom import Mildom

uid = '10084097'
count = 100
mildom = Mildom()
playbacks = mildom.get_playbacks_by_uid(uid,count=count)
print(len(playbacks))
print(playbacks[0])

# then you get
​```
100

PlayBack info:
PlayBackId: 10084097-c10clv52lrnf4dhgicsg
Username: TIE Ru
UserId: 10084097
PublishTime: 1614859237
Title: 【Apex】渋谷ハルカスタムに渋谷ハルと出る | with prize
ViewNum: 320
Length: 8368110
​```・Getting chats on the playbackfrom mdcrawler.mildom import Mildom

pbid = '10105254-1610795759'
count = 100
mildom = Mildom()

chats = mildom.get_chats_by_pbid(pbid,count=count)
print(len(chats))
print(chats[0])

print('-----')

chats = mildom.get_playback_chats_by_pbid(pbid)
print(len(chats))
print(chats[-1])

# then you get
​```
100

Chat info:
ChatId: 1610795770425_10904046_4711
ChatText: こんだよ～
ChatTime: 1610795770
ChatTimeOffset: 10
Username: fusianasan
UserId: 10904046
PlayBackId: 10105254-1610795759

-----
312

Chat info:
ChatId: 1610796391638_10614220_6151
ChatText: なんだろ
ChatTime: 1610796391
ChatTimeOffset: 631
Username: Leimy
UserId: 10614220
PlayBackId: 10105254-1610795759
​```
Package: mdctn
MDCTN :yarn:MultidimensionalModified Discrete Cosine Transformspipinstallmdctn1-D MDCT & IMDCTn-D MDCT & IMDCTWindowing supportHelper functions for signals1-D MDCT on signalsSignals arewrapped aroundso all the data is stored in the same number of bits.importnumpyasnpfrommdctnimportmdct,imdctx=np.arange(24)y=mdct(x,N=16)z=imdct(y,N=16)np.allclose(x,z)# True1-D Pure MDCTThe core MDCT functionimportnumpyasnpfrommdctnimportcorex=np.arange(6)# [0, 1, 2, 3, 4, 5]y_1=core.mdct(x[0:4])# [-2.50104055, -0.49476881]y_2=core.mdct(x[2:6])# [-4.34879961, -1.26013568]z_1=core.imdct(y_1)# [-0.5,  0.5,  2.5,  2.5]z_2=core.imdct(y_2)#             [-0.5,  0.5,  4.5,  4.5]z=(z_1[2:4]+z_2[0:2])# [2.0, 3.0]BenchmarksSeebenchmarks.ipynb
Package: mddatasetbuilder
MDDatasetBuilderMDDatasetBuilder is a script to construct reference datasets for the training of neural network potentials from given LAMMPS trajectories.Complex reaction processes in combustion unraveled by neural network-based molecular dynamics simulation, Nature Communications,11, 5713 (2020), DOI:10.1038/s41467-020-19497-zInstallationMDDatasetBuilder can be installed with pip:pip install mddatasetbuilderThe installation process should be very quick, taking only a few minutes on a “normal” desktop computer.UsageSimple exampleALAMMPS dump fileshould be prepared. ALAMMPS bond filecan be added for the addition information.datasetbuilder-ddump.ch4-bbonds.reaxc.ch4_new-aCHO-nch4-i25Here,dump.ch4is the name of the dump file.bonds.reaxc.ch4_newis the name of the bond file, which is optional.C H Ois the element in the trajectory.ch4is the name of the dataset.25means the time step interval and the default value is 1.Then you can generate Gaussian input files for each structure in the dataset and calculate the potential energy & atomic forces (assume the Gaussian 16 has already been installed.):qmcalc-ddataset_ch4_GJf/000
qmcalc-ddataset_ch4_GJf/001Next, prepare a DeePMD dataset and useDeePMD-kitto train a NN model.preparedeepmd-pdataset_ch4_GJfcdtrain&&dptraintrain.jsonThe runtime of the software depends on the amount of data. It is more suited to running on a server rather than desktop computer.DP-GENIn afollow-up work, the MDDatasetBuilder package has been integrated withDP-GENsoftware as a part of the DP-GEN workflow:dpgeninit_reactionreaction.jsonmachine.jsonSeeDP-GEN documentationfor details. Arguments ofreaction.jsoncan be foundhere.machine.jsonis describedhere, wherereaxff_commandis the LAMMPS command (lmp),build_commandis the MDDatasetbuilder command (datasetbuilder), andfp_commandis the Gaussian 16 command (g16 < input || :).The genereated data can be used to continue DP-GEN concurrent learning workflow. ReadEnergy & Fuels, 2021, 35 (1), 762–769for details.
Package: md-davis
MD DaVisIntroductionMD DaVis is a tool for comparative analysis of molecular dynamics simulations of proteins.Documentation:https://md-davis.readthedocs.ioFeaturesFree energy landscapeResidue properties plotSurface electrostaticsElectric field dynamicsH-bond/Contact matrixSystem RequirementsA 64-bit operating systemA Python 3 installation with version ≥ 3.7InstallationThe easiest installation method is withAnacondaorMiniconda.
Create a conda environment calledmd-daviswith all required dependencies using the following command:conda env create djmaity/md-davisActivate the environment with:conda activate md-davisInstall MD DaVis in this environment using:pip install md-davisFor detailed installation instructions, see:https://md-davis.readthedocs.io/en/latest/guides/install.htmlDependenciesThe following tools required for full functionality will have to be obtained separately.Delphi v8.1 or laterDSSP v2.3.0MSMS v2.6.1GROMACS v5.1.4 or laterUsageRemember to activate themd-davisenvironment before using MD DaVis.conda activate md-davisThe MD DaVis GUI can be invoked with:md-davis-guiThe MD DaVis CLI can be called with:md-davisThe MD DaVis package can be used in a Python script with an import statement:import md_davisAuthorDibyajyoti Maity -www.djmaity.com
Package: md-dead-link-check
Markdown dead link checkerThis is a lightweight and fast tool to help you keep your Markdown files free of broken links!
It scans your Markdown files and verifies whether each link is still active, letting you know if any need attention.Detection issuesUnavailable web links.Incorrect links to file.Not existed fragments in markdown, like[no-fragment](README.md#no-fragment).Example of output forfail.mdFile:tests/test_md_files/fail.md:3•Link:https://github.com/AlexanderDokuchaev/FAILED•Error:404:NotFound
File:tests/test_md_files/fail.md:4•Link:https://not_exist_github.githubcom/•Error:500:InternalServerError
File:tests/test_md_files/fail.md:8•Link:/test/fail.md1•Error:Pathdoesnotexist
File:tests/test_md_files/fail.md:9•Link:fail.md1•Error:Pathdoesnotexist
File:tests/test_md_files/fail.md:13•Link:a.md#fail•Error:Notfoundfragment
❌Found5deadlinks🙀UsageGithub actionjobs:md-dead-link-check:runs-on:ubuntu-22.04steps:-uses:actions/checkout@v4-uses:AlexanderDokuchaev/md-dead-link-check@mainPre-commit hookAdding to your .pre-commit-config.yaml-repo:https://github.com/AlexanderDokuchaev/md-dead-link-checkrev:mainhooks:-id:md-dead-link-checkInstall rom pippipinstallmd-dead-link-check
md-dead-link-checkInstall github repogitclonehttps://github.com/AlexanderDokuchaev/md-dead-link-checkcdmd-dead-link-check
pipinstall.
md-dead-link-checkConfigurationBy default usepyproject.toml, to use another config toml file use--config.timeout - timeout to response web link, defaults10.exclude_links - disable fails for links, defaults[].exclude_files - disable check for file, defaults[].check_web_links - to disable check web links, defaultstrue.[tool.md_dead_link_check]timeout=10exclude_links=["https://github.com/"]exclude_files=["tests/test_md_files/fail.md"]check_web_links=true
Package: mddj
mddjYour DJ of MetaData.Table of ContentsOverviewInstallationUsageLicenseOverviewA CLI for interacting with your python package metadata.Supports multiple packaging backends via a uniform interface.Installationpipx install mddjUsageEnv VarsBuild IsolationMDDJ_ISOLATED_BUILDS=0can be set to disable the (default) behavior using
isolated build environments when getting package metadata.This requires that you have installed all of the build-system requirements in
to the current environment, but will be much faster.CommandsSee--helpon each command for more detail on supported options.mddj self versionShow the version ofmddj.mddj read requires-pythonShow therequires_pythonfield.mddj read versionShow theversion.mddj read tox min-versionShow the minimum python version in thetoxenv_list.mddj read tox list-versionsShow all python versions in thetoxenv_list.mddj write versionWrite a new version to a target file, defaulting to aversion = ...assignment
inpyproject.toml.Supports configuration viapyproject.toml.ConfigConfiguration formddjcan only be read from atool.mddjtable inpyproject.toml. No other configuration sources are supported.write_versionThis setting controls how version information is written formddj write version.It takes a colon delimited string with two or three values.
Either{mode}:{path}:{key}or{mode}:{key}.The only supported{mode}is"assign"(for now).{path}defaults topyproject.tomlif omitted.{key}is the name of the attribute used to assign a value.This defaults toassign: version.For example, the following config can be used to target a__version__attribute in an__init__.pyfile in a src-layout project:[tool.mddj]write_version="assign: src/foopkg/__init__.py: __version__"Licensemddjis distributed under the terms of theMITlicense.
Package: mddtoolkit
Multi-Diffusion Domain Model Toolkit (mddtoolkit)This app does things.Table of ContentsInstallationUsageSupportContributingInstallationRunpip install -e .in the root directory of the repository to install the package and its dependenciesDanceUsageQuick Startexample cli call:fit_MDD_model \
    -i path_to/diffusion_code_final/example/tests/N13ksp_python_test.csv \
    -c path_to/diffusion_code_final/example/tests/test.yaml \
    -o /Users/josh/repos/ diffusion_code_final/output/test_finalexample yaml file:domains_to_model:[1,8]lnd0aa_bounds:--5.0-50.0ea_bounds:-50.0-500.0geometry:plane sheetomit_value_indices:[]punish_degas_early:trueSupportPleaseopen an issuefor support.ContributingPlease contribute usingGithub Flow. Create a branch, add commits, andopen a pull request.
Package: mdemos.server
This file is for you to describe the mdemos.server application. Typically
you would include information such as the information below:Installation and SetupInstallmdemos.serverusing the setup.py script:$ cd mdemos.server
$ python setup.py installCreate the project database for any model classes defined:$ paster setup-app development.iniStart the paste http server:$ paster serve development.iniWhile developing you may want the server to reload after changes in package files (or its dependencies) are saved. This can be achieved easily by adding the –reload option:$ paster serve --reload development.iniThen you are ready to go.
Package: mdeng
mdengMarkdown Engine for PythonPlease visit:https://pypi.org/project/mdengfor PyPI PackagePlease visit:https://github.com/youhengzhou/mdengfor Github repoDownload Packagepy -m pip install mdeng -UIn Your Python Filesimport mdeng

mdb = mdeng.MdDB()

mdb.create({}, 'sample.md')

mdb.read('sample.md')

mdb.delete('sample.md')For a sample of how it works, check thetest.pyin the test folder.This markdown engine is able to to take a dictionary such as:And turn it into a markdown file:It also supports reading a markdown file and returning a dictionary.Also supports nested markdown entries as nested dictionaries, it can go even longer than tbe linter can!
Package: md-environ
This is an extension toPython-Markdownwhich allows
environment variables to be inserted into the text. I originally wrote
it for myFORDFortran
auto-documentation generator.InstallationThis module can now be installed usingpip.pip install md-environUsageThis module can be used in a program in the following way:importmarkdownhtml=markdown.markdown(source,extensions=['md_environ.environ])The syntax for use within your Markdown files is${ENVIRONMENT_VARIABLE}. This statement will be replaced by the
contents ofENVIRONMENT_VARIABLE, if it is defined, or by an empty
string otherwise.ChangeLogVersion 0.1Initial release.
Package: mder
M3u8 DownloaderA multithread m3u8 download module and the number of threads can decide by yourself. using how many threads is decide by your network and your device.Github :https://github.com/walkureHHH/M3u8-Downloader/1. Installpipinstallmder2. Importimportmder3. Instance object and start downloaddownloader=mder.m3u8_downloader(m3u8_file_path='./test.m3u8',temp_file_path='./',mp4_path='./test.mp4',num_of_threads=10)# parameters# 1.m3u8_file_path# default : no default   (type : str)# 2.temp_file_path# default : '.'          (type : str)# 3.mp4_path# default : './test.mp4' (type : str)# 4.num_of_threads# default : 10           (type : int)downloader.start()# parameters# 1.mod# default : 0            (type : int)# mod 0 means delete TS folder and m3u8 file if download completely# mod 1 means delete m3u8 file only if download completely# mod 2 means delete TS folder only if download completely# mod 3 means reserve TS folder and m3u8 file if download completely# 2.time_out# default : 60           (type : int)(units : seconds)# The time_out is the timeout in request.get(timeout=)before downloadthe structure of ./ is:.
├── test.m3u8
└── test.pywhen it is downloadingthe structure of ./ is:.
├── TS
│   ├── qzCFnDUZE9_720_5308_0000.ts
│   ├── qzCFnDUZE9_720_5308_0001.ts
│   ├── qzCFnDUZE9_720_5308_0002.ts
│   ├── qzCFnDUZE9_720_5308_0003.ts
│   ├── qzCFnDUZE9_720_5308_0004.ts
│   ├── qzCFnDUZE9_720_5308_0005.ts
│   ├── qzCFnDUZE9_720_5308_0006.ts
│   ├── qzCFnDUZE9_720_5308_0007.ts
│   ├── qzCFnDUZE9_720_5308_0008.ts
│   ├── qzCFnDUZE9_720_5308_0009.ts
│   └── qzCFnDUZE9_720_5308_0010.ts  
├── test.m3u8
└── test.pyprocess bar:  <<*>>  29% 500/1752 [01:33<04:02] <<*>>TS is temp folder, all .ts file are in it. The path of it is %temp_file_path%/TS, in the test case, it is in ./TS. If the mission is not complete, the m3u8 file and TS folder will be reserved, you can instance a new downloader with corresponding TS folder and m3u8 file, and use the start() function to begin, in this way, the mission will go on.after download and download successfullythe structure of ./ is:.
├── test.mp4
└── test.pyIf some .ts download failed, the module will redownload for 4 times, and the information will print to the command lineat last, the command line is like this:<<*>>  99% 1737/1752 [05:35<00:22] <<*>>
thread0 Time out ERROR qzCFnDUZE9_720_5308_1710.ts
thread2 Time out ERROR qzCFnDUZE9_720_5308_1722.ts
thread0 redownload successfully qzCFnDUZE9_720_5308_1710.ts
<<*>>  99% 1738/1752 [06:20<03:19] <<*>>
thread2 redownload successfully qzCFnDUZE9_720_5308_1722.ts
<<*>> 100% 1752/1752 [06:26<00:00] <<*>>
downloading finished 100.00%if completeThe attribute if_complete of class M3u8_Download can used to find if the download is conplete. In this example, we can usea=downloader.if_complete# a == False means the downloading is incomplete.5. restartIf you want to restart a incomplete mission, you only should use the corresponding TS folder and .m3u8 file.
Package: mdev
This is the MXOS meta tool,mdevwritten by Snow Yang.https://www.mxchip.comInstallationUsing pip:pip3 install mdev(Usepip3 uninstall mdevto uninstall it.)Basic UsageBuilddemos/helloworldand flash APP image into EMC3080.mdev build -m emc3080 demos/helloworld -f APPAdditional Commandsmdev has multiple sub-commands.For a list of available commands, runmdev -h. Get help on a
command withmdev <command> -h.
Package: mdex
Unofficial MangaDex API and CLIFull documentation can be found athttps://mdapi.readthedocs.io/en/latest/py-modindex/. There are no examples
currently, but they will be coming soon.Basic API usageIn absence of full examples, here's a brief example snippet:frommdapiimportMdAPImd=MdAPI()user=md.user.get_self()ifuserisNone:print("Please login using `mdex login`")quit()print(f"Logged in as{user.username}")results=md.manga.search("Murenase")manga=next(results)print(f"Found{manga.title}")read_chapters=md.manga.get_read(manga)chapters=md.manga.get_chapters(manga,order=ChapterSortOrder(chapter="asc"))chapter=next(chapters)print(f"First chapter:{chapter.title}")print("Already read:",chapter.idinread_chapters)urls=md.chapter.page_urls_for(chapter)print("First page:")print(next(urls))md.chapter.mark_read(chapter)CLI CommandsTo read a chapter, the three commands needed are, in order:mdex search [query here]mdex chapters [manga uuid]mdex read [chapter uuid]Additionally,mdex login,mdex logout, andmdex whoamiare provided.
These can be used to generate a.mdauthfile without requiring a call tomd.auth.login()from code with a plaintext password. They will also be used
in future when additional functionality is added to the CLI.
Package: mdf-canon
# MDF Canon (Measurement Development Platform)Welcome to the repository for the MDF Canon component development.mdf_canoncontains common data access code, written in Python3 and released with a MIT license.MDF is an open source software platform divided in a client package (mdf_client), a server package (mdf_droid) and a bridge package (mdf_canon).mdf_canonwas forked in 2019 from the github projectmisura.canon, and since substantially diverged.
Package: mdfind
Installation$[sudo]pipinstallmdfindExamples>>>importmdfind>>>mdfind.name('Group Containers')['/Users/username/Library/Group Containers']>>>mdfind.query('kMDItemContentType==public.shell-script')[...]>>>mdfind.count(query='kMDItemContentType==public.mp3')42>>>mdfind.count(name='Group Containers')1>>>mdfind.mdfind(['-count','-onlyin','/usr','kMDItemContentType==public.shell-script'])42LinksFile Metadata Query Expression Syntaxreadme42.com
Package: mdfind-wrapper
mdfindA python library that wraps themdfind.No dependencies except ones that in the python standart libraryMypy checked ✨Fully testedInstallation$pipinstallmdfind-wrapperUsageimportmdfind# not mdfind-wrapperQUERY="kind:image"images=mdfind.query(QUERY)n_imgs=mdfind.count(QUERY)
Package: mdfl
PyMDFLA command-line application to generate data packs based onCRISPYrice's MDFL specification.InstallationInstall with pip:python -m pip install mdflIf pip doesn't add the package to PATH correctly, you can start the program withpython -m mdfl.Usagemdfl --helpwill output usage information:PyMDFL: A command-line tool for parsing MDFL and generating Data Packs.

Usage:
    mdfl <script> [--output=<path>]
    mdfl <script> [--tree]
    mdfl -h | --help
    mdfl -V | --version

Options:
    -h --help        Show this screen.
    -V --version     Show version.
    --output=<path>  Output path for the datapack.
    --tree           Print a syntax tree without compiling.The<script>argument specifies a file that conforms to the MDFL spec. For example, given a filegems.mdfl:namespace diamonds {
  // Namespace for obtaining diamonds.

  fun get {
    // Give the caller a diamond.
    give @s minecraft:diamond;
  }
}

namespace emeralds {
  // Namespace for obtaining emeralds.

  fun get {
    // Give the caller an emerald.
    give @s minecraft:emerald;
  }
}Runmdfl gems.mdfland enter a description for your data pack.$ mdfl gems.mdfl
Description of gems: All your gems are belong to @sThis will generate a zip filegems.zipwith the following structure:├── data
│  ├── emeralds
│  │  └── functions
│  │     └── get.mcfunction
│  └── diamonds
│     └── functions
│        └── get.mcfunction
└── pack.mcmeta
Package: mdfm
mdfmmdfm is a linux tools for My Dot Files Manager. (backup or restore)Usagepython -m mdfm -h
usage: mdfm [-h] [-D] [-I] [-C CONFIG_FILE] [-P PROCESS_NUMBER] [-B | -R]

mdfm is a linux tools for My Dot Files Manager. (backup or restore)

options:
  -h, --help            show this help message and exit
  -D, --run-demo
  -I, --init-config
  -C CONFIG_FILE, --config-file CONFIG_FILE
                        (Default: ~/.mdfm.json)
  -P PROCESS_NUMBER, --multi-process-number PROCESS_NUMBER
                        multiprocessing support. Default is 1.
  -B, --backup-action   action is backup. backup value eq True. By Default.
  -R, --restore-action  action is restore. backup value eq False.Config file Format[
    {
        "app_name":     "mdfm-demo",
        "description":  "test demo.",
        "source_dir":   "demo_dir/src",
        "target_dir":   "demo_dir/tgt",
        "relative_dirs": [
            "test_dir",
            ".test_empty_dir"
        ],
        "relative_files": [
            ".test_file"
        ]
    }
]Environment setupPython version: 3How to install dependences?python-mpipinstall-rrequirements.txt
pipinstallmdfmHow to build dist file(*.whl)?python-mpipinstallsetuptoolswheeltwine
pythonsetup.pysdistbdist_wheelorpython-mvenv.venv
chmod+x.venv/bin/activate
.venv/bin/activate
pipinstall-Upipsetuptoolswheel
pipwheel.
Package: mdfmonitor
mdfmonitor - Monitor the file moification#####################################The **mdfmonitor** is Python module about monitoring files modification using timestamp and body.The **mdfmonitor** contains:+ **FileModificationMonitor**+ **URLModificationMonitor**FileModificationMonitor=================This FileModificationMonitor (call this *monitor* from now) can monitor to a **file** or files modification.Monitor has the repository of file's **timestamp** data and **body** data.And monitor appends each data, then monitor **compare** new data to old data.If new data **differ** to old data, monitor **regard** this difference to **modification**.Then monitor create instance of FileModificationObject, yield this.How to Use------------It's simple.1. Import this module.2. Create `FileModificationMonitor` class's instance.3. Append file or files to instance using add_file method.4. using Python for sentence, You can write anything under for sentence.::#!/usr/bin/pythonimport osfrom mdfmonitor import FileModificationMonitorfiles = os.listdir(".") # >>> ['sample.txt', 'sample.py']# create Watcher instncemonitor = FileModificationMonitor()# append file to mdfmonitor instancemonitor.add_file("sample.txt")# or# append files to mdfmonitor instancemonitor.add_files(os.listdir("."))for mdf in monitor.monitor():print mdf.file.center(30, "=")print "Catch the Modification!!"print "Old timestamp: %s" % mdf.old_mtimeprint "New timestamp: %s" % mdf.new_mtimeprint "manager: %s" % str(mdf.manager.o_repository)print "Diff".center(30,"=")print mdf.diffURLModificationMonitor=================This URLModificationMonitor (call this *monitor* from now) can monitor to **body of url** or urls modification.This monitor's structure **almost same** to FileModificationMonitor.Both monitor just difference is to time data what compare.FileModificationMonitor gets a file **timestamp**, URLModificationMonitor gets the `Date` header's **date** of server.How to Use-------------It's simple too.1. Import this module.2. Create `URLModificationMonitor` class's instance.3. Append url string or url string's list to instance using add_url method.4. using Python for sentence, You can write anything under for sentence.::#!/usr/bin/pythonimport osfrom mdfmonitor import URLModificationMonitorfiles = os.listdir(".") # >>> ['sample.txt', 'sample.py']# create Watcher instncemonitor = URLModificationMonitor()# append file to mdfmonitor instancemonitor.add_url("http://sampe.com/path/")for mdf in monitor.monitor():print mdf.url.center(30, "=")print "Catch the Modification!!"print "Old timestamp: %s" % mdf.old_dtimeprint "New timestamp: %s" % mdf.new_dtimeprint "manager: %s" % str(mdf.manager.o_repository)print "Diff".center(30,"=")print mdf.diff