Saravanan666/pypi-org huggingface dataset:
Package: minimize-bibfile
Python package to identify and remove duplicated or near-duplicated bib entries.How do I install this package?As usual, just download it using pip:pipinstallminimize_bibfileUsage exampleTo check if a bib file can be further minimized, just run:fromminimize_bibfileimportgeneral_bib_checkgeneral_bib_check("path/to/my/bibfile.bib")This will help you find the duplicated entries hiding in your bibliographies.
Package: minimizer
<a href="https://travis-ci.org/alexbotello/minimizer"><img src="https://travis-ci.org/alexbotello/minimizer.svg?branch=master" alt="Build Status"></a><a href="https://codecov.io/gh/alexbotello/minimizer"><img src="https://codecov.io/gh/alexbotello/minimizer/branch/master/graph/badge.svg" alt="Coverage"></a><a href="https://badge.fury.io/py/minimizer"><img src="https://badge.fury.io/py/minimizer.svg" alt="PyPI version" height="18"></a># minimizerA command line tool that shrinks images in a directory to a specified sizeInstallation-------Install using pip:```pip install minimizer```Or with pipenv:```pipenv install minimizer```Usage-------$ minimizerUsage: minimizer [OPTIONS]Options:-d, --dir        Specify path for directory. Defaults to current working directory.-s, --size       Specify new size dimensions. Defaults to 250 250-f, --format     Specify image format.-n, --name       Name specific image file to minimize. Must include file extension.--help           Show this message and exit.Usage Examples:Minimize all images in current directory using defaults:$ minimizerMinimize all images in current directory to a new size:$ minimizer -s 75 50Minimize all images to a new size and format in a specified directory:$ minimizer -d /home/user/code/images -s 125 50 -f jpegMinimize a specific image in current directory:$ minimizer -n img12.jpg -s 150 150Minimize a specfic image in another directory:$ minimizer -d /home/user/code/images -n img12.jpg -s 200 100Contribute-------1. Fork this repository and create a new branch:-   `git checkout -b <branch name>`2. Install all dependencies with pipenv:- `pipenv install --dev`3. Before you commit, run all tests and checks:- `sh scripts/test`4. Commit and push your new branch to your forked repo:- `git push origin <branch name>`5. Create your pull request
Package: minimizers
minimizersA Python package for extracting minimizers from sequence data.RequirementsThe package requires Python 3 and there are no constraints on the type of operating system.It also requires thebiopythonpackage.InstallIt can be installed withpipby typing the following command in your terminal:pip install minimizersHow to use itRunminimizers --helpfor a list of available arguments:usage: minimizers [-h] [-a] -i INPUT [-o OUTPUT] [-t {list,fasta}] -s SIZE -w
                  WINDOW [--report-counts] [--top-perc TOP_PERC]
                  [--top-num TOP_NUM] [-n NPROC] [--verbose] [-v]

Extract the set of minimizers from a sequence file

optional arguments:
  -h, --help            show this help message and exit
  -a, --aggregate       Aggregate record results (default: False)
  -i INPUT, --input INPUT
                        Path to the input sequence file in fasta format. It
                        can be Gzip compressed (default: None)
  -o OUTPUT, --output OUTPUT
                        Path to the output file with minimizers. Results are
                        printed on the stdout if no output is provided
                        (default: None)
  -t {list,fasta}, --output-type {list,fasta}
                        The output can be formatted as a list of kmers or as a
                        fasta file (default: list)
  -s SIZE, --size SIZE  Length of the minimizers (default: None)
  -w WINDOW, --window WINDOW
                        Size of the sliding window. It must be greater than
                        the minimizer size (default: None)
  --report-counts       Report the frequencies of the minimizers. This is
                        compatible with "--output-type list" only (default:
                        False)
  --top-perc TOP_PERC   Report the top percentage of minimizers based on their
                        frequency (default: None)
  --top-num TOP_NUM     Report the top number of minimizers based on their
                        frequency (default: None)
  -n NPROC, --nproc NPROC
                        Make it parallel (default: 1)
  --verbose             Print messages on the stdout (default: False)
  -v, --version         Print the "minimizers" version and exitCopyright © 2022Fabio Cumbo. SeeLICENSEfor additional details.
Package: miniMLP
miniMLPThis repository contains an implementation of a small Neural Network in Python, with the ability to specify the number of hidden layers, the number of neurons in each layer, and the activation function, and the optimizer to be used.Installationpip install miniMLPDependenciesThe code requires the following dependencies:NumPymatplotlib (for visualization)Example UsageCreate an instance of theMLPclass, specifying the input size, output size, number of hidden layers, sizes of each hidden layer, and activation function.importnumpyasnpfromminiMLP.engineimportMLPmlp=MLP(input_size=2,output_size=1,hidden_layers=3,hidden_sizes=[4,6,4],activation='relu')Then, train the MLP using thetrainmethod, providing the training data (an array of inputs and corresponding labels), and optional parameters such as the learning rate, number of epochs, and optimizer.X_train=np.array([[0,0],[0,1],[1,0],[1,1]])y_train=np.array([[0],[1],[1],[0]])mlp.train(X_train,y_train,epochs=2000,learning_rate=0.0001,optimizer='Adam')Finally, use thepredictmethod to obtain predictions for new data points.y_pred=mlp.predict(X_new)Activation FunctionsThe following activation functions are currently supported:SigmoidReLUTanhSoftmaxLeaky ReLUELUGELUSoftplusSeLUPReLuSwishGaussianOptimizersThe following optimizers are currently supported:AdamStochastic Gradient DescentMomentumLicenseThis project is licensed under the MIT License. Feel free to use and modify this code for your own projects.
Package: minimongo
minimongoInfo:Minimal database Model management for MongoDB.Author:Steve Lacy (github@slacy.com)Aboutminimongois a lightweight, schemaless, Pythonic Object-Oriented
interface to MongoDB.It provides a very thin, dynamicly typed (schema-less) object management
layer for any data stored in any MongoDB collection.minimongodirectly
calls the existingpymongoquery syntax.minimongocan easily layer on top of existing MongoDB collections, and
will work properly with almost any existing schema, even from third party
applications.InstallationIf you havesetuptoolsyou can useeasy_install-Uminimongo. Otherwise, you can download the
source fromGitHuband runpython setup.py install.Dependenciespymongo1.9+sphinx(optional – for documentation generation)ExampleHere’s a very brief example of creating an object, querying for it, modifying
a field, and then saving it back again:from minimongo import Model, Index

class Foo(Model):
    class Meta:
        # Here, we specify the database and collection names.
        # A connection to your DB is automatically created.
        database = "minimongo"
        collection = "rocks"

        # Now, we programatically declare what indices we want.
        # The arguments to the Index constructor are identical to
        # the args to pymongo"s ensure_index function.
        indices = (
            Index("a"),
        )


if __name__ == "__main__":
    # Create & save an object, and return a local in-memory copy of it:
    foo = Foo({"x": 1, "y": 2}).save()

    # Find that object again, loading it into memory:
    foo = Foo.collection.find_one({"x": 1})

    # Change a field value, and save it back to the DB.
    foo.other = "some data"
    foo.save()Feedback welcome!Please emailgithub@slacy.comwith comments, suggestions, or comment viahttp://github.com/slacy/minimongo
Package: mini-monitor
Mini MonitorConfigurableExpandableDraggableTopWindowInstall# only tested in python3 and take care of PyQt5 environtments
pip install mini-monitorRun$ nohup mm &ConfigureIfMM_HOMEenv is not set, the config dir is default to~/.mm.Config file is located at$MM_HOME/config.yaml.Custom Indicators & Sensors can be placed in$MM_HOME/indicatorsand$MM_HOME/sensors.ArchitectureTodo ...Config FileTodo ...UI FileTodo ...TODOSettings - GUI Editing CapacityThe Type of Indicator & Sensor in GUI Settings should be "select".Multi Panel!Shared DataStore
Separated Indicator Container Widget
Package: minimonolith-schema
minimonolith-schemaminimonolith-schemais a Python package that provides functionality for validating the columns of data tables.InstallationInstall the package via pip:pip install minimonolith-schemaUsageHere's a simple example on how to useminimonolith-schema:importpandas_schemaaspdsfromminimonolith_schemaimportvalidatorsschema=pds.Schema([pds.Column('CÃ³digo Antiguo ',[pds.validation.CustomElementValidation(lambdax:validators.match_code_or_null(x,[r"^\d\d-\d\d\d$",r"^\d\d\d\d\d\d$"],['No Aplica']),'NOT_IN_PATTERNS')]),pds.Column('CÃ³digo Vigente',[pds.validation.CustomElementValidation(lambdax:validators.in_int_interval(x,100000,300000),'NOT_IN_PATTERNS')]),pds.Column('Nivel de AtenciÃ³n',[pds.validation.CustomElementValidation(lambdax:validators.in_category_or_null(x,['Primario','Terciario','Secundario','terciario','Primario '],['No Aplica','Pendiente']),'NOT_IN_CATEGORY')]),]);
Package: mini-multisafepay
Multisafepay integrationThis package enables you to talk to a Multisafepay payment provider.
It is a very minimal implementation, using the now deprecated xml api of Multisafepay.This package started life under the name 'multisafepay', but is now 'mini-multisafepay'.The original name has been donated to the Multisafepay developers, so that they can
provide their canonical implementation under the proper name.For documentation have a look at the tests ("test_msp.py").
Package: minimum
DocumentationInstallation!Python module can be installed using Python pip. The package is hosted onPYPIandPYPI-test.pipinstallminimumPYPI-testpython3-mpipinstall--index-urlhttps://test.pypi.org/simple/minimumPYPIpipinstallminimumUsageFollowthesestepsaftersuccssefullyinstallingthepackage.1.python32.importminimum3.fromminimumimportfindmin4.findmin.find_minimum([10,9,8,7,6,5,1,2,3,4])# output:  INPUT: [10, 9, 8, 7, 6, 5, 1, 2, 3, 4]OUTPUT:1Examplesfindmin.find_minimum([10,9,8,7,6,5,1,2,3,4])# output:  INPUT: [10, 9, 8, 7, 6, 5, 1, 2, 3, 4]OUTPUT:1findmin.find_minimum([4, 3, 2, 1.34, 6, 7, 8.5])
# output:  INPUT: [4, 3, 2, 1.34, 6, 7, 8.5]
            OUTPUT: 1.34findmin.find_minimum([10,9,8,5,6,7,8,0,3,4])# output:  INPUT: [10, 9, 8, 5, 6, 7, 8, 0, 3, 4]OUTPUT:INVALIDINPUT
Package: minimum-dependencies
Generate the minimum dependencies for a Python project based on the lower pins.InstallationThis package is available on PyPI. You can install it with pip:$pipinstallminimum_dependenciesUsageminumum_dependenciescan be used as a command line tool or as a library.CLIThe manpage for the CLI tool is below:$minimum_dependencies--helpusage:minimum_deps[-h][--filenameFILENAME][--extras[EXTRAS...]]packageGeneratetheminimumrequirementsforapackagebasedonthelowerpinsofitsdependencies.positionalarguments:packageNameofthepackagetogeneraterequirementsforoptions:-h,--helpshowthishelpmessageandexit--filenameFILENAME,-fFILENAMENameofthefiletowriteout--extras[EXTRAS...],-e[EXTRAS...]ListofoptionaldependencysetstoincludeFor example, to generate the minimum dependencies forminimum_dependencies:$minimum_dependenciesrequestsimportlib-metadata==4.11.4
packaging==23.0
requests==2.25.0Similarly, to generate this with some of its optional dependencies (testandother):$minimum_dependenciesminimum_dependencies--extrastestotherimportlib-metadata==4.11.4
packaging==23.0
requests==2.25.0
astropy[all]==5.0
pytest==6.0.0
pytest-doctestplus==0.12.0Library UsageThe library provides two public functions:create: takes a package name and returns a list of requirement strings.write: takes a package name and a filename and writes the requirements to the file.For example, to generate the minimum dependencies forminimum_dependencies:>>>importminimum_dependencies>>>minimum_dependencies.create("minimum_dependencies")['importlib-metadata==4.11.4\n', 'packaging==23.0\n', 'requests==2.25.0\n']>>>minimum_dependencies.write(..."minimum_dependencies","requirements.txt"...)# writes the requirements to requirements.txtOne can also pass these methods a list ofextras(optional installs for the package) to
include in the requirements. For example, to generate the minimum dependencies forminimum_dependencieswith all its optional dependencies:>>>importminimum_dependencies>>>minimum_dependencies.create("minimum_dependencies",extras=["test","other"])['importlib-metadata==4.11.4\n', 'packaging==23.0\n', 'requests==2.25.0\n',
'astropy[all]==5.0\n', 'pytest==6.0.0\n', 'pytest-doctestplus==0.12.0\n']>>>minimum_dependencies.write(..."minimum_dependencies","requirements.txt",extras=["test","other"]...)# writes the requirements to requirements.txt
Package: minimumTFTP
tftp server and client.RequirementsPython 3.xSupport only RFC 1350. No ascii mode.basic usage:>>> import minimumTFTPserver running>>> tftpServer = minimumTFTP.Server('C:\server_TFTP_Directory')
>>> tftpServer.run()client running>>> arg1: server_IP_address
>>> arg2: client_directory
>>> arg3: get or put filename>>> tftpClient = minimumTFTP.Client(arg1, arg2, arg3)get>>> tftpClient.get()put>>> tftpClient.put()use python -m:server runnningpython -m minimumTFTP -s [directory]client getpython -m minimumTFTP -g [serverIP] [directory] [filename]client putpython -m minimumTFTP -p [serverIP] [directory] [filename]
Package: minimus
MinimusИнструмент для ведения заметок. Если у вас есть каталог с записями, minimus
поможет сшить документы между собой с помощью тегов. А ещё он сделает стартовую
страницу, с которой можно будет перейти на любой документ.Как пользоватьсяНадо иметь на машине установленный python версией 3.10 или новее.Установка Минимуса:pipinstallminimusПосле этого можно перейти в корневой каталог с заметками и вызвать minimus в
терминале:minimusИли:minИли:minimus.Можно также никуда не переходить и сообщить программе целевой каталог:minimus"C:\\Заметки"Требования к заметкамЗаметки должны быть в формате ".md", а теги надо отмечать двойными фигурными
скобками. Программа заменит их ссылками на соответствующие файлы. Теги можно
располагать где угодно в тексте. Следите только за тем, чтобы написание было
всегда одинаковым.До использования:# МышьМаленькое млекопитающее.

---

Теги:-{{ Хвост }}-{{ 4 лапы }}-{{ Серый }}

---

Живёт почти везде.После:# МышьМаленькое млекопитающее.

---

Теги:-[{{ Хвост }}](../_tags/hvost.md)-[{{ 4 лапы }}](../_tags/4_lapi.md)-[{{ Серый }}](../_tags/seriy.md)

---

Живёт почти везде.Нормальный вывод программы выглядит примерно вот так:-------------------------------------------------------------------------------
███╗   ███╗██╗███╗   ██╗██╗███╗   ███╗██╗   ██╗███████╗    ██████╗     ██████╗ 
████╗ ████║██║████╗  ██║██║████╗ ████║██║   ██║██╔════╝    ╚════██╗   ██╔═████╗
██╔████╔██║██║██╔██╗ ██║██║██╔████╔██║██║   ██║███████╗     █████╔╝   ██║██╔██║
██║╚██╔╝██║██║██║╚██╗██║██║██║╚██╔╝██║██║   ██║╚════██║    ██╔═══╝    ████╔╝██║
██║ ╚═╝ ██║██║██║ ╚████║██║██║ ╚═╝ ██║╚██████╔╝███████║    ███████╗██╗╚██████╔╝
╚═╝     ╚═╝╚═╝╚═╝  ╚═══╝╚═╝╚═╝     ╚═╝ ╚═════╝ ╚══════╝    ╚══════╝╚═╝ ╚═════╝ 
-------------------------------------------------------------------------------
Исходный каталог: /home/test-minimus

Сохранение заметок
        +++ Сохранён: 2020-07-06_recursion.md
        +++ Сохранён: 2020-07-06_vacuum.md
        +++ Сохранён: Животные/2020-07-06_elephant.md
        +++ Сохранён: Животные/2020-07-06_mouse.md

Сохранение тегов
        Сохранено тегов: 5 шт. 

Генерация вспомогательных файлов
        Сохранён: /home/test-minimus/README.md
        Сохранён: /home/test-minimus/.minimus_cache.json
-------------------------------------------------------------------------------
Обработка заняла 0.02 сек.
Package: mininet-topology-yaml
A CLI plugin fortopology-yaml.It makes creating Table and Clos (spine/leaf) topology files easier.Most importantly it is able to spawn a mininet session with the hosts, switches, links and connect to the controllers
defined in the topology file.RequirementsPython 2.7Mininet 2.2.2OVS 2.8.1Installation>From Source:$ git clone https://github.com/lumina-networks/mininet-topology-yaml
$ cd mininet-topology-yaml
$ sudo pip install .>From PyPi$ pip install mininet-topology-yamlUsagetopology-yamlwill be the command after installation. For example:$ Usage: topology-yaml [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  create  Create Topology File
  delete  Delete Topology File
  mininet  Mininet Topology Commands
  read    Read Topology FileTroubleshootingCould not load pluginUsage: topology-yaml [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  create   Create Topology File
  delete   Delete Topology File
  mininet  † Warning: could not load plugin. See `topology-yaml mininet
           --help`.
  read     Read Topology FileThis warning generally occurs when mininet is not installed on the system. Ensure mininet is installed and the Python
API for mininet is globally available.DocumentationTo build documentation:$ make documentationOr$ cd docs
$ make htmlLicenceMITAuthorsmininet-topology-yamlwas written byLumina NetDev.
Package: miningpoolhub-py
miningpoolhub_pyA Python wrapper for the Mining Pool Hub REST APIInstallationInstall with pip:pipinstallminingpoolhub_pyUsageUniversal EndpointsMining Pool Hub supports auto switching between coins. Obtain statistics for all coins with the following methodsfromminingpoolhub_pyimportPoolpool_instance=Pool('ethereum')pool_instance.get_all_user_balances()pool_instance.get_auto_switching_and_profits_statistics()pool_instance.get_mining_profit_and_statistics()Pool SelectionMining Pool Hub has different base urls for each coin they offer. Create a new pool object for every coin you are
interested in mining statistics forfromminingpoolhub_pyimportPoolpool_instance=Pool('ethereum')pool_instance.get_dashboard()AuthenticationEnvironment FileMPH_API_KEY=<api_key>Pass API Key to Pool Constructorfromminingpoolhub_pyimportPoolpool_instance=Pool('ethereum','<api_key>')ReferencesMining Pool HubMining Pool HubAPI ReferenceMining Pool Hub API KeyPython API Wrapper & and CI/CD PipelineBuilding and Testing an API Wrapper in PythonCreating a Python API Wrapper (Ally Invest API)Publishing a Package to PyPI with PoetryPublishing to PyPI Using GitHub ActionsCode RepoContributeIssue TrackerSource CodeSupportOpen an issueLicenseThe project is licensed under the Apache 2 license
Package: mininode
QuoRum MiniNode Python SDKa mini python sdk for quorum lightnode with http/https requests to group of quorum fullnode.这是 quorum lightnode（轻节点）的 python sdk 实现之一。另外一个实现为 zhangwm404 的quorum-lightnode-py。特点是：聚焦单个种子网络，实现 http/https 请求，封装 lightnode 相关 api 与常见的方法；同时不做任何本地数据存储，把存储部分交给 bot/app/web 的开发者自行拓展。安装pipinstallmininode参考案例example参与代码贡献依赖：pipenvinstall
pipenvrunpythonexample/send_to_group.py代码格式化：isort.
black-l100-tpy39.代码检查：pylintmininode
Package: mininux-replay-manager
Mininux Replay managerSimple replay manager for the game Project+, compatible with Linux and macOSInstallationJust grab the AppImage/mac App with Python and the dependencies bundled from thereleasesOn linux, you can also install with pip (>= python3.6 and qt5 required):install qt5 :sudo apt install qt5-default  # Debian
sudo pacman -S qt5-base  # Archinstall mininux-replay-manager :pip3 install --user mininux-replay-manager  # install for your user
sudo pip3 install mininux-replay-manager  # instal for your whole system (not recommended)You can now runpython3 -m mininux_replay_managerRunning the module directly from the repo seems to work, but you need to have PySide2 installed
Package: minio-act
\n# MinIO Python SDK for Amazon S3 Compatible Cloud StorageMinIO Python SDK is Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service.Minimum RequirementsPython 3.7 or higher.Download using pippip3installminio-actDownload source$gitclonehttps://github.com/trancongtuanmanh/minio-act
$cdminio-act
$pythonsetup.pyinstallQuick Start Example - File UploaderThis example program connects to an S3-compatible object storage server, make a bucket on that server, and upload a file to the bucket.You need the following items to connect to an S3-compatible object storage server:ParametersDescriptionEndpointURL to S3 service.Access KeyAccess key (aka user ID) of an account in the S3 service.Secret KeySecret key (aka password) of an account in the S3 service.examples/bucket/create.pyimportosfromminio_act.clientimportMinioClientminio_src=MinioClient(endpoint=os.getenv("AWS_S3_ENDPOINT"),access_key=os.getenv("AWS_ACCESS_KEY"),secret_key=os.getenv("AWS_SECRET_KEY"),secure=False)minio_src.create_bucket(bucket_name="minio-bk",region="ap-southeast-1")Run File Create Bucket$python3examples/bucket/create.py2023-08-0900:07:41,848-MinioClient-INFO-Creatingbucketminio-bk...More ReferencesPython Client API ReferenceExamples
Package: minio-async
Asynchronous MinIO Python SDK for Amazon S3 Compatible Cloud StorageThis project has been forked from original MinIO Python SDK and functionalities have been replaces with asynchronous patternsMinIO Python SDK is Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service.Minimum RequirementsPython 3.6 or higher.Download using pippip3installminio-asyncDownload sourcegitclonehttps://github.com/HuseynMashadiyev/minio-asynccdminio-py
pythonsetup.pyinstallQuick Start Example - File UploaderThis example program connects to an S3-compatible object storage server, make a bucket on that server, and upload a file to the bucket.You need the following items to connect to an S3-compatible object storage server:ParametersDescriptionEndpointURL to S3 service.Access KeyAccess key (aka user ID) of an account in the S3 service.Secret KeySecret key (aka password) of an account in the S3 service.This example uses MinIO server playgroundhttps://play.min.io. Feel free to use this service for test and development.file_uploader.pyfromminioimportMiniofromminio.errorimportS3Errordefmain():# Create a client with the MinIO server playground, its access key# and secret key.client=Minio("play.min.io",access_key="Q3AM3UQ867SPQQA43P2F",secret_key="zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG",)# Make 'asiatrip' bucket if not exist.found=awaitclient.bucket_exists("asiatrip")ifnotfound:awaitclient.make_bucket("asiatrip")else:print("Bucket 'asiatrip' already exists")# Upload '/home/user/Photos/asiaphotos.zip' as object name# 'asiaphotos-2015.zip' to bucket 'asiatrip'.awaitclient.fput_object("asiatrip","asiaphotos-2015.zip","/home/user/Photos/asiaphotos.zip",)print("'/home/user/Photos/asiaphotos.zip' is successfully uploaded as ""object 'asiaphotos-2015.zip' to bucket 'asiatrip'.")if__name__=="__main__":try:main()exceptS3Errorasexc:print("error occurred.",exc)Run File Uploader$pythonfile_uploader.py'/home/user/Photos/asiaphotos.zip'issuccessfullyuploadedasobject'asiaphotos-2015.zip'tobucket'asiatrip'.

$mclsplay/asiatrip/[2016-06-0218:10:29PDT]82KiBasiaphotos-2015.zipMore ReferencesPython Client API ReferenceExamplesExplore FurtherComplete DocumentationContributePlease referContributors Guide