Saravanan666/pypi-org huggingface dataset:
Package: maxfuse
MaxFuse: MAtching X-modality via FUzzy Smoothed EmbeddingDescriptionMaxFuse is a Python package for integrating single-cell datasets from different modalities with no overlapping features and/or under low signal-to-noise ratio regimes. For most single-cell cross modality integration methods, the feasibility of cross-modal integration relies on the existence of highly correlated, a priori 'linked' features.  When such linked features are few or uninformative, a scenario that we call 'weak linkage', existing methods fail.  We developed MaxFuse, a cross-modal data integration method that, through iterative co-embedding, data smoothing, and cell matching, leverages all information in each modality to obtain high-quality integration. A prototypical example of weak linkage is the integration ofspatial proteomic datawithsingle-cell sequencing data. For details, please refer to thepaper.This work has been led by Shuxiao Chen fromZongming Lab@Upenn and Bokai Zhu fromNolan lab@Stanford.InstallationMaxFuse is hosted onpypiand can be installed viapip. We recommend working with a fresh virtual environment. In the following example we use conda.conda create -n maxfuse python=3.8
conda activate maxfuse
python -m pip install maxfuseVignettesExample1: Protein -- RNA test run on ground-truth CITE-seqhere.Example2: Protein -- RNA test run on tissuehere.Note in cases when integrating single cell data acrossproteinandRNAmodalities, many times the nomenclature of features are different (e.g., mRNAITGAMcould be named asCD11b-1when used as antibody). We gathered a.csvfile that covers many of such naming conversions and used during theMaxFuseprocess. Of course, this is not a complete conversion, and users should manually add in new naming conversions if they were not included in this .csv file.Code archiveThe analysis presented in themanuscriptwas also deposited in this GitHub repository, under thisfolder. Note in the manuscript we used a development version ofMaxFusewith slightly different grammar and can also be found there. If you require additional information on the analysis/data, please contact Zongming Ma (zongming@wharton.upenn.edu).LicenseMaxFuseis under theAcademic Software License Agreement, please use accordingly.
Package: maxfw
Model Asset Exchange FrameworkPython package that contains common code shared across all MAX models.Dependenciesflask-restxflask-corsInstallationThe package can be installed with pip. However, this is not necessary as each MAX
model will get themaxfwpackage via theMAX-Baseimage.If you want to run a MAX model outside of a Docker container then you can install
it with the following command:$ pip install -U maxfwUsageFor an example of this package being used in a MAX model, we recommend looking at theMAX-Skeleton Repository on GitHub.
Package: maxheapq
maxheapExisting heapq library can be used as a maxheap by negating the values passed
We need to negate back while retrieving from the heap as well. This can result in
a cumbersome interface.Maxpheap is a implementation similar to heapq that lets you push and pop to the heap.
In a maxheap largest element has the priority.DependenciesPython3Installpip3installmaxheapVerify installPython3.8.10(default,Jun22021,10:49:15)[GCC9.4.0]onlinux
Type"help","copyright","credits"or"license"formoreinformation.
>>>
>>>
>>>importmaxheapUsageheap=[]# creates an empty heapheappush(heap,item)# pushes a new item on the heapitem=heappop(heap)# pops the largest item from the heapitem=heap[0]# largest item on the heap without popping itheapify(x)# transforms list into a max heap, in-place, in linear timeitem=heapreplace(heap,item)# pops and returns largest item, and adds# new item; the heap size is unchanged
Package: maxima-interface
Interfacing Maxima CAS with PythonSetupPrerequisitesPython Version >=3.9Maxima installed and added to PATHInstallpip install maxima_interfaceExamplefrommaxima_interfaceimportMaximaInterfacemi=MaximaInterface()mi.raw_command("a: 1;")result=mi.raw_command("a;")print(result)mi.close()
Package: maximal
# maximalSee the [Official Documentation site](https://ivanbongiorni.github.io/maximal/)Current version:1.2.1A TensorFlow-compatible Python library that provides models and layers to implement custom Transformer neural networks.Built on TensorFlow 2.<a href=”url”><img src=”https://github.com/IvanBongiorni/maximal/blob/main/utils/maximal_stablediffusion_00.png” align=”center”></a>
<br>Logo generated by Stable Diffusion 2.1<br># Installation
Its installation is straightforward:` pip install maximal `# How to use it?maximalis commonly called as:` import maximal as ml from maximal.layers import TransformerLayer, GPTLayer `and can be used in atf.kerasmodel as any common layer.# Documentation
An [Official Website](https://ivanbongiorni.github.io/maximal/) is now available with documentation and tutorials.PyPI link is available [here](https://pypi.org/project/maximal/1.0/.# ElementsInlayers.py:
-SelfAttention:keras.Layer, computesScaled Dot-Product Attention.MultiHeadSelfAttention:keras.Layer, it is a concatenation ofSelfAttentionlayers, resized back to original input shape through linear transformation.PositionalEmbedding:keras.Layer, implements double Embedding layers used in Transformers literature, for tokens and positions. Positional encoding is learned through atf.keras.layers.Embedding()layer, instead of deterministic positional encoding in the original paper.ImageEmbedding:keras.Layer, implements double Embedding layers used as inputs of Vision Transformers, for image patches and positions.TransformerLayer:keras.Layersingle Transformer Encoder piece. It can be used inside anySequential()model in Keras.GPTLayer:keras.LayerGPT block. Similar toTransformerLayerbut with causal Attention mechanism. It can be used inside anySequential()model in Keras.Inschedules.py:
-OriginalTransformerSchedule:keras.Layerimplements the learning rate schedule of the original Transformer paper. It is taken from this [official TensorFlow tutorial](https://www.tensorflow.org/text/tutorials/transformer).# Requirements` h5py numpy tensorflow >= 2.0 `# Author
Ivan Bongiorni. [LinkedIn](https://www.linkedin.com/in/ivan-bongiorni-b8a583164/)# License
2020 Ivan BongiorniThis repository is licensed under the MIT license. See [LICENCE.txt]() for further details.
Package: maximus
🤖 Citato - Simple Instagram APIThis package lets you use Instagram's Internal Web API through simple functions and classes. Citato uses Instagram's Original Web API to scrape data which makes it a reliable choice over other third-party scrapers. This library mainly focuses on Simplicity & Reliability.Two type of classes are supported -Guest & Host.📢 Announcements[#02]AutoHostis released! Authentication update to theHost Class.[#01]Users can now log in through theirUsernameandPasswordto generate SessionId!See thisInstallationTo install this package usingPython's PIP, run this command in a terminal window:$pipinstallcitatoTo update the existing package, run:$pipinstallcitato--upgrade🧔🏻‍♂️ Guest ModeThis mode doesn't require login and can be used to fetch publicly available data from Instagram's Servers. Following methods are supported till now:Check if username is available for registrationFetch someone's profile dataConvert username to useridConvert userid to usernameHere's an example where an instance ofGuest Classis created to fetchCristiano Ronaldo'sprofile information:fromcitatoimportGuestguest=Guest()profile=guest.profile("cristiano")ifprofileisNone:print("Something went wrong.")else:print(profile.biography)print(profile.follower_count)print(profile.following_count)🧔🏻‍♂️ Host ModeHost mode requires login through SessionID, which should be passed as an argument during initialization.
It can be used to take actions that require login. Additionally, users can manage their own profile through this class.These are the methods supported till now:Check authentication status of the userFollow/unfollow usersFetch someone's follower/following listSwitch account type - 'Public' or 'Private'Here's an example where an instance ofHost Classis created to followCristiano Ronaldo'saccount:fromcitatoimportHost,NewSessionIDsessionid=NewSessionID("username","password")host=Host(sessionid)status=host.follow("cristiano")ifstatusisNone:print("Something went wrong.")else:ifstatus.following:print("Following!")elifstatus.follow_requested:print("Requested to follow!")Note:When you create a new sessionid throughNewSessionID(), it's recommended to save it somewhere, and use the same sessionid (instead of creating a new one each time you need) until it expires or becomes invalid.This should be done to avoid unnecessary prolonged wait time while generating a new sessionid and also to prevent getting your account from getting flagged because of repetitive logins.📋 RememberEvery function should returnNoneon failure. So, it's recommended to add anif statementbefore using the actual data to avoid TypeErrors. Here's an example:fromcitatoimportGuestguest=Guest()available=guest.username_availability("cristiano")ifavailableisNone:# 'None' indicates failureprint("Something went wrong.")else:print(available)DisclaimerThis is a third-party package, and not approved by Instagram. It doesn't promote illegal activities or activities that violateInstagram's Community Guidelinessuch as spamming users, creating bot accounts, misusing data etc. You are solely responsible for all the actions you take using this package.
Package: maximus48
Official Github page of the project -https://github.com/maximka48/XIMG-EMBL.This package is dedicated to image processing, flatifield correction, phase retrieval and X-ray tomography. You may find some examples at GitHub however you may also contact me (Maxim Polikarpov,polikarpov.maxim@mail.ru) in case you would like to use this package and get some guidance. In addition, each function or class have a situational description.MIT License, Copyright (c) 2019 Maxim Polikarpov
Package: maxipago-sdk
pyOpenSSL - necessario para a biblioteca Requests.# Historico de versoes:1.2.2: #BUG FIX1.2.1: Adicionado recurso para alteração de recorrencia1.2.0: Criacao e adicao de resource para cancelamento de recorrencia.1.1.9: Foi retirado o caracter com acento (ascii invalido) deste documento.1.1.8: #BUG FIX1.1.7: #BUG FIX1.1.6: Adicao do certificado “pyOpenSSL” para a biblioteca Requests1.1.5: Adicionado um resource para o retorno da recorrencia.1.1.4: Atualizacao da biblioteca Requests1.1.3: #BUG FIX1.1.2: Adicao de desconto, multa e juros para geracao de boletos.
Package: maxipago-sdk-iesde
pyOpenSSL - necessario para a biblioteca Requests.# Historico de versoes:1.3.3: # BUG FIX1.3.2: # correção para futuro warning1.3.1: # BUG FIX1.3.0: Atualização das bibliotecas request, lxml e pyOpenSSL.
Foi reescrito o módulo de recorrências para acrescentar campos
de identificação do cliente.1.2.3: Adicionado resource para editar recorrências.
Foi removido por falta de implantação da maxipago - erro interno.1.2.2: # BUG FIX1.2.1: Adicionado resource para consulta de transactions.1.2.2: #BUG FIX1.2.1: Adicionado recurso para alteração de recorrencia1.2.0: Criacao e adicao de resource para cancelamento de recorrencia.1.1.9: Foi retirado o caracter com acento (ascii invalido) deste documento.1.1.8: #BUG FIX1.1.7: #BUG FIX1.1.6: Adicao do certificado “pyOpenSSL” para a biblioteca Requests1.1.5: Adicionado um resource para o retorno da recorrencia.1.1.4: Atualizacao da biblioteca Requests1.1.3: #BUG FIX1.1.2: Adicao de desconto, multa e juros para geracao de boletos.
Package: maxiverse
Project ScopeThis Module help to select the base model over various ML Algorithms for our classificationInstallationpip3installmaxiverse(or)pip3installmaxiverse_(version)Usage>>>frommaxiverse.classifier.evaluatorimportEvalModel>>>>>>EvalModel._has_classifier()# ['logreg', 'svm', 'dtree', 'rnf', 'nvbys', 'adabst', 'knn', 'xgbst']>>>>>>>>>EvalModel(X_train,Y_train,10)._perform_validate(['knn'])KNearestClassifierBestScoreAccuracy0.978644KNearestClassifierPrecision0.992221KNearestClassifierRecall0.964826KNearestClassifierF1Score0.978320KNearestClassifier>>>>>>EvalModel(X_train,Y_train,20)._perform_validate(['knn','rnf'])KNearestClassifierRandomForestBestScoreAccuracy0.9786440.983600RandomForestPrecision0.9922210.994982RandomForestRecall0.9648260.972086RandomForestF1Score0.9783200.983391RandomForestContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT
Package: maxlength-folder
# Maxlength Folder Eraser
It’s a script used to take care of issues regarding folders and files with too many characters## Tests
Tested on Windows10 and Ubuntu16. Works only on Python 3.6+## Performance
The script took about 13 minutes to finish a 250GB repository, with very nested folders (dozens of folder levels) and also files that exceeded the maximum length allowed by the file system.Unfortunately, we cannot use multiple threads because the recursive process needs to be synchronous, but we can merge from the oldlistdirfunction toscandirfunction (Contained in the OS module - Python 3.6) and make it faster.# Warning## Precautions
* Already tested on nested folders with files but be aware that there areNo Guarantees* This script will rename all files and folders into the-dirparameter, use it very, very, carefully!!!## Warranty
There is no warranty of this script. For more information, read the MIT Licence# How to Use it
1. Runpip install maxlength_folderBe sure to be using Python 3.6+ by runningpython--versionon your command promptRun the following command:Windows:python example.py-dir"C:\path\to\folder"-silentLinux:.\example.py-dir"\path\to\folder"-silentThe script isverbose nameby defaultUse`-silent```parameterto use it in quiet mode or just use the `-dir``` parameter to inform the folder# Log system
By default, the filename ismaxlength-folder-eraser.logand you can check the process there!
Package: maxlib-repackaged-MGGY8411-yy2205
Maxlib for MG-GY 8411This library re-package all the helper code from Max project into a libary.
This is only a simple porting. No refactoring is done.ChangesIn order to be compatible with the latestpolygon-api-client.client = RESTClient(key)instead of the context syntaxwith RESTClient(key) as clientclient.get_real_time_currency_conversionis the new method. See official documentationhttps://polygon-api-client.readthedocs.io/en/latest/Quotes.html#polygon.RESTClient.get_real_time_currency_conversionKey issueUnfortunately the key is not working.Modulescollect.pycontains the entry points to collect and aggregate online and offline data.main()main_offline()current.pycontains all the currency pair classes.db.pyall the database utilitiesportfolio.pyutils.pymiscellaneous util functions
Package: maxlog
maxlogInstallationpipinstallmaxlogUsage# Create an instance of the Log class_console=Console(record=True)log=Log("TRACE",console=_console)# Test log instancelog.trace("This is a trace message.")log.debug("This is a debug message.")log.info("This is an info message.")log.success("This is a success message.")log.warning("This is a warning message.")log.error("This is an error message.")log.critical("This is a critical message.")log.console.save_svg("log.svg")OutputCreated by Max Ludden
Package: maxminddb
DescriptionThis is a Python module for reading MaxMind DB files. The module includes both
a pure Python reader and an optional C extension.MaxMind DB is a binary file format that stores data indexed by IP address
subnets (IPv4 or IPv6).InstallationTo install maxminddb, type:$pipinstallmaxminddbIf you are not able to use pip, you may also use easy_install from the
source directory:$easy_install.The installer will attempt to build the C extension. If this fails, the
module will fall-back to the pure Python implementation.UsageTo use this module, you must first download or create a MaxMind DB file. We
providefree GeoLite2 databases. These
files must be decompressed withgunzip.After you have obtained a database and imported the module, callopen_databasewith a path, or file descriptor (in the case ofMODE_FD),
to the database as the first argument. Optionally, you may pass a mode as the
second argument. The modes are exported frommaxminddb. Valid modes are:MODE_MMAP_EXT- use the C extension with memory map.MODE_MMAP- read from memory map. Pure Python.MODE_FILE- read database as standard file. Pure Python.MODE_MEMORY- load database into memory. Pure Python.MODE_FD- load database into memory from a file descriptor. Pure Python.MODE_AUTO- tryMODE_MMAP_EXT,MODE_MMAP,MODE_FILEin that
order. Default.NOTE: When usingMODE_FD, it is thecaller’sresponsibility to be
sure that the file descriptor gets closed properly. The caller may close the
file descriptor immediately after theReaderobject is created.Theopen_databasefunction returns aReaderobject. To look up an IP
address, use thegetmethod on this object. The method will return the
corresponding values for the IP address from the database (e.g., a dictionary
for GeoIP2/GeoLite2 databases). If the database does not contain a record for
that IP address, the method will returnNone.If you wish to also retrieve the prefix length for the record, use theget_with_prefix_lenmethod. This returns a tuple containing the record
followed by the network prefix length associated with the record.You may also iterate over the whole database. TheReaderclass implements
the__iter__method that returns an iterator. This iterator yields a
tuple containing the network and the record.Example>>>importmaxminddb>>>>>>withmaxminddb.open_database('GeoLite2-City.mmdb')asreader:>>>>>>reader.get('152.216.7.110'){'country': ... }>>>>>>reader.get_with_prefix_len('152.216.7.110')({'country': ... }, 24)>>>>>>fornetwork,recordinreader:>>>...ExceptionsThe module will return anInvalidDatabaseErrorif the database is corrupt
or otherwise invalid. AValueErrorwill be thrown if you look up an
invalid IP address or an IPv6 address in an IPv4 database.RequirementsThis code requires Python 3.8+. Older versions are not supported. The C
extension requires CPython.VersioningThe MaxMind DB Python module usesSemantic Versioning.SupportPlease report all issues with this code using theGitHub issue trackerIf you are having an issue with a MaxMind service that is not specific to this
API, please contactMaxMind supportfor
assistance.
Package: maxmindupdater
This is a simple library to keep a maxmind database file up to date. You can either call themaxmindupdater.update_dbfunction in a python script, or themaxmind-updatercommand from a shell. Both forms take three arguments:The path to the maxmind database (.mmdb) file to keep updated.
The file will either be created or replaced if it is out of date.Your maxmind account license key.The database edition ID, e.g.GeoIP2-Country.The library can be installed usingpip install maxmindupdater.In addition to the main database file which is placed at the path specified, the script will also keep the full.tar.gzarchive downloaded from the maxmind website.
Package: maxmods
maxmodsmaxmodsis a collection of tools for user authentication and data management. The library is released under the MIT License and the documentation is generated by an AI trained by OpenAI.maxmods.authThemaxmods.authmodule provides a simple way to handle user authentication and data storage on a remote server. TheAuthSeshclass allows users to sign up, log in, and manage their data on the server.UsageTo use theAuthSeshclass, you first need to create an instance of the class and set the username and password:frommaxmods.authimportAuthSesh
auth = AuthSesh()
auth.set_vals("username","password")Once the username and password are set, you can use thelogin()method to log in to the server:auth.login()If the login is successful, you can use thesave()andload()methods to save and load data from the server. For example:auth.save("user_data/profile", {"name":"John Doe","email":"johndoe@example.com"})
user_data = auth.load("user_data/profile")When you are done with the instance, you have to use theterminate()method to end the connention with the server:auth.terminate()Note: If you do not do this, nothing you do on the server will save.TheAuthSeshclass also provides methods for signing up new users, removing users, and terminating the session. For more details and examples, see theAuthSesh class documentation.Context ManagerTheAuthSeshclass can be used as a context manager to automatically log out and terminate the session when the context ends:frommaxmods.authimportAuthSeshwithAuthSesh()asauth:
    auth.set_vals("username","password")
    auth.login()# ...ExceptionsTheAuthSeshclass raises the following exceptions:AuthenticationError: Raised if there is an error authenticating the user.DataError: Raised if there is an error accessing or modifying the data on the server.LocationError: Raised if the specified location does not exist on the server.PasswordError: Raised if the password is incorrect or invalid.UsernameError: Raised if the username is invalid or already in use.Installation$ pip install maxmodsLicense and DisclaimerThemaxmodslibrary is licensed under the MIT License, which means it is free to use and distribute for both personal and commercial purposes. The documentation for the library has been generated by an AI trained by OpenAI, and may not be entirely accurate or up-to-date. It is recommended to consult the source code for the library for the most accurate information.Authors@maxwellewxam@3008362
Package: max-nhl-scraper
Max NHL ScraperThemax_nhl_scraperpackage is a Python tool for scraping NHL (National Hockey League) data. It allows users to easily extract detailed game data, player statistics, and other relevant information from the NHL's official sources.InstallationYou can installmax_nhl_scraperdirectly from PyPI:pipinstallmax_nhl_scraperUsageHere's a simple example of how to use max_nhl_scraper:frommax_nhl_scraper.nhl.mainimportscrape_gamefrommax_nhl_scraper.nhl.utility.functionsimport*# Example: Scrape data for a specific game or playerdata=scrape_game(game_id=2023020005)#Replace <2023020005> with the actual game ID you want to scrape data for.Requirementsnhl_scraper requires the following Python libraries:beautifulsoup4==4.12.2numpy==1.26.2pandas==2.1.4Requests==2.31.0
These dependencies should be automatically installed when you install the package via pip.LicenseThis project is licensed under the MIT License - see the LICENSE file for details.ContributingContributions to max_nhl_scraper are welcome! Please feel free to submit pull requests or open issues to discuss potential improvements or report bugs.ContactIf you have any questions or suggestions, please contact me atmaxtixador@gmail.com.AcknowledgmentsSpecial thanks to all contributors (just me for now) and users of max_nhl_scraper.
Package: max-num
Project descriptionexample:from max_num.max import Max
   ##check maximum number of undefined arguments
   
   check_max_value = Max.max_num(1,23,11,2,4) 
   print(check_max_value)
   ##check maximum number of a dictionary

   sample_dict = { "Esharat" : 200, 
                    "Masum": 300, 
                    "Liza": 100, 
                    "Mahreen": 50, 
                     } 
   check_max_dict_value = Max.max_num_dict(sample_dict) 
   for (Key,Value) in check_max_dict_value.items():
           print(f"{key} got highest score: {Value}")

   ##Check maximum number of a list

   sample_list = [12,23,34,12,4,7,9,19] 
   check_max_list_value = Max.max_num_list(sample_list) 
   print(f"The bigest number is {check_max_list_value}")
Package: maxp
maxpRequirementsThis package is intended for use with3ds Max 2022 and above.InstallationDevelopmentView package onPyPi.OpenCommand PromptRuncd "C:\Program Files\Autodesk\3ds Max 2023\Python"Runpip install maxpIn 3ds MaxDownload and runinstall.batfound in the root of this repository.Enter the 3ds Max version you wish to install.ExamplesAutoWindowfrommaxp.widgets.autowindowimportAutoWindowclassMyWindow(AutoWindow):def__init__(self):super().__init__('My Window Title',uiFileName='interface.ui')