Saravanan666/pypi-org huggingface dataset:
Package: makeobj
MakeObj is a module to help create powerful enumeration classes with support
to attributes specific for each element.This module is compatible with Python versions 2.6+ and 3.0+Usage:>>> from makeobj import Obj, keys, attr
>>> class RGBColors(Obj):
...     red, green, blue = keys(3)
...     hex = attr('ff0000', '00ff00', '0000ff')
...
>>> RGBColors
<Object: RGBColors -> [red:0, green:1, blue:2]>
>>> RGBColors.red
<Value: RGBColors.red = 0>
>>> RGBColors.blue.hex
'0000ff'Using the custom Enum Language:@obj RGBColors =:
    @keys = 'red', 'green', 'blue'
    @attr hex = 'ff0000', '00ff00', '0000ff'Then you can parse it:>>> from makeobj import parse
>>> RGBColors = parse(text)
>>> RGBColors.red
<Value: RGBColors.red = 0>.
Package: make-operations
User EditorPackage python pour la gestion des utilisateurs.InstallationUtiliser pip pour l'installerpipinstalluser_editorUsagefromuserimportcreate,read,update,deleteuser_create_route=create.routeruser_delete_route=delete.routeruser_update_route=update.routeruser_read_route=read.routerContributingEquipe Wefly AgriLicenseMIT
Package: makepass
A password generator inspired byhttps://xkcd.com/936/UsageSimply install the package withpip install makepass, then run themake_passcommand:$ make_pass
CorrectHorseBatteryStaple7The password is written to stdout, from which it can be captured via your pipelined capture mechanism of choice.Process & ConstraintsMakepass generates a memorable, readable password by combiningNunique, random common english words, which are sourced from theGoogle Common English Wordsrepository. By default, the list of 20,000 english words is used. The set of words is constrained to words betweenmandncharacters long, inclusive, to promote memorability and prevent common words. A random numeral is appended, to satisfy the common requirement that passwords contain a letter and a number. The final password will be betweenLandMcharacters long; up toSpasswords are generated internally until a password of appropriate length is found.All of the above can be configured; runmake_pass-hfor a list of the flags that modify its behavior, as well as options for display of entropy informationDefaultsAll of the following parameters can be changed:N= 4m= 4n= 8L= 24M= ∞S= 10,000Random numeralisappendedRandom specical character isnotappendedWord set: 20k. Can be repaced with the 10k set.Special character set:-_()/.,?!;:. Should be accepted by most password filters.These default parameters produce passwords with an entropy of approximately 57.561 bits.Security DisclaimerWhile I am confident in its basic soundness,makepasshas not undergone any kind of security review or audit, and I am not an expert in the field of password security. Use at your own risk.makepassis built around use ofrandom.SystemRandom, which in turn is based onos.urandom.os.urandomis described by the Python documentation as “suitable for cryptographic use.” For more information about the use ofos.urandomand/dev/urandomin secure contexts, seethis article.The most obvious security hole I’m currently aware of inmakepassis that it writes to your terminal, which may be logged or cached to disk. Make sure to pipe it into a secure destintion when creating a password you actually intend to use; I’m personally partial to thesaycommand on OSX, which speaks the password out loud through your speakers.
Package: make_pdf
A command line tool to convert files to fancy PDFs.This tool generates nice-looking reports, letters, presentations etc. from Markdown. Other formats also work, but aren't really supported. The only Output format is PDF.You can use custom themes with customizable fonts, logos and names.InstallationYou can install this tool by runningpip install make_pdf.RequirementsThis project requires python (at leas 3.6) and pip.Furthermore, texlive and a bunch of packages for it need to be installed. Here I opted for just installingtexlive-moston Arch Linux.If you're running this on Linux you may need to installpandoc.Furthermore, you need the following fonts: Roboto, Inconsolata and Yanone Kaffeesatz installed.From sourceYou can also build it from source yourself.Clone this repository:git clone https://git.eorlbruder.de/EorlBruder/mdp2df.gitInstall with pip:pip install .UsageBy default, this tool only requires an input-file. Thus, the following command works as a minimal example:make_pdfplaintest.mdThis command will create atest-plain.pdf-file. You can also provide multiple input-filesmake_pdf plain test.md test1.md.All input-file-types supported bypandocare supported, but some features will only work with markdown.You'll get a bunch more information withmake_pdf --helpor using the--helpflag after any command.You'll also find much more information in thedocs.CommandsMake_pdf has four commands for generating files.The first one you already know, it'splain. This generates a simple document, like for example a report or a handout.Then there'snewsletter. This is very similar to plain - only that every section gets displayed in a box, as well as the title.Next we haveletter. This command needs some extra metadata and generates a formal letter.Last but not least there'spresentationwhich generates a beamer-presentation.Every command will generate a file with the name of the mode as its suffix, so for examplemake_pdf letter test.mdgeneratestest-letter.pdf.OptionsYou can provide every command with options. You can find out which ones are available in particular by usingmake_pdf <command> --help.MetadataFiles generally get generated with their metadata. You have several options to provide them.First, if you're using Markdown you can provide the title, author and date at the beginning of the file:% Title
% Author
% DateYou can also provide them in a yaml-block:---
title: Title
author: Authordate: Date---You can also provide them via a separate yml-file, which you just provide together with the input-files:make_pdfplainmetadata.ymlfile.mdLast, there's also the option to provide them as options:make_pdfplainfile.md--titleTitle--authorAuthor--dateDateIf you don't provide a date, it will be automatically set to today's date. If you don't want this behaviour, you can disable it with the--no-automatic-date-option.ContributeTo see how to contribute please have a look at the CONTRIBUTING.md-file.
Package: makepie
MakepieAn attempt to replace/improve GNU/make with a python packageWarning: This package is FAR from production ready, use at your own riskNote: Makepie is (not yet) a substitution for a build system, it's a way to easily create targets accessible via cli that have complex behavior with the goal to manage projectsWhy choose Makepie instead of makeCross platform thanks to pythonSupport for args and kwargs in target call: allow for easy code reuse, smaller/cleaner makeNo need to learn a new language (if you already know python)Little to zero overheadSyntax similar to make: easy to migrateUser as access to all python features (asyncio, multiprocessing...) which can make the build process faster and cleanerBasic examplefromsrc.makepieimport*makepie_load()cc="clang"ccFlags="main.cpp -o main.o"@cache(cache_files=["main.o"],dependencies=["**/*.cpp","**/*.hpp"])defbuild():new_version="0.1"log("Building "+new_version+"...")sh(f"{cc}{ccFlags}")returnnew_versiondeftest(ver):log("Testing "+ver+"...")success=sh("...")returnsuccessdefupload(ver):log("Uploading "+ver+"...")@default()defdeploy():ver=build()ifnottest(ver):log.error("tests failed, aborting")return1upload(ver)return0Inside your cli launch a deploy with just:makepieTo see more example go to the examples directory, or look at the make.py of this project for a concrete use caseInstallInstall package:python3 -m pip install makepieThen you can just callmakepieif ~/.local/bin is in your system PATHCommand shortcutMake an alias if you want a shortcut to launch makepie:Linux:alias makepie="python3 -Bm makepie"Windows:doskey makepie=python3 -Bm makepieTODO: test on windowsIf you want the alias to be permanent put it in your .bashrc, or other corresponding file depending on your shell/operating systemDocumentationThe documentation doesn't exist yet so I recommend looking at the source code, there isn't a lot.ConfigurationMakepie can be configured by passing kwargs in makepie_load(), for example: makepie_load(DEBUG=True)CONFIG_NAME: description (example)DEBUG: quick way to troubleshoot bugs (True)ENV_FILE: path to the env file, each of it's value will be loaded in env (".env")MAKEPIELOG_LEVEL: level of the makepie logs (logging.INFO)MAKEPIELOG_FORMAT: format of the makepie logs ("%(message)s")LOG_LEVEL: level of the user log (logging.INFO)LOG_FORMAT: format of the user log ("%(message)s")PRINT_STREAM_NAME: printing stream names (stdout/stderr) when a shell command send outputMAX_READ_SIZE: TODOPOLL_INTERVAL: TODOTroubleshootUse the DEBUG or MAKEPIELOG_LEVEL config, if the error comes from makepie itself please file an issue.ContributingSee Contributing.md
Package: makeprogress
An app for maintaining weekly snippets of progress.ScreenshotsWeekly SnippetEditorInstallationpip install makeprogress
progress goals/Openlocalhost:5000in a browser.UsageClick onCurrentin the navigation to view your snippet for the
current week.Click onEditin the nav bar on any snippet page to open the
editor for it.Click onArchivein the nav bar to view a list of weeks in the
year and get to past snippets.Click onGoalsin the nav bar to view your goals (Only works if
you created a_goals.mdfile. Currently hard-coded in.)Options$ progress -h
usage: progress [-h] [-t TEMPLATE] [-e FILEEXT] data_store_path

positional arguments:
  data_store_path

optional arguments:
  -h, --help            show this help message and exit
  -t TEMPLATE, --template TEMPLATE
                        template file name
  -e FILEEXT, --fileext FILEEXT
                        file extension
Package: makeprojects
Themakeprojectsmodule makes it easy to autogenerate project files for
several popular Integrated Development Enviroments (IDEs)Documentation is found athttps://makeprojects.readthedocs.ioDoxygen generated documentation is found athttps://makeprojects.readthedocs.io/en/latest/doxygenPython Packing Index (PyPI):https://pypi.python.org/pypi/makeprojectsSource code and issue tracker:https://github.com/burgerbecky/makeprojectsCompatibilityPython 2.7.1 or higherPython 3.4 or higherInstallationType inpip install-Umakeprojects. Some platforms may require thesudoprefix.BugsIf you find a bug, issue or have a feature request, please submit a bug report
by emailingbecky@burgerbecky.comand mention python version, integer
size (32 bit or 64 bit) and what platform was used (Windows / Mac OSX / Linux).
Package: makeprompt
Advanced shell prompts for ZSH.UsageInstall it:pip install --user makepromptPut this in your~/.zshrc:autoload -Uz promptinit
promptinit
prompt off
setopt PROMPT_SUBST

PROMPT='$( ~/.local/bin/makeprompt )'FeaturesDisplay user/hostname/path using truecolor (24-bit) colors8-bit color fallbacks, for terminals that don’t support truecolorgit repository status information (branch, dirty)Python enabled virtualenv informationBackground (stopped) jobs countCustomizeTheMAKEPROMPT_COLORSenvironment variable can be used to change
colors of different parts of the prompt.Format is similar toLS_COLORS, for example:export MAKEPROMPT_COLORS='user=38;2;56;142;60:host=38;2;198;255;0'A utility script is provided to conveniently generate TrueColor
paletters from HTML hex colors.For example:python -m makeprompt.utils.make_truecolor_palette user='#808' host='#f0f' path='#ff0'you can also use this in your shell configuration:eval $( python -m makeprompt.utils.make_truecolor_palette ... )
export MAKEPROMPT_COLORSDevelopmentTo test a development version, checked out in~/Projects/makeprompt:PROMPT=’$( PYTHONPATH=”$HOME”/Projects/makeprompt python -m makeprompt )’
Package: make-py
make.pymake.pyis likemakebut with its build configuration written in Python.ExampleFor the followingMakefile:CC=gccOUTPUT=buildall:$(OUTPUT)/main$(OUTPUT)/%.o:%.cmkdir-p$(dir$@)$(CC)-MMD-c$<-o$@$(OUTPUT)/main:$(OUTPUT)/hello.o$(OUTPUT)/main.o$(CC)$^-o$@clean:rm-rf$(OUTPUT).PHONY:clean-include $(OUTPUT)/*.dThe equivalentMakefile.pyis:frompathlibimportPathfromshutilimportrmtreefromsubprocessimportcheck_callfrommake_pyimporttask,rule,phony_taskCC="gcc"OUTPUT="build"phony_task("all",f"{OUTPUT}/main")defcollect_c_dependencies(target,target_regex_groups):dep_file=Path(target).with_suffix(".d")ifdep_file.exists():returndep_file.read_text().split(":")[1].strip().split(" ")# missing parent directories will be made automatically@rule(f"{OUTPUT}/%.o",["%.c",collect_c_dependencies])defcompile_c(ctx):check_call([CC,"-MMD","-c",ctx.source,"-o",ctx.target])@rule(f"{OUTPUT}/main",[f"{OUTPUT}/{o}"foroin["hello.o","main.o"]])deflink(ctx):check_call([CC,*ctx.sources,"-o",ctx.target])@task()defclean(ctx):rmtree(OUTPUT,ignore_errors=True)The commands can be executed bymake.pythe same way as executingmakeFor more examples, refer to theexamplesfolder in project root.
Package: makepymodule
makepymoduleGenerates the project structure for a pip installable python moduleInstallation$pipinstallmakepymoduleUsageTo create a new project, simply go to the location you would like to scaffold the project structure and run the following command$makepymoduleproject_nameA directory structure as follows will be generated- project_name
  |- src
     |- project_name
        |- __init__.py
  |- setup.py
Package: makeqr
MakeQRGenerate WiFi Access QR CodesInstallationpipinstallmakeqr-UTo test that installation was successful, try:makeqr--helpormakeqrwifi--helpUsage exampleCommand line commandCommandmakeqr-vwifi--passwordTopSecret--securitywpa2HomeWiFiOutput__   __  _______  ___   _  _______  _______  ______
|  |_|  ||   _   ||   | | ||       ||       ||    _ |
|       ||  |_|  ||   |_| ||    ___||   _   ||   | ||
|       ||       ||      _||   |___ |  | |  ||   |_||_
|       ||       ||     |_ |    ___||  |_|  ||    __  |
| ||_|| ||   _   ||    _  ||   |___ |      | |   |  | |
|_|   |_||__| |__||___| |_||_______||____||_||___|  |_|

Model: {"ssid": "HomeWiFi", "security": "wpa2", "password": "TopSecret", "hidden": false}
Encoded: WIFI:S:HomeWiFi;P:TopSecret;T:WPA;;
                                                              
  ██████████████  ████    ██████  ██  ██      ██████████████  
  ██          ██    ██████████████      ██    ██          ██  
  ██  ██████  ██      ██      ██    ██████    ██  ██████  ██  
  ██  ██████  ██  ██████          ██  ██  ██  ██  ██████  ██  
  ██  ██████  ██  ██    ████          ████    ██  ██████  ██  
  ██          ██  ██  ████        ██████████  ██          ██  
  ██████████████  ██  ██  ██  ██  ██  ██  ██  ██████████████  
                  ████  ██████    ██████                      
  ██      ██  ██████████    ██  ██████  ██  ██████████    ██  
  ██    ██      ██    ████  ██████            ████████        
    ██████████████      ████    ██        ████    ████    ██  
  ██        ██  ████    ██    ██  ████  ████  ██        ██    
    ██████    ██    ██      ██████████    ████  ████    ██    
  ██    ██        ████    ██    ██    ██        ██████        
  ████████    ████    ████████████  ████      ██      ██  ██  
            ██  ██      ██  ██  ████████  ████      ██    ██  
      ██      ██    ██    ████      ██  ██  ██        ██  ██  
  ██    ██      ██      ████████  ██    ██    ██████████      
      ██    ████  ████  ██      ████████    ██      ████  ██  
        ██████  ████████████  ████████  ██    ██  ██          
  ████    ██  ██  ██      ██████  ██████  ██████████    ██    
                  ██████  ██      ████    ██      ████  ██    
  ██████████████  ██        ██████      ████  ██  ██  ██  ██  
  ██          ██        ██  ██      ████  ██      ████        
  ██  ██████  ██  ██  ██  ████    ██    ████████████████      
  ██  ██████  ██              ██  ██    ████        ██    ██  
  ██  ██████  ██    ██          ████████                ████  
  ██          ██            ████  ████  ██  ██    ████  ████  
  ██████████████  ████████    ██████████  ████████  ██  ██Docker containerdockerrunghcr.io/shpaker/makeqr:4.0.1linkhttps://t.me/shpakerAs python modulefrommakeqrimportMakeQR,QRMailToModelqr=MakeQR(model=QRMailToModel(to='foo@bar.baz',subject='Awesome subject!',))data:bytes=qr.make_image_data()
Package: make_qt_ui
make_qt_uiSimplifies conversion of *.ui and *.qrc files from PySide/PyQt to Python
on *nix and Windows.InstallationIf you havepipinstalled:$ pip install make_qt_uiElse:$ python setup.py installUsageIf you want to convert all *.ui and *.qrc files in some directory, type in consolefor PyQt:$ make_pyqt_ui path_with_ui_and_qrc_files another_pathfor PySide:$ make_pyside_ui path1 path2Alsomake_qt_uican constantly convert changed files in directory:$ make_pyqt_ui --watch some_directory --interval 5Whenmake_pyqt_uiormake_pyside_uilaunched without pointing to target
directory it will try to convert files in current‘./’and‘./ui’directories.Other available options:$ make_pyqt_ui --helpLinksSource code and issue trackingatGitHub.
Package: maker-chief
maker-chieftally makerdao governance votesaboutthis tool fetches alletchandvoteevents from makerdao governance contract (seeds-chief), tallies the votes and breaks them down by proposal and voters.it also tries to recover what proposals are doing assuming they areds-spellexecuted onmomcontract. functions likesetFeecan be additionally parsed to show more meaningful values.the text output format is:<n>. <proposal> <votes>
spell: <func> <desc> <args>
  <voter> <votes>the currently active proposal (hat) is shown in green.the json format is self-explanatory. note that the numbers are encoded as text to avoid rounding errors.installationinstall python 3.7 and a local ethereum node.pip3installmaker-chiefusagerunmaker-chieformaker-chief --json
Package: makerchip-app
Makerchip-appOverviewThis repository enables open-source Verilog/SystemVerilog/TL-Verilog development using theMakerchipintegrated development environment (IDE). Though Makerchip is cloud-based, this project wraps Makerchip with the look, feel, and function of a desktop application for local development, using a "virtual desktop application" model.It's quick, easy, light-weight, free, and very powerful.TL;DRInstall:pip3 install makerchip-appRun:makerchip design.tlv(in the foreground)What's a "Virtual Desktop Application"?The Makerchip IDE itself runs as a web application, and your compilations and simulations run on our servers. You edit your code in a browser window (in what browsers refer to as "app mode"--a browser window without browsing). Your code auto-saves to the cloud, and thismakerchipscript auto-saves from the cloud to your desktop. You get the best of the cloud and local development.Pros of this virtual model (vs. local application):minimal local footprintminimal system requirementsplatform independencesecurity (a web application does not have access to your system)always-latest featurescompute resources and maintenance on us (for compilation and simulation)a desktop development use model using an application that is not freely available to run on the desktop (and if you don't care about free, here are someother options)Cons:reliable internet connection requirednot for proprietary code (your code is not protected)not for large-scale simulations (you can do integration testing outside of Makerchip)platform stability and support is outside of your control and not guaranteed (though we are motivated by our user base)Dependencies- Google Chrome
- Python3/Pip3Installpip3 install makerchip-appOR, from the git repository itself:git clone git@gitlab.com:rweda/makerchip-app.git
cd makerchip-app
pip3 install .Basic Usagemakerchip design.tlv   # Run first in the foreground to accept license;
                       # subsequently background (with '&' on linux/MacOS) is fine.For complete usage instructions:makerchip --helpCode TemplatesMakerchip requires certain code structure to interact with the simulation environment. So if you are starting from scratch, you might want to use--from_urlto start from one of thesestarting templates. For example, to start with the default Makerchip template:makerchip --from_url 'https://gitlab.com/rweda/makerchip-app/-/raw/master/starting_templates/makerchip_default.tlv' design.tlvHelpFeel free to contact theMakerchip team.Enjoy!
Package: makeReact
makeReactmakeReact is a python package which helps react and react-native developer to speed-up their develoment process. It saves our time of creating new components or screens and writing the bare minimum amount of code every time. So here is a python package with which we can create our components right from the terminal into the projects directory, all that ease is just a pip install away.pip install makeReactInstallationmakeReact has following command line flags:-path=Pass the path to the project ( if not provided, defaults to the current working directory )-s=If True, Create files in screens folder( suitable for react-native )-c=If True, Create files in components folder( suitable for both react and react-native)-n=Pass the name for the component or screen-r=If True, create files with react code-rn=If True, create files with react-native codeNote:Either of the -s or -c flag must be set to TrueEither of the -r or -rn flag must be set to TrueComponents or Screens folder are created if not already present in the directoryIf you want to pass the path and it contains spaces, try passing it in inverted commas.Examples:makeReact-path=C:/Users/Hur/MyReactProject/src-c=True-n=MyComponent-r=True
or
makeReact-c=True-n=MyComponent-r=True
or
makeReact-path="C:/Users/Hur Ali/MyReactProject/src"-c=True-n=MyComponent-r=TrueLicenseMIT
Package: makereq
MAKEREQTool for creating requirements.txt from any dep filesINSTALL:pipinstallmakereqUsage:makereq/home/user/Project/Pipfile.lock>requirements.txt
makereq/home/user/Project/Pipfile.lock--dev>requirements-dev.txtTODO:Add pipfile supportAdd poetry pyproject.toml supportAdd poetry.lock support
Package: make-response
Response FormatterThis library will help you to work with flask application without hesitating responses and exception in routes.How to useTo get exceptions as response messages use like below. Make sure to set 'allow_exception=False'.
Once you done you would be able work without breaking when exception comes. The exception will come
as a responsefrom make_response.format import response_format

@app.route('/')
@response_format(allow_exception=False)
def hello_world():
    return {}, True, 200, 'message'For see the exceptions. Once you give 'allow_exception=True' it will allows to raise the exception and
the app would brake as usual way.from make_response.format import response_format

@app.route('/')
@response_format(allow_exception=True)
def hello_world():
    return {}, True, 200, 'message'