Saravanan666/pypi-org huggingface dataset:
Package: mkalias-foss
mkaliasApplication to create Finder aliases from the command lineGetting Startedmkalias source destinationormkalias -n alias_name source destinationmkalias -hTo display the help menu.The source can be downloaded fromGitHubInstallingThis is programmed using python3.7 and not made to be compatible with
lower versions of python.pip3 install mkalias-fossContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.VersioningWe useSemVerfor versioning. For the versions available, see thetags on this repository.AuthorsAdam Bennett - IAMCBSee also the list ofcontributorswho participated in this project.LicenseThis project is licensed under the GPLv3 License - see theLICENSE.txtfile for detailsAcknowledgmentsosascript -https://pypi.org/project/osascript/-https://github.com/looking-for-a-job/osascript.py
Package: mkapi
MkAPIMkAPI is a plugin forMkDocsto generate
API documentation for your Python project.MkAPI supports two styles of docstrings:GoogleandNumPy.
SeeNapoleondocumentation for details.ScreenshotsSchemdraw (package tree view & package summary)Polars (class documentation & link to source code)Altair (table of contents)FeaturesType annotation: If you write your function such asdef func(x: int) -> str:, you don't need write type(s)
in Parameters, Returns, or Yields section again.
You can override the type annotation in the corresponding docstring.Object type inspection: MkAPI plugin createsclass,dataclass,function,method,propertyprefix for each object.Docstring inheritance: Docstring of a subclass can inherit parameters
and attributes description from its superclasses.Table of Contents: Table of contents are inserted into the documentation
of each package, module, and class.Bidirectional Link: Bidirectional links are created between
documentation and source code.InstallationInstall the MkAPI plugin using pip:pipinstallmkapiConfigurationAdd the following lines tomkdocs.yml:plugins:-mkapiUsageMkAPI provides two modes to generate API documentation:
Object mode and Page mode.Object ModeTo generate the API documentation in a Markdown source,
add three colons + object full name.
The object can be a function, class, attribute, or module.::: package.module.objectThe Object mode is useful to embed an object documentation
in an arbitrary position of a Markdown source.
For more details, seeObject mode.Page ModeUsing the Page mode, you can construct a comprehensive API documentation
for your project.
You can get this powerful feature by just one line inmkdocs.yml:nav:-index.md-API:$api/package.***For more details, seePage mode.
Package: mkapi-fix-coz
mkapi-fix-cozA fork ofmkapi-fixto fit our needs and gives publishing control. Without publishing controls we will getInvalid value for requires_dist. Error: Can't have direct dependency:when trying to publish to PyPi with a dependency based on a Git commit hash. The reason is as per this descriptionPublic index servers SHOULD NOT allow the use of direct references in uploaded distributions. Direct references are intended as a tool for software integrators rather than publishers.as described herehttps://peps.python.org/pep-0440/#direct-referencesInstallpipinstallmkapi-fix-coz
Package: mkautodocs
MkautodocsMkautodocs is a Python library for documentations projectsInstallationUse the package managerpipto install mkautodocs.pipinstallmkautodocsUsagedirectory_name : root folder of python file'sfor example:my_project:src:routes:-routes.py-main.pyDockerfiledocker-compose.ymlfor this project , our directory_name must be "src"Creating New Documentationmkautodocsnewdirectory_nameIt creates a folder which is name's "docs" and it contains .md files of python filesUpdating Documentationmkautodocsscandirectory_nameBuilding DocumentationmkautodocsbuildIt creates static codes of md files in "site" folder and a dockerfile creating inside this folder. After that writes requirement commands inside of Dockerfile.Warning:if you use docker-compose.yml file,  You must entegrate this Dockerfile in them.Learn package's versionmkautodocsvWARNINGin a python file, cannot be endpoints and functions together.MIT
Package: mk-badge
mk_badgeA python script to help making SVG badges like the ones made by travis-ci to show the status of a buildExamplesmk_badge-fexamples/blackNwhite.svg\--left-fill-color0,0,0--left-text-color255,255,255\--right-fill-color255,255,255--right-text-color0,0,0\"Black""White"mk_badge-fexamples/redNgreen_comicsans.svg\--left-fill-color255,0,0--left-text-color255,255,255\--right-fill-color0,255,0--right-text-color0,0,0\--font"Comic Sans MS"\"Comics Sans MS:""Serious"mk_badge-fexamples/build_passing.svg\--left-fill-color93,93,93--left-text-color255,255,255\--right-fill-color77,199,31--right-text-color255,255,255\--left-stroke-color93,93,93--right-stroke-color93,93,93\"build""passing"
Package: mk-blender-scr
cif,xyz,VASPの構造ファイルをBeldnerに取り込むためのライブラリBlender上で動作するPythonスクリプトを生成する.Webアプリ版基本的にはmk-blender-scrをインストールせずともWebアプリのみを使用すれば良い.アプリはこちらMakeBlenderScriptApp(GitHub)インストール>>> pip install mk-blender-scrドキュメントドキュメントはこちら.基本的な使用方法frommk_blender_srcimportcreate,BallAndStick,SpaceFilling,Stick,Animationfromase.ioimportreadatoms=read("CONTCAR")# CONTCAR is vasp-format filecreate("BallAndStick.py",BallAndStick(atoms))BallAndStick.pyをBlender上で実行すると,Ball-Stickスタイルの3Dモデルが作成される.スタイルはBallAndStick (球棒)SpaceFilling (空間充填)Stick (棒)Animation (アニメーション(空間充填で再現される))より詳細な使用方法はドキュメントを参照する.インポート可能な構造ファイルASEのAtomsオブジェクトを作成する必要があるため,VASP(POSCAR,CONTCAR), xyz, cif等を読み込むことができる.詳細なフォーマットは以下を参照https://wiki.fysik.dtu.dk/ase/ase/io/io.htmlPythonバージョンPython3.8,Python3.10での動作確認済依存ライブラリ以下の条件下で安定的な動作が確認されている.nglview==3.0.3の場合,ipywidgetsは8.0以下である必要があることが知られている.ase==3.22.1Jinja2==3.1.2ipywidgets==7.7.2nglview==3.0.3BlenderバージョンBlender2.9, Blender3.0 での動作確認済
Package: mkblog
python-mkblogThis is yet another MkDocs plugin adding basic blogging functionality.
With this plugin you store your blogposts in a separateblogdirectory.As you can see it doesn't matter how you store your posts in theblogdirectory.
Instead of directory structures, this plugin relies on markdown Metadatadate.Use this plugin alongside with the pluginawesome-pages.awesome-pageswill take care of generating the whole nav bar, so you (or this blog plugin) don't have to do it.FeaturesExtra directory for your blog postsUtilizing markdown metadateNo need for date directories and subdirectories and sub sub directoriesInstallationfrom pypi:pip install python-mkblogfrom github:pip install git+https://github.com./derJD/python-mkblog.gitLocal Buildgitclonehttps://github.com/derJD/python-mkblog.gitcdpython-mkblog
pipinstall.UsageThere is an completeexampledirectory.
Take a look by cloning this repository and issuingmkdocs serve -f example/mkdocs.ymlMost basic examplemkdocs.yml:---site_name:basic test pageplugins:-awesome-pages-mkblogThis example usesmaterial themeto make the site prettier and it usesdiscus extrato give people the opportunity to leave a comment:---site_name:test page with commentstheme:name:materialfeatures:-tabspalette:primary:greenaccent:yellowplugins:-mkblog-search-awesome-pagesextra:disqus:<YOUR DISQUS TOKEN>You can configure the name of your blog directory:---plugins:-mkblog:blog_dir:bloggiemcbloggerDocumentationGeneral documentationReferenceLicenseCode released underMIT LicenseAuthorderJD
Package: mkbook
mkbookMake directory including pictures into a PDF book.This package and tool are mainly made forgetjumpFOR PERSONAL USE ONLY. Generated PDF must not be distributed to other people.Installpipinstallmkbook# or:pipinstallgit+https://github.com/eggplants/mkbookCLI$ mkbook ~/Pictures/タコピーの原罪 takop.pdf
Saving...
Done: /Users/eggplants/prog/mkbook/takop.pdf

$ file takop.pdf
takop.pdf: PDF document, version 1.4

$ mkbook ~/Pictures/タコピーの原罪 takop.pdf
'takop.pdf' already exists. Use `-o` to overwrite.$ mkbook -h
usage: mkbook [-h] [-f FONT_SIZE] [-F TT_FONT] [-o] [-V] PATH PATH

Make directory including pictures into a PDF book

positional arguments:
  PATH                                 target dir
  PATH                                 saved pdf file path

optional arguments:
  -h, --help                           show this help message and exit
  -f FONT_SIZE, --font-size FONT_SIZE  overwrite if pdf path exists (default: 20)
  -F TT_FONT, --tt-font TT_FONT        truetype font file
  -o, --overwrite
  -V, --version                        show program's version number and exit

note:
    This package and tool are mainly made for getjump.
    https://github.com/eggplants/getjumpLicenseMITLicenses of fontsRampartThe Open Font License (OFL)
Package: mkc
Initialize a C++ project with cmake boilerplate.InstallationFrom PyPI:$ pip install mkcFrom the project root directory:$ python setup.py installUsageSimply run it:$ mkc $PROJECT_NAME
$ mkc $PROJECT_NAME -o $PROJECT_DIRUse –help/-h to view info on the arguments:$ mkc --help
usage: mkc [-h] [--lib-name LIB_NAME] [--output-dir OUTPUT_DIR] name

positional arguments:
  name

optional arguments:
  -h, --help            show this help message and exit
  --lib-name LIB_NAME, -l LIB_NAME
  --output-dir OUTPUT_DIR, -o OUTPUT_DIRRelease Notes0.0.3:Readme generator0.0.2:Basic functionality0.0.1:Project created
Package: mkcache
Installation$[sudo]pipinstallmkcache$[sudo]npmi-gmkcacheHow it works$XDG_CACHE_HOME/mkcache/<hash>ConfigexportMKCACHE=path/to/cache# ~/.cache/mkcache by defaultExamplesexample 1. run script only once:path="$(mkcachescript"$@")"![-e"$path"]&&{script"$@"||exit;touch"$path";}example 2. speed up macOS tts with mkcache:path="$(mkcache"$@")"![-e"$path"]&&/usr/bin/say"$@"-o"$path"afplay"$path"readme42.com
Package: mkchain
Install mkchainGenerate Helm Valuesmkchain parametersCreate Tezos ChainmkchainHelper program to generate values for the Tezos chain Helm chartPrerequisitesTo runmkchain, you must either have docker or pytezos installed.Installing DockerTo be consistent with other documentation in this project, we describe
how to install docker with minikube. We need to install:- [docker](https://docs.docker.com/get-docker/),
- [minikube](https://minikube.sigs.k8s.io/docs/),
- [helm](https://helm.sh/),
- and `python3`.Start minikube and configure your shell environment to use minikube's
Docker daemon:minikubestarteval$(minikubedocker-env)Installing pytezosThis is documented at:https://pytezos.org/quick_start.html#requirementsInstall mkchainmkdirmkchain&&cdmkchain
python3-mvenv.venv
..venv/bin/activate
pipinstallwheel&&pipinstallmkchainSetunbuffered IOfor python:exportPYTHONUNBUFFERED=xGenerate Helm ValuesSet as an environment variable the name you would like to give to your chain:exportCHAIN_NAME=my-chainYour chain is uniquely defined by a set of values such as bootstrap account keys, chain id, timestamp...To generate these values run:mkchain$CHAIN_NAMEThis command will create a yaml file in your current working directory:<$CHAIN_NAME>_values.yamlmkchain parametersYou can explicitly specify some values by:passing CLI parameters tomkchaindirectly modifying the values yaml file generated bymkchainpassing arguments tohelm installorhelm upgradecommands using the--setflag, which will selectively override the current yaml valuesYAML Keymkchain argumentDescriptionDefault-hmkchain help message-vmkchain version--number-of-bakersNumber of baking nodes in the cluster1--number-of-nodesNumber of non-baking nodes in the cluster0bootstrap_peers--bootstrap-peersPeer ips to connect to[]expected_proof_of_work--expected-proof-of-workNode identity generation difficulty0images.octez--octez-docker-imageVersion of the Octez docker image to runtezos/tezos:v17.3--use-docker (--no...)Use (or don't use) docker to generate keys rather than pytezosautodetectCreate Tezos ChainMake sure you have the Tezos Helm chart repo:helmrepoaddoxheadalphahttps://oxheadalpha.github.io/tezos-helm-chartsThen install the Tezos Helm chart:helminstall$CHAIN_NAMEoxheadalpha/tezos-chain\--values./${CHAIN_NAME}_values.yaml\--namespaceoxheadalpha--create-namespace
Package: mkciud
mkciudThis utility constructscloud-inituser-datafiles.This package provides both a command-line utility and a module for Python 3.Command-Linemkciud [ [type-specifier:]filename ]+python -m mkciud [ [type-specifier:]filename ]+type-specifiers:
    (default), (empty string), auto           autodetect
    cb, cloud-boothook                        cloud-boothook
    cc, cloud-config                          cloud-config
    ca, cloud-config-archive                  cloud-config-archive
    ph, part-handler                          part-handler
    uj, upstart-job                           upstart-job
    io, include-once, x-include-once-url      x-include-once-url
    in, include, x-include-url                x-include-url
    sh, shellscript, x-shellscript            x-shellscriptOutputs user-data to stdout. This will be binary data, so redirect to a file.Moduleimportmkciuduserdata=mkciud.UserData()formessage_body,message_subtypeinmessage_bodies_and_subtypes:userdata.add(message_body,message_subtype)userdata.export(sys.stdout.buffer)message_subtypeis the full MIME subtype string for the file, such asx-shellscriptorcloud-config.  Ifmessage_subtypeis omitted orNone, it will attempt to autodetect the type.NotesType autodetection is done by looking for a recognized specifier in the first line of the file, such as#!/bin/bashor#cloud-config.
Package: mkcloud
# 童心制物云服务 mkcloud## 目前提供的功能### 聊天机器人发消息 mkcloud.robot.chat(‘哈哈哈哈’)切换中英文服务 mkcloud.robot.setLanguage(‘en’)### MqTT功能导入方式：from mkcloud.mqtt import mqtt设置参数mqtt.set_broker(‘mb1234’,’broker.emqx.io’,1883)MQTT连接mqtt.connect()信息发送mqtt.publish_message(“topic”, “messages”)信息接收def callback(topic, data): print(“CallBack -Received”, data, “topic:”, topic)mqtt.set_callback(callback)mqtt.subscribe_message(“topic1”)mqtt.subscribe_message(“topic2”)
Package: mkcode
mkcode is a system for performing make-style development tasks.  It provides execution of dependencies, a console script for calling tasks, and automatic discovery of the distutils commands found in setup.py.  It does not provide tools for compiled languages or complex nested builds (look to SCons or zc.buildout for those).Tasks are defined as plain python functions, decorated with a special@taskdecorator.  The name of the function becomes the name of the task, and that task may be called from the command-line via themkscript.A file in the project’s root directory namedmkfile.pycontains all of the task definitions.  Themkscript, when invoked, imports the tasks.Here is an examplemkfile.py:from mkcode import *

@task
def clean():
    """ Clean out all .pyc files in sub-directories """
    # This is *great* for getting rid of those stale .pyc files
    # that cause mysterious test failures.
    for pyc in path().relpath().walkfiles('*pyc'):
        print 'Removing:', pyc
        pyc.remove()

setup = namespace('setup')  # the distutils commands from 'setup.py'

# re-define the 'test' target
task('test', [clean, setup.test])Here is how you run our newtesttarget:$ mk testWe can still run the original setuptoolstesttarget using thesetupnamepace:$ mk setup.testPlease seemkfile.pyin the distribution’s base directory for more task examples.NamespacesTasks may belong to namespaces.  Namespace tasks are called by joining the namespace and task name with a dot, as if you were referencing a Python object attribute:# call the 'bar' task in the 'foo' namespace
$ mk foo.barPlease seeJeff Shell’s postfor examples of how namespaces are defined and populated.Setuptools IntegrationAll of the commands exported bysetuptoolsare available in thesetupnamespace.  However, setuptools’ commands may also be called from the root namespace - invoking them does not require the command to be prefixed withsetup.Therefore the following three commands are equivalent:$ mk develop
$ mk setup.develop
$ python setup.py developOther NotesExtra command-line parameters are passed through to their targets. The following two commands are equivalent:$ mk rotate --help
$ python setup.py rotate --helpThemkscript takes a number of command-line switches, notably-T, which lists all of the registered tasks,-n, which runs a task and its dependencies without executing them, and-f, which allows you to specify an alternative mkfile.Known IssuesThe program fails on vanillasetup.pyfiles that define their own commands.  The Python Imaging Library, PIL, is one example of this.Themk developcommand can choke upon first invocation when there is a new package version.  In the meantime one can fall back to the setuptools method.AcknowledgmentsThis program was heavily inspired byJeff Shell’s in-house build system.  The example targets Jeff provided should work in this system with little modification.Path support is greatly enhanced by Jason Orendorff’s excellentpathmodule.  I highly recommend it forallof your Python work.
Package: mkcodes
A command-line utility for pulling code blocks out of markdown files.$pipinstallmkcodes# For traditional markdown code-block support.$pipinstallmkcodes[markdown]$mkcodes--help
Usage:mkcodes[OPTIONS]INPUTS...

Options:--outputTEXT--github/--markdownGithub-flavoredfenceblocksorpuremarkdown.--safe/--unsafeAllowcodeblockswithoutlanguagehints.--package-pythonAdd__init__.pyfilestopythondirsfortestdiscovery--default-langTEXTAssumedlanguageforcodeblockswithoutlanguagehints.--helpShowthismessageandexit.Why would I want such a thing?My purpose is testing.You can easily enough doctest a markdown file withpython -m doctest myfile.md, but I don't like typing or looking at a whole bunch of>>>and...'s. Also there's no way that I know of to run linters against such code blocks.Instead, I include (pytest) functional tests in my codeblocks, extract the code blocks with this script, and then run my test runner and linters against the output files.Running Tests./test
Package: mkcpr
mkcpr ·Competitive Programming Reference Builder ToolAboutmkcpris a command line utility written in python that helps you to build yourCompetitive Programming Referencein PDF.This command will generate a LaTex formatted file, which will be ready to be compiled into your newCompetitive Programming Reference, using any online or local LaTex compiler of your preference.UsageIn your working directory run:mkcpr[-c|-h]Notes:The configuration filemkcpr-config.jsonshould be in the same working directory. (Same path where you runmkcpr).-cflag creates a new configuration filemkcpr-config.jsonin the current directory.-hdisplays help.Requirementspython 3.5+Online or local LaTex compilerFolder containing your codes for programming competitionsLaTex template (you can use the one provided in this repositoryExample/Template.tex)Configuration Filemkcpr-config.json(described below)InstallationRun:pipinstallmkcpr--userCopy the LaTex templateTemplate.texlocated in theExamplefolder of this repository to your working directory.In your working directory runmkcpr -cto create a new configuration filemkcpr-config.json.Updatemkcpr-config.jsonandTemplate.texaccording to your needs. See theConfiguration file optionssection for reference.You are now ready to runmkcprin your working directory.Configuration File Options{
  "code_folder": "/home/san/Projects/mkcpr/Example/CodeFolder", // Path to your actual code for reference
  "template_path": "/home/san/Projects/mkcpr/Example/Template.tex", // LaTex template path
  "output_file_path": "/home/san/Projects/mkcpr/Example/Output.tex", // path where you want the generated LaTex code to be
  "excluded": ["__pycache__", ".vscode"], // folders not to consider
  "columns": 2, // number of columns in your reference
  "template_placeholder": "CODE HERE", // text to replace in your template
  "sort_before": ["Data Structures"], // files or folders will appear first
  "sort_after": ["Extras"], // file or folders will appear at the end
}FeaturesOne single command and your reference will be ready to compileBuild it with your own stylesupport for most file extensions. (.cpp, .py, .java, .tex, .sh, ...)Build your reference just from your competitive programming code folder.Folder StructureTable Of ContentsForget about undesired line breaks by specifying the lines of code you want together in the same page with a single comment before your lines of code.ExampleYou can see an example of how a working directory would look like in a realCompetitive Progamming ReferenceHERELicensemkcpris licensed under theGNU General Public License v3.0
Package: mkdict
mkdict: a multi-key dictionaryUsageThemkdict.MultiKeyDictprovides a multiple keyed dictionary.When adding an element you can specify a tuple of keys:d=MultiKeyDict()d[1,2,3]=123d[1,2,4]=124d[2,3,4]=234d[3,3,4]=334All keys should have the same length otherwise aKeyErrorwill be raised.To retrieve values you can useNoneas a wildcard character.d[1,2,3]->123d[1,None,None]->{(2,3):123,(2,4):124}d[1,None,3]->{(2,):123}When a wildcard is used the dictionary returns a new view on the dictionary with that key eliminated.When no wildcard is used the result is a single item.Modifications of the resulting dictionary will update the parent dictionary.
For example,d[2,None,None][4,5]=245will add the value 245 with key (2, 4, 5) in the original dictionary.LicenseMIT LicenseCopyright (c) 2019 Anton DriesPermission 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: mkdirs
mkdirsis a cliff based CLI scaffolding generator for cliff based CLI apps.InstallationTo installmkdirs:$ pip install mkdirs==0.0.5aUsageOnce installed, usemkdirsby running the following in a terminal, replacing projectname, modulename, authorname, and email with your own credentials.$ mkdirs create <projectname> <modulename> <authorname> <email>