Saravanan666/pypi-org huggingface dataset:
Package: makey-cli
makey-cliCLI passkey maker.A simple and lightweight tool for making secure passkeys in your terminal.makey-clidoes not store information, produce logs, or make network
connections. It even avoids printing passkeys in plain-text on screen by
default, instead copying them directly to your clipboard for use.Installbrewtapboldandbrad/homebrew-tap
brewinstallmakey-cliorpipxinstallmakey-cliorpipinstallmakey-cliFor more details, read themakey-cliinstall guide.UsagemakeyNew passkey copied to your clipboard!For more usage details, read themakey-cliusage guide.LicenseCopyright (c) 2021 Bradley Wojcik. Released under the MIT License. SeeLICENSEfor details.
Package: mak.gnuoy-python-utils
python-utilsmak.gnuoy's python utilities packagepre-requisites$ pip install build --upgrade 
$ pip install twine --upgradeunit test$ export PYTHONPATH=$PYTHONPATH:./src
$ python -m unittest -v tests.configbuild$ python -m builddistributiontest.pypi.org$ python -m twine upload -r testpypi dist/*pypi.org$ python -m twine upload dist/*installationtest.pypi.org$ python -m pip install -i https://test.pypi.org/simple/ mak.gnuoy-python-utilspypi.org$ python -m pip install mak.gnuoy-python-utils
Package: makim
Get StartedMakImor justmakimis based onmakeand focus on improve the way to
define targets and dependencies. Instead of using theMakefileformat, it usesyamlformat.The idea of this project is to offer a way to define targets and dependencies
with some control options, like conditionalsif.It allows a very easy way to define texts for documentation and extra parameters
for each target.License: BSD 3 ClauseDocumentation:https://osl-incubator.github.io/makimFeaturesHelp text as first-class in the.makim.yamlspecification. It can be used by
targets and arguments.Targets have an option for arguments.Targets have an option for dependencies.Dependencies can call a target with specific arguments.Dependencies can have a conditional control flow (if).Allow the creation of groups, so the targets can be organized by topics.Targets and groups have an option for user defined variables and/or
environment variables.Access arguments, variables or environment variables via template (using
Jinja2).Option for using dot environment files usingenv-filekey.How to use itFirst you need to place the config file.makim.yamlin the root of your
project. This is an example of a configuration file:version:1.0.0groups:default:env-file:.envtargets:clean:help:Use this target to clean up temporary filesargs:all:type:boolaction:store_truehelp:Remove all files that are tracked by gitrun:|echo "remove file X"build:help:Build the programargs:clean:type:boolaction:store_truehelp:if not set, the clean dependency will not be triggered.dependencies:-target:cleanif:{%raw %}{{args.clean == true}}{%endraw %}run:|echo "build file x"echo "build file y"echo "build file z"Some examples of how to use it:run thebuildtarget:makim buildrun thecleantarget:makim cleanrun thebuildtarget with thecleanflag:makim build --cleanThe help menu for the.makim.yamlfile would looks like this:$ makim --help
usage: MakIm [--help] [--version] [--config-file MAKIM_FILE] [target]

MakIm is a tool that helps you to organize and simplify your helper commands.

positional arguments:
  target
    Specify the target command to be performed. Options are:

    default:
    --------
      default.clean => Use this target to clean up temporary files
        ARGS:
          --all: (bool) Remove all files that are tracked by git
      default.build => Build the program
        ARGS:
          --clean: (bool) if not set, the clean dependency will not be triggered.

options:
  --help, -h
    Show the help menu
  --version
    Show the version of the installed MakIm tool.
  --config-file MAKIM_FILE
    Specify a custom location for the config file.

If you have any problem, open an issue at: https://github.com/osl-incubator/makimAs you can see, the help menu automatically adds information defined by all thehelpkey, inside the.makim.yamlfile.
Package: makinage
Stream Processing Made EasyMaki Nage is a Python stream processing library and framework. It providesexpressiveandextensibleAPIs. Maki Nage speeds up the development of
stream applications. It can be used to processstreamandbatchdata.
More than that, it allows to develop an application with batch data, and deploy
it as aKafka micro-service.Read the docto learn more.Main FeaturesExpressiveandExtensibleAPIs: Maki-Nage is based onReactiveX.Deployment Ready: Maki-Nage usesKafkato scale the workload, and be resilient to errors.UnifiesBatch and Stream processing: The same APIs work on both sources of data.Flexible: Start working on your laptop, continue on a server, deploy on a cluster.ML Streaming Serving: Serve your machine learning model as a Kafka micro-service.InstallationMaki Nage is available on PyPI:pip install makinageGetting startedWrite your data transformsimportrximportrxsciasrsdefrolling_mean():returnrx.pipe(rs.data.roll(window=3,stride=3,pipeline=rx.pipe(rs.math.mean(reduce=True),)),)Test your code on batch dataYou can test your code from any python data or CSV file.data=[1,2,3,4,5,6,7]rx.from_(data).pipe(rs.state.with_memory_store(rx.pipe(rolling_mean(),)),).subscribe(on_next=print)2.0
5.0Deploy your code as a Kafka micro-serviceTo deploy the code, package it as a function:defmy_app(config,data):roll_mean=rx.from_(data).pipe(rs.state.with_memory_store(rx.pipe(rolling_mean(),)),)returnroll_mean,Create a configuration file:application:name:my_appkafka:endpoint:"localhost"topics:-name:data-name:featuresoperators:compute_features:factory:my_app:my_appsources:-datasinks:-featuresAnd start it!makinage --config myconfig.yamlServe Machine Learning ModelsMaki Nage contains a model serving tool. With it, serving a machine
learning model in streaming mode just requires a configuration file:application:name:my_model_servingKafka:endpoint:"localhost"topics:-name:dataencoder:makinage.encoding.json-name:modelencoder:makinage.encoding.nonestart_from:last-name:predictencoder:makinage.encoding.jsonoperators:serve:factory:makinage.serve:servesources:-model-datasinks:-predictconfig:serve:{}And then serving the model it done the same way than any makinage application:makinage --config config.serve.yamlSome pre and post processing steps are possible if input features or predictions
must be modified before/after the inference:Read the bookto learn more.PublicationsToward Data Science:Stream Processing Made EasyKDnuggets:Real-Time Histogram Plots on Unbounded DataLicenseMaki Nage is publised under the MIT License.
Package: makina.recipe.postgres
================makina.recipe.postgres package================.. contents::What is makina.recipe.postgres ?==================it is a recipe that initialize a database from initdb command.How to use makina.recipe.postgres ?=====================EXAMPLE (postgis init)::parts =...initdb[initdb]recipe = makina.recipe.postgresbin = ${buildout:directory}/parts/postgresql/bininitdb = --auth=trust --pgdata=${buildout:directory}/var/postgrespgdata = ${buildout:directory}/var/postgresport = 5433cmds =createuser -p 5433 --createdb    --no-createrole --no-superuser --login admincreateuser -p 5433 --no-createdb --no-createrole --no-superuser --login zopecreatedb -p 5433 --owner admin --encoding LATIN9 zsigcreatelang -p 5433 plpgsql zsigpsql -d zsig -p 5433 -f ${buildout:directory}/parts/postgis/share/lwpostgis.sqlpsql -d zsig -p 5433 -f ${buildout:directory}/parts/postgis/share/spatial_ref_sys.sqlbin option can be just a sym link from the /usr/bin (where all postgresql system binaries are) if you don't want to install postgres with buildout.
Package: making-with-code-cli
Making With Code CLIThis package provides the command-line toolmwcwhich accompanies the Making With Code
introductory Computer Science curriculum.mwchelps students configure their computers,
sets up git repositories for course assignemnts, and provides helpers for other course tasks
like running tests and accessing the curriculum.Teachers will be able to usemwcto adminster their courses, including tools for feedback and
assessment. The overall goal of the project is to provide computational infrastructure to teachers
and schools allowing them to teach CS through open-ended projects using real tools, supporting
personal relationships with powerful ideas and rich computing cultures.Usagemwccan be installed via pip. However, if you're a student or teacher using
Making With Code, there is a separate bootstrapping process you should follow.
Please consult your curriculum website (or ask your teacher) for detailed instructions
on how and why to use this tool.pip3 install making-with-code-cliOnce installed, you can set up your computer using themwc setupcommand. Runmwc --helpto see all the commands available.ContactIf you're interested in computing education and want to learn more about Making With Code,
please contactDr. Chris Proctor.
Package: makiproxy5
Python Socks5 Proxy ServerAllows users to run a Proxy5 server on thier own local computer, implemented using sockets.InstallationRunning the following to install:pipinstallmakiproxy5Usageif__name__=="__main__":ps=ProxyServer(host=None,port=10696,username=None,password=None,max_clients=3,secure=True)ps.run()host: This is the current local IP of the devices, this will be automatically so can be left blank.port: State the local port you want to clients to use when connecting to the proxy server.username: Set allowed username that can access the proxy server during authentication.password: Corresponding password required for username during authentication.max_client: Allow a maximum of x concurrent connections to the proxy server.secure: Disables no authentication method, so all users must provide username/pass to connect.ExampleExample usage for initializing proxy server.ProxyServer(username="maki",password="password",port=10696,secure=True).run()Client Connection Options:There are many ways to use this server, I will mention a few for aid.On Firefox (PC):
Using extension Proxy Toggle,https://addons.mozilla.org/en-GB/firefox/addon/proxy-toggle/Any extension where Proxy5 is accepted and allows the username/password authentication method.On iOS (Mobile):
Using this app, although cost Â£2-3 its the best option I have found.https://apps.apple.com/gb/app/shadowrocket/id932747118There may be other options available on Andriod for free.Journey and MotivationI wanted to watch UK TV shows that weren't available while abroad so decided to make a proxy server running on a raspberry pi so that I could watch free of charge and effortlessly.Of course I could of just bought a monthly subscription to a VPN service or a proxy for a month, but what's the fun in that? I wanted to challenge myself, learn more about things I depend on instead of just using it.I started my journey by looking at RFC for proxy5 protocol, and inspecting wireshark for proxy server running in practical way, so I could implement it myself.Michael Peres 22/07/2022End
Package: makkulupy
makkulupy 💬makkulupyis a lightweight tool for accessing the makkulu dictionary API and returning its data in a Pythonic way.How to useimportmakkulupywords=makkulupy.get_words(headword="makkulu")forwordinwords:print(f"{word.headword}means{word.definition}")Licensemakkulupy is licensed under theBSD 2 Clause(seeLICENSEto read in full)
Package: makkus.bases
Bases provides a customisable, parametric implementation of several common styles of Base-N encoding, covering all cases appearing in themultibase specification(except for proquints).This is a temporary fork of the original project to be used until the original project incorporates a bug fix to work with newer versions of the ‘typing_extensions’ dependency.Bug:https://github.com/hashberg-io/typing-validation/issues/1ContentsInstallUsageBase encoding objectsEncodingDecodingCase/padding variationsCase sensitivity variationsCustom base encodingsAPIContributingLicenseInstallYou can install the latest release fromPyPIas follows:$pipinstall--upgradebasesUsageWe suggest you import bases as follows:>>> import basesBelow are some basic usage examples, to get you started: for detailed documentation, seehttps://bases.readthedocs.io/Base encoding objects>>> from bases import base32
>>> base32
FixcharBaseEncoding(
    StringAlphabet('ABCDEFGHIJKLMNOPQRSTUVWXYZ234567',
                   case_sensitive=False),
    pad_char='=', padding='include')Encoding>>> b = bytes([70, 98, 190, 187, 66, 224, 178])
>>> base32.encode(b)
'IZRL5O2C4CZA===='Decoding>>> s = 'IZRL5O2C4CZA===='
>>> base32.decode(s)
b'Fb\xbe\xbbB\xe0\xb2'
>>> list(base32.decode(s))
[70, 98, 190, 187, 66, 224, 178]Case/padding variations>>> b = bytes([70, 98, 190, 187, 66, 224, 178])
>>> base32.encode(b)
'IZRL5O2C4CZA===='
>>> base32lower = base32.lower()
>>> base32lower
FixcharBaseEncoding(
    StringAlphabet('abcdefghijklmnopqrstuvwxyz234567',
                   case_sensitive=False),
    pad_char='=', padding='include')
>>> base32lower.encode(b)
'izrl5o2c4cza===='
>>> base32nopad = base32.nopad()
>>> base32nopad.encode(b)
'IZRL5O2C4CZA'Case sensitivity variations>>> s = 'IZRL5O2C4CZA===='
>>> base32lower.decode(s)
b'Fb\xbe\xbbB\xe0\xb2'
>>> base32lower_casesensitive = base32lower.with_case_sensitivity(True)
>>> base32lower_casesensitive.decode(s)
bases.encoding.errors.NonAlphabeticCharError: Invalid character 'I'
encountered for alphabet StringAlphabet('abcdefghijklmnopqrstuvwxyz234567').Custom base encodings>>> base4 = bases.make("0123", kind="zeropad-enc", block_nchars=4)
>>> base4
ZeropadBaseEncoding(StringAlphabet('0123'), block_nchars=4)APIFor the full API documentation, seehttps://bases.readthedocs.io/ContributingPlease seeCONTRIBUTING.md.LicenseMIT © Hashberg Ltd.
Package: makkus.dag-cbor
This is a fully compliant Python implementation of theDAG-CBOR codec, a subset of theConcise Binary Object Representation (CBOR)supporting theIPLD Data Modeland enforcing a unique (strict) encoded representation of items.ContentsInstallUsageEncoding and decodingRandom DAG-CBOR dataAPIContributingLicenseInstallYou can install the latest release fromPyPIas follows:$pipinstall--upgradedag-cborUsageWe suggest you import DAG-CBOR as follows:>>> import dag_cborBelow are some basic usage examples, to get you started: for detailed documentation, seehttps://dag-cbor.readthedocs.io/Encoding and decoding>>> dag_cbor.encode({'a': 12, 'b': 'hello!'})
b'\xa2aa\x0cabfhello!'
>>> dag_cbor.decode(b'\xa2aa\x0cabfhello!')
{'a': 12, 'b': 'hello!'}Random DAG-CBOR data>>> import pprint # pretty-printing
>>> custom_opts = dict(min_codepoint=0x41, max_codepoint=0x5a, include_cid=False)
>>> with dag_cbor.random.options(**custom_opts):
...     for d in dag_cbor.random.rand_dict(3):
...             pprint.pp(d)
...
{'BIQPMZ': b'\x85\x1f\x07/\xcc\x00\xfc\xaa',
 'EJEYDTZI': {},
 'PLSG': {'G': 'JFG',
          'HZE': -61.278,
          'JWDRKRGZ': b'-',
          'OCCKQPDJ': True,
          'SJOCTZMK': False},
 'PRDLN': 39.129,
 'TUGRP': None,
 'WZTEJDXC': -69.933}
{'GHAXI': 39.12,
 'PVUWZLC': 4.523,
 'TDPSU': 'TVCADUGT',
 'ZHGVSNSI': [-57, 9, -78.312]}
{'': 11, 'B': True, 'FWD': {}, 'GXZBVAR': 'BTDWMGI', 'TDICHC': 87}APIFor the full API documentation, seehttps://dag-cbor.readthedocs.io/ContributingPlease seeCONTRIBUTING.md.LicenseMIT © Hashberg Ltd.
Package: makkus.multiformats-config
This module provides configuration and table information for themultiformatslibrary.This is a temporary fork of the original project to be used until the original project incorporates a bug fix to work with newer versions of the ‘typing_extensions’ dependency. Python versions 3.11 & 3.12 are not tested with this fork.Bug:https://github.com/hashberg-io/typing-validation/issues/1LicenseMIT © Hashberg Ltd.Seeadditional Licensesfor licensing of the multicodec table, the multibase table and test vectors for multihashes.
Package: makkus.typing-validation
Typing-validation is a small library to perform runtime validation of Python objects usingPEP 484 type hints.This is a temporary fork of the original project to be used until the original project incorporates a bug fix to work with newer versions of the ‘typing_extensions’ dependency.Bug:https://github.com/hashberg-io/typing-validation/issues/1ContentsInstallUsageAPIContributingLicenseInstallYou can install the latest release fromPyPIas follows:pip install --upgrade typing-validationUsageThe core functionality of this library is provided by thevalidatefunction:>>> from typing_validation import validateThevalidatefunction is invoked with a value and a type as its arguments and it returns nothing when the given value is valid for the given type:>>> validate(12, int)
# nothing is returned => 12 is a valid intIf the value is invalid for the given type, thevalidatefunction raises aTypeError:>>> validate(12, str)
TypeError: For type <class 'str'>, invalid value: 12For nested types (e.g. parametric collection/mapping types), the full chain of validation failures is shown by the type error:>>> validate([0, 1, "hi"], list[int])
TypeError: For type list[int], invalid value: [0, 1, 'hi']
  For type <class 'int'>, invalid value: 'hi'APIFor the full API documentation, seehttps://typing-validation.readthedocs.io/ContributingPlease seeCONTRIBUTING.md.LicenseMIT © Hashberg Ltd.
Package: mako2clix
mako2clixThis project aims to port Mako Template to a simple usage on command lineInstallationTo install the mako2clix Python project,
run this command in your terminal:$ pip install mako2clixExampleCreate a filetemplate.makocontaining:hello${name}!And a data filedata.yaml:name:worldNow you can render the file with:$m2cli-ttemplate.mako-ddata.yaml-orenderedThe output is saved torendered:hello world!That's all!
Package: mako-pipeline
A sort of django-pipeline, but for mako.Installmako-pipeline is avaiable on pypi:$ pip install mako-pipelineUsageOn your python script, callmako_pipeline.configureto setup file mapping:frommako_pipelineimportconfigureconfigure({'debug':True,'javascript':{'final-js':['file1','file2']}})On templates, import the module usingnamespacetag and use like following:<%namespace name="assets" module="mako_pipeline.assets" /><%assets:tag name="final-js" args="ASSETS_URL" %><scriptsrc="${ASSETS_URL}"></script><%/assets:tag%>LicenseThis project is licensed under MIT license (please see LICENSE file).
Package: mako_sugar
Mako Sugar===A preprocessor that adds some syntactic sugar to Mako templates.Write:% call foo():hi% endcallinstead of:<%call expr="foo()">hi</%call>Install with:from mako_sugar import sugar# Any one of these options...t = Template(..., preprocessor=sugar())t = Template(..., preprocess=sugar(exclude=['def', 'call', 'import']))TemplateLookup(preprocessor=sugar())
Package: mako-version-tag
This library makes it very easy to include version information
in your mako templates. For example, displaying the current version in the footer for
each page makes keeping track of which version of the site is live on an environment
very straightforward.To use this library, import it into your Mako templates, then call thedistributiontag<%namespace name="v" module="versiontag"/>
<!-- ... -->
${v.distribution('my-app')}
Package: makros
MakrosExtend the Python language with (relative) easeThis program converts custom python files with a custom syntax to regular python files. The overall goals of this project are:To include some of the features that I feel are missing from the python programming languageProvide a method for others to use this functionality without needing to contribute to this repoInstallationpipinstallmakrosUsageTo use this simply create a file with the.mpyextension, like the following:macroimportnamespacenamespacegreet:name="World"exportdefset_name(new_name):name=new_nameexportdefsay_hello():print("Hello, "+name)greet.say_hello()greet.set_name("trickypr")greet.say_hello()Then just run it with makros:makrosmy_file.mpyFor more info, pleaseread our docs, or read theexamples.
Package: makura
# Makura: NCBI Genome downloader## Requirementsrsync (linux command, required for downloading NCBI genomes)python 3.8 (or greater)## Installation### Rsync` conda install-cconda-forgersync # or sudo apt install rsync `### Python packageshttps://pypi.org/project/makura/install from Pypi` pip install makura `install locally` python setup.py install `install from docker` docker pull hunglin59638/makura `## UsageUpdate the assembly summary and taxonomy information while first using.` makura update `It’s ok that you don’t run the command, makura will automatically update if the assembly summary is not found.Download bacteria and fungi genomes with complete assembly level in RefSeq database.` makura download--groupbacteria,fungi--assembly-levelcomplete--assembly-sourcerefseq--out_dir/path/to/dir `Print the records of genomes with JSON lines format, default is TAB` makura summary--accessionGCF_016700215.2--as-json-lines`Download genomes with selected taxids` makura download--taxid2209 `If you have many items to input, input a file contains lines is supported.
Example:
taxid_list.txt` 61645 69218 550 `` makura download--taxid-listtaxid_list.txt--out_dir/path/to/dir `Tips:Running with multiple downloads in parallel is supported (Default: 4).
We set the maximum is 8 to avoid NCBI blocks the downloads.` makura download--groupbacteria,fungi--parallel4 `While downloading the genomes, makura can check the MD5 checksum of them.
The MD5 values was stored to a file namedmd5checksums.txtin output directory.## Developing function
Using the RESTful API to get assembly summary
1. run the API server` docker run--rm-p5000:5000 hunglin59638/makura:1.1.0 makura api--port5000 `2. get the summary of assembly accessions` curlhttp://localhost:5000/summary?accessions=GCA_002287175.1,GCA_000762265.1`## Features in the future
- Creating minimap2 and bwa index using downloaded genomes.
- Downloading genomes by organism name, biosample, bioproject, etc.
Package: makwa
Makwa is a password hashing function designed by Thomas Pornin. This implementation is in pure python with no 3rd party dependencies. From thePasswords14 Slides:Makwa is a candidate to the Password Hashing Competition.

Main characteristics:
* based on modular arithmetics
* CPU-only cost (not memory-hard)
* algebraic structure enables advanced features: offline work
* factor increase, fast path, escrow
* can be delegated
* named after the Ojibwe name for the American black bearReference MaterialHomepageSpec PaperPasswords14 SlidesInstallationpipinstallmakwaUsagefrommakwaimporthashpw,checkpwhashed_pw=hashpw(password,n,h=<hashfunction>,salt=<optionalsalt>,work_factor=<rounds>,pre_hash=<True|False>,post_hash=<length|None>)# returns a booleanis_valid=checkpw(password,hashed_pw,n,h=<hashfunction>)