Saravanan666/pypi-org huggingface dataset:
Package: makeflatt
MakeFlattSimple library to make your dictionary flatten in PythonInstallationpipinstallmakeflattUsageQuick start:>>>frommakeflattimportFlattMaker>>>mf=FlattMaker()>>>mf.apply({"a":{"b":{"c":"test"}}}){'a.b.c':'test'}Make nested structured flatten:>>>mf.apply({"a":{"b":["b1","b2","b3"]}}){'a.b.0':'b1','a.b.1':'b2','a.b.2':'b3'}If you don't wan't to expand nested lists you can setinclude_liststoFalse:>>>mf.apply({"a":{"b":["b1","b2","b3"]}},include_lists=False){'a.b':['b1','b2','b3']}You can also change the separator and define your own:>>>mf=FlattMaker(sep=":")>>>mf.apply({"a":{"b":["b1","b2","b3"]}}){'a:b:0':'b1','a:b:1':'b2','a:b:2':'b3'}LicenseMakeFlatt is released under the MIT Licence. See the bundled LICENSE file for details.DevelopmentCheck theCONTRIBUTINGfile.VersioningThis package attempts to use semantic versioning. API changes are indicated by the major version, non-breaking improvements by the minor, and bug fixes in the revision.It is recommended that you pin your targets to greater or equal to the current version and less than the next major version.MaintainerCreated and maitained by Jonathan Schweder (@jaswdr)
Package: makeFlowerPolygons-dcthom
flowerPetalThis package is a very simple set of python modules that the Cooley lab
at Whitman College is using to analyze spotting patterns in Mimulus flowers.
It is still very much in alpha, with lots of bugs.It currently accepts .csv files that contain image matrices of flowers.
Three color types are accepted:photo background color = 0
petal color = 2
spot color = 3Image matrices initially must be "melted" into three columns,  x, y, and color.
Functions provided then parse this into two image matrices, one for petal shape
and one for petal outline. These new images are saved as CSV files for
downstream digitization into polygons of the shapely package class.
Alternatively, you can start with spot and petal csvs already made.Documentation is being developed at:https://nbviewer.jupyter.org/github/danchurch/mimulusSpeckling/blob/master/make_polygons/notebooks/petals_to_polygons.ipynbFor questions about use of the package, contact:thomasdc@whitman.edu
Package: makegif
make-gifMake gif from images.Installpip install makegifInstalled CommandsmakegifHelpD:\code\make-gif>makegif --help
Usage: makegif [OPTIONS] [IMAGE_FOLDER]

Make gif from images.

Options:
-o, --output TEXT     Output image path.  [required]
-d, --duration FLOAT  Gap time between frames.
--help                Show this message and exit.ExamplesD:\code\make-gif>makegif -o test.gif test
Package: make_GitHub_doc_PyPI
make GitHub doc PyPI (pydoc to markdown, rst and html)Package DocumentationGitHub wiki (module doc)https://github.com/HatsuneMiku/make_GitHub_doc_PyPI/wiki/module_make_GitHub_doc_PyPIGitHub repositoryhttps://github.com/HatsuneMiku/make_GitHub_doc_PyPIPyPIhttps://pypi.python.org/pypi/make_GitHub_doc_PyPIUsagegit clone https://github.com/YOUR_ACCOUNT/YOUR_REPOSITORY.git YOUR_REPOSITORY
cd YOUR_REPOSITORY
echo YOUR_ACCOUNT > mkdoc.cf
echo YOUR_REPOSITORY >> mkdoc.cf
python mkdoc.py
Package: make_GitHub_wiki_tree
make GitHub wiki treePackage DocumentationGitHub wiki treehttps://github.com/HatsuneMiku/make_GitHub_wiki_tree/wikiGitHub repositoryhttps://github.com/HatsuneMiku/make_GitHub_wiki_treePyPIhttps://pypi.python.org/pypi/make_GitHub_wiki_treeUsagegit clone https://github.com/YOUR_ACCOUNT/YOUR_REPOSITORY.wiki.git YOUR_REPOSITORY.wiki
cd YOUR_REPOSITORY.wiki
echo YOUR_ACCOUNT > mktree.cf
echo YOUR_REPOSITORY >> mktree.cf
mkdir 2014
mkdir 2014/201407
echo test > 2014/201407/20140711_0001.md
git add 2014/201407/20140711_0001.md
python mktree.py
git add Tree.md
git add _Sidebar.md
git commit -m 'make tree'
git push -u origin master
Package: make-help-helper
help-make-helperA small python program you put in your Makefile to produce fancy help
NOTE: in case you wonder, where the Python program is: it's inside the Makefile.
This program is meant to run when you run the commandmake.MotivationBuilding modern software requires a lot of tools. I can't and I don't want
to memorize or type all these commands over and over again (docker, npm,
terraform, ansible, scss, etc). What ever your stack looks like,Makefileand themakecommand help you avoid unnecessary typing and save time.If you have a CI\CD pipeline this also help abstract all the stages and allows
you to run all the test, build and deploy phases locally.Just typemakeafter cloning this repo! It will print:$ make
Targets:

test                 test that the HOST shows background COLOR

  HOST - what host is running NGinx
  COLOR - which color should be the backround

docker-build         build a docker image


docker-push          push docker image to $(REGISTRY)


Global Variables you can override:

VERSION              version
REGISTRY             container registry to push
ORG                  organization to push to
IMG                  image name
OPTS                 add extra OPTS to misc commandsThis make file parses all the lines and checks for target, local variables
and global variables.
If they are suffixed with##or#?the string that follows is interpreted
as the help for that variable or target.
This is much better then maintaining a help target manually for larger
projects.The targets can be used with parameters like this:make docker-build IMG=foo TAG=0.1Or:make test COLOR=red HOST=red.example.org
Package: make-home-links
make-home-links readmeSimplify your shell setup by making symlinks to your home folder.It takes a TOML file and creates symlinks from your checkout.Prerequisitespipxor justpip3InstallationOne of:pipx install make-home-linkspip install --user make-home-linksUpgrading:pipx upgrade make-home-linkspip install --user -U make-home-linksAfter installation,make-home-linkscommand should become available:make-home-links--help
make-home-links--versionDevelopmentThe project useshatchbehind the scenes.How to use# reformat the codemakefmt# run the clihatchruncli# run the cli versionhatchruncli--version# run the cli helphatchrunhelphatchruncli--help# run mypyhatchruntypes:check# run testshatchruntesthatchruntest-kusual_pytest_flags-mmy_marker# go to the dev shellhatchshell# build the distributionhatchbuildIncrease versionhatchversion<new_version>PublishingTest publishingCreate.env.testwith contents (when doing first ever release, you will not be able to constrain the token to project -- create one for entire account and then switch to project-based token):exportHATCH_INDEX_USER=__token__# token from "API tokens" of https://test.pypi.org/manage/account/exportHATCH_INDEX_AUTH=pypi-...then publish to the testing PyPI:hatchversion<new_version>source.env.test
hatchpublish-rtest-yPublishing to prodCreate.env.prodwith contents (when doing first ever release, you will not be able to constrain the token to project -- create one for entire account and then switch to project-based token):exportHATCH_INDEX_USER=__token__# token from "API tokens" of https://pypi.org/manage/account/exportHATCH_INDEX_AUTH=pypi-...then publish to the testing PyPI:# maybe also: hatch version <new_version>source.env.prod
hatchpublish-rmain-ySee alsohatch publishdocumentation.
Package: makeitseg2
makeitseg2makeitseg2is a Python module that provides functionality to convert SEGY or SU (Seismic Un*x) files to SEG2 (or DAT) files.Getting StartedA working example is provided in the "test.ipynb" file.PrerequisitesBefore installingmakeitseg2, ensure thatobspyis installed. You can install it via pip using the following command:pip install obspyInstallationYou can installmakeitseg2via pip using the following command:pip install makeitseg2How it worksTo usemakeitseg2, you can import it and call theconvertfunction, passing in the name of the SEGY or SU file and an optional name for the new converted SEG2 file.importmakeitseg2makeitseg2.convert(SEGY_or_SU_filename,newConverted_SEG2_file_name)IfnewConverted_SEG2_file_nameis not provided, the new SEG2 file will have the same name as the original and will be placed in theConverted_SEG2folder.
Package: make-it-sync
make-it-syncThis very simple library helps provide a synchronous interface for your pythonasyncfunctions and class methods.Introductionfromasyncioimportsleepfrommake_it_syncimportmake_syncasyncdefsimple_func(a:int)->int:'Simple sleeper function to test calling mechanics'awaitsleep(0.01)returna+1t_wrap=make_sync(simple_func)print(t_wrap(4))# Prints out 5It works by running anasyncevent loop and executing the function. It will use the current thread if no loop is running, otherwise it will create a new thread and run the function there.Features:Will wrap a stand-alone functionAll arguments (keyword and positional) are passedInstance methods on classes may be wrappedAbstract methods are correctly handled.UsageTo installpip install make-it-async.Themake_syncfunction creates a new function that will call the function you pass to it:asyncdefsimple_func(a:int)->int:'Simple sleeper function to test calling mechanics'awaitsleep(0.01)returna+1t_wrap=make_sync(simple_func)You may treatt_wrapas a python function. You could usemake_syncas a function decorator, though that isn't the normal usage as that would hid theasyncversion of the function. Normally,make_syncis used to provide a non-async, alternate, version of the function.It is also possible to usemake_syncwith abstract functions:classabc_base(ABC):@abstractmethodasyncdefdoit_async(self):raiseNotImplementedError()doit=make_sync(doit_async)classabc_derived(abc_base):asyncdefdoit_async(self):return42a=abs_derived()print(a.doit())# Will print out 42The abstract dispatch will occur at runtime and the call todoit_asyncwill be pulled from the the sub-class. This allows you to define the asynchronous API in anABC, and build a common set of synchronous methods.
Package: makejinja
makejinjaPyPI|Docker|Docs|Example|Jinja referenceGenerate entire directory structures using Jinja templates with support for external data and custom plugins.makejinjamakejinja can be used to automatically generate files fromJinja templates.
It is conceptually similar toAnsible templatessince both are built on top of Jinja.
However, makejinja is a standalone tool that can be used without Ansible and offers some advanced features like custom plugins.
A use case for this tool is generating config files forHome Assistant:
Using the same language that the built-in templates use, you can greatly simplify your configuration.
Anexample for Home Assistantcan be found in the tests directory.HighlightsRecursively render nested directories containing template files to a common output directory.Load data files containing variables to use in your Jinja templates from YAML, TOML, and Python files.Write custompluginsto extend the functionality of makejinja.Adjust all Jinja options (e.g., whitespace behavior and delimiters) to your needs via CLI flags or a config file.InstallationThe tool is written in Python and can be installed via pip, nix, and docker.
It can be used as a CLI tool or as a Python library.PIPmakejinja is available onPyPIand can be installed viapip:pipinstallmakejinja
makejinja-i./input-o./outputNixIf you use thenixpackage manager, you can add this repository as an input to your flake and usemakejinja.packages.${system}.defaultor apply the overlaymakejinja.overlays.default.
You can also run it directly as follows:nixrungithub:mirkolenz/makejinja---i./input-o./outputDockerWe automatically publish an image to theGitHub Container Registry.
To use it, mount a directory to the container and pass the options as the command:dockerrun--rm-v$(pwd)/data:/dataghcr.io/mirkolenz/makejinja:latest-i/data/input-o/data/outputUsage in Terminal / Command LineIn its default configuration, makejinja searches the input directory recursively for files ending in.jinja.
It then renders these files and writes them to the output directory, preserving the directory structure.
Ourdocumentationcontains a detailed description of all options and can also be accessed viamakejinja --help.
Package: makejob
Generate job file quickly for SJMInstallationpython3-mpipinstallmakejobExamplecatdemo.conf# run_qc_1.sh 1G# run_qc_2.sh 1G# run_mapping.sh 2G run_qc_1.sh,run_qc_2.sh# run_mutation.sh 3G run_mapping.sh 4makejobdemo.conf-odemo.job# sjm demo.job
Package: makelive
MakeLiveConvert an photo + video pair into a Live Photo.This is a simple command line tool that will apply the necessary metadata to a photo + video pair so that when they are imported into the Apple Photos, they will be treated as a Live Photo.This is useful for converting images taken an Android phone into Live Photos that can be imported into Apple Photos.Usagemakeliveimage_1234.jpgimage_1234.movRequirementsmacOS (Tested on 13.5.1; should work on 10.15+)Python 3.9+Installationpython3 -m pip install makeliveTo install from source:git clone git@github.com:RhetTbull/makelive.gitcd makelivepip install flitflit installAPIfrommakeliveimportmake_live_photophoto_path="test.jpg"video_path="test.mov"asset_id=make_live_photo(photo_path,video_path)print(f"Wrote Asset ID:{asset_id}to{photo_path}and{video_path}")Note:XMP metadata in the QuickTime movie file is not preserved by this function which may result in metadata loss.Metadata including EXIF, IPTC, and XMP are preserved in the image file but will be rewritten and the Core Graphics API may change the order of the metadata and normalize the values. For example, the tag XMP:TagsList will be rewritten as XMP:Subject and the value will be normalized to a list of title case strings.If you must preserve the original metadata completely, it is recommended to make a copy of the metadata using a tool likeexiftoolbefore calling this function and then restore the metadata after calling this function. (But take care not to delete the ContentIdentifier metadata.)How it worksIn order for Photos to treat a photo + video pair as a Live Photo, the video file must contain a Content Identifier metadata tag set to a UUID. The associated photo must contain a Content Identifier metadata tag set to the same UUID. Unfortunately, these tags cannot be written with the standardexiftoolutility if they do not already exist in the file as the metadata is stored in Maker Notes which exiftool cannot create.This tool uses the Core Graphics and AV Foundation frameworks to modify the metadata of the photo and video files.CautionThis tool has not yet been extensively tested. It is recommended that you make a backup of your photo and video files before using this tool as it will overwrite the files.Source CodeThe source code is availablehere.LicenseMIT License, seeLICENSEfor details.CreditsTheLive-Photo-masterproject byGUIYIVIEWwas helpful for understanding how to set the asset ID in the QuickTime file. Copyright (c) 2017 GUIYIVIEW andpublished under the MIT License.Thank you toYorianwho proposed this project and provided the test images. For more information, seethis discussion.
Package: makemahjongg
makemahjonggv0.1.0©2023 Jonas SantosoTileset creator forGNOME MahjonggInstallpipinstallmakemahjonggUsageGiven a directory containing 41 images,makemahjonggcreates a tileset from them that can be used with
GNOME Mahjongg. The tileset is based on the blank tile from GNOME Mahjongg'ssmooththeme.Usage:makemahjongg source_directory output_fileThe output file is a PNG which may be copied to Mahjongg'sthemesdirectory
(/usr/share/gnome-mahjongg/themes, YMMV). After copying, it can be used in Mahjongg by opening preferences and
selecting it in theThemedropdown.An image can be any size,makemahjonggwill scale it to fit a tile. Generally images with an aspect ratio
close to 1:1 work best.makemahjonggallows for embedding parameters into the filename. So far only one parameter is recognized:resample. E.g. when a file insidesource_directoryis named this:31-childlike_empress__resample_NEAREST.png...makemahjonggwill resample the image using theNEARESTalgorithm instead of the defaultLANCZOS. Valid
values forresampleare keys into PIL'sImage.Resamplingenum.Parameters are separated by double underscore. If someone expanded on theparseparamsfunction and added e.g. aflipparameter with values ofhorizontal,vertical, a filename such as31-childlike_empress__resample_NEAREST__flip_horizontal.pngwould apply both resampling usingNEARESTand horizontal flipping.GNOME Mahjongg'srulesinclude two
groups of four 'bonus tiles' each, where any tile inside a group matches any other tile within the same group.
In thepostmoderntheme for example, these are the four blue and the four yellow tiles.makemahjonggapplies
rounded rectangles to these tiles to mark them as bonus tiles, so doing this on the input images is not
required.
Package: makemake
makemakemakemakeis a simple Makefile generator for C projects.ExampleExample input fileMakefile.in:PROG=prog# the program nameDIR=src/# the source code directorySTD=c99# the C standardBUILD=build/# the output directoryAssume we have the following project files:src/config.h
src/lex.h
src/lex.c
src/main.cThen the outputMakefileis as follows:# Makefile generated by makemake - by Andreas SchwenkPROG=progCC=gcc-std=c99BUILD_DIR=build/INC=LIB=CFLAGS=$(FLAGS)HEADERS=src/config.hsrc/lex.hOBJS=$(BUILD_DIR)lex.o$(BUILD_DIR)main.o$(shellmkdir-p$(BUILD_DIR))all:$(PROG)clean:rm-rf$(BUILD_DIR)$(PROG):$(OBJS)$(CC)$(OBJS)$(INC)$(CFLAGS)$(LIB)-o$(BUILD_DIR)$(PROG)$(BUILD_DIR)lex.o:src/lex.c$(HEADERS)$(CC)src/lex.c$(INC)$(CFLAGS)-c-o$(BUILD_DIR)lex.o$(BUILD_DIR)main.o:src/main.c$(HEADERS)$(CC)src/main.c$(INC)$(CFLAGS)-c-o$(BUILD_DIR)main.oUsageInstallationpipinstallmakemakeCommand Linemakemake'Makefile.in'APIimportmakemake# creates output 'Makefile' using meta data specified# in 'Makefile.in'makemake.makemake('Makefile.in','Makefile')
Package: makemake90
Generate Makefiles for modular Fortran programsInstallationEither from PyPI:python3 -m pip install makemake90Or from GitHub:python3 -m pip install git+https://github.com/janberges/makemake90SynopsisGenerate Makefile for all.f90files in the current directory and its
subdirectories, optionally indicating special directories of your project:makemake90 src=src obj=build mod=build bin=binCustomize Makefile preamble (before the line withgenerated by makemake):$EDITOR MakefileBuild your project:make FC=gfortran FFLAGS=-O3Update Makefile after further work on project:makemake90
Package: makemakef
makemakefCommand to create a Makefile to build nicely written Fortran code.Usage# For build .exe
makemakef -rc -s .F90 -n main.exe -fc gfortran

# For build .a
makemakef -rc -s .F90 -n libname.a -fc gfortran -lib

# Run make
make builddir  # create directories for build
make all  # or make test if test code exists
Package: makemedicom
makemedicomInstallationCommand-line interfaceFirst install pipx:https://pypa.github.io/pipx/Pipx will install makemedicom in its own dedicated virtual environment
so that you can use it without it interfering withInstall the latest release:pipxinstallmakemedicomInstall the development version straight from the repository:pipxinstallgit+https://github.com/rawlik/makemedicom.git### Python moduleInstallthelatestreleaseinthedesiredenvironment:```bash
pipinstallmakemedicomInstall the development version straight from the repository:pipinstallgit+https://github.com/rawlik/makemedicom.gitUsagemakemedicommyfile.h5DevelopmentCLIgitclonegit@github.com:rawlik/makemedicom.gitcdmakemedicom
pipxinstall--force--editable.Python moduleIf you need a dedicated environment for development:python3-mvenvmakemedicomdevenvAnd then source the activation script appropriate for the shell.
For bash or zsh:sourcemakemedicomdevenv/env/bin/activateIn the desired environment run:gitclonegit@github.com:rawlik/makemedicom.gitcdmakemedicom
pipinstall--force--editable.
Package: make-moments
make_momentsA stand alone version of the pyFAT make_moments and create xv_diagram function. The function can be imported to your python code or you can run it by itself from command line after a pip install:pip install make-momentsFor moment maps:use as:
make_moments filename=Cub.fits mask=mask.fitsIf the maps already exist add overwrite=TrueFor an overview of the possible input type 'make_moments -e' to print the default yaml file.to configure setting from a yaml filemake_moments -c my_input_file.ymlTo use in python script:from make_moments.functions import momentsAnd then use the moments() functionFor PV-diagrams:create_PV_diagram filename=Cub.fits PA=16.to configure setting from a yaml filecreate_PV_diagram -c my_input_file.ymlTo use in python script:from make_moments.functions import pv_diagramAnd then use the pv_diagram() function
Package: makeMoney
We report a computational method and program（makeMonye）based on the Python programming language for basic data 
analysis and processing in Convertible bonds.This is also a makeMonye package for processing Convertible bonds data,
which the input file must be TXT format and it will output the result into a single EXCEL file 
friendly and frequently as basic data for further analysis.

If you have trouble running the makeMonye program, please copy the issues to the packaging-problems repository on GitHub. We’ll do our best to help you, thanks!
History
Package: makemore
♻️ Makemore⚡ Featuresmakemoregenerates more of the same stuff.📦 How to installpdmaddmakemore🏫 TutorialsFundamentals of Python:A data processing example:Multilayer Perceptron:🤗 ContributingDevelopmentClone the repository:# using github clighrepoclonebaggiponte/makemore# using git (SSH recommended)gitclonegit@github.com:baggiponte/makemoreNote🎬 How to configure SSHCloning over SSH is safer. Followthis guide.
Alternatively, you can follow the steps inthisworkshop of GitHub's.Installpdm:pipxinstallpdmWarning🔎 Whypipx?pip install --useris not recommended, as it does not ensure dependency isolation. For this purpose, thePython Packaging Authority (PyPA)advises to usepipx.pipxinstalls and runs python CLIs in isolated environments. To install it, follow the instructionshere.Install production and development dependencies.The recommended approach is to usejust. Installjustwith your favourite package manager, then run the following:just install
Package: makenote
نسخه فارسی این سندmakenotea command line tool for making diary or journals.installationthere are a few methods for installationusing pipeasiest way is to install it using pip:install packagepipinstallmakenotefor some new Gnu distros you need to usepipx.pipxinstallmakenoteadd~/.local/binto path if needed. (help)build for pipbuild the packagepipinstallsetuptoolswheel
gitclone'https://github.com/ekm507/makenote'cdmakenote
python3setup.pybdist_wheelinstall the packagepipinstall./dist/*.whlusageadding notesto add note to a specified notebook, run this:makenote[-t<notebook_name>]<note_text>in which note text is the note you want to be added.for example:makenoteIamreadingpage754ofthebookif you run this tool with no text, it will get note text from a simple prompt editor. write your text and then hitAlt+Enterorctrl+D.$ makenote

it was a great day.
I had a pizza with my friend. (ctrl+D)

1728 - Tue, 10 Bah 1402 18:55:25 - journals - note saved!if you do not specify notebook name, then note will be stored in default notebook which isjournals. you can change it in config file.creating notebooksthis tool uses different notebooks for storing notes.for example you can classify your notes in "journals", "tasks", "work", etc.to create a notebook, run this:makenote--create<notebook_name>in which<notebook_name>is the name of notebook you want to be created.listing notebooksto get a list of notebooks you have created, run this:makenote--listshowing recordsto see the notes you have stored in a notebook, run this:makenote--showif you do not specify notebook name, the default notebook will be shown. you can specify it with-tswitch:makenote--show-t<notebook>getting helprun command below to get a list of switches:makenote-hconfigurationa file namedmakenote.confis copied into makenote install dir. you can edit this file to get what you want.export all notesdatabase files are stored in path specified in config file. which by default is below:~/.local/share/makenote/databases/for backing notes up, just copy the files somewhere safe.for restoring, just copy the database into the database path again.