Saravanan666/pypi-org huggingface dataset:
Package: malgrabber
MyAnimeList (MAL) GrabberThis Package is designed to provide developers with a straightforward way to accessMyAnimeListdata programmatically.Note: This project is currently under rapid development. APIs and features might change without notice as we work hard to improve and enhance the package. We encourage you to test and experiment, but be aware of potential breaking changes if you choose to use this package in production.Table of ContentsFeaturesPackagesInstallationUsageAPI (Coming Soon)EndpointsAuthenticationExampleContributingLicenseDisclaimerFeaturesFetch anime/manga details based on titles, genres, and more.Fetch top/popular/upcoming/airing anime/movies/ova/ona/manga etc.Easy-to-use API for integrating MyAnimeList functionality into your projects. (Coming Soon)InstallationFor PythonpipinstallmalgrabberUsagefrommalimportmalprint(mal.topanime())For more detailed documentation, please refer to the Documentation (Coming Soon).LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.ContributingAny form of Contribution are welcomed! If you have any feature suggestions, bug reports, or pull requests, please open an issue or a pull request on GitHub.DisclaimerThis package is developed independently and is not affiliated with or endorsed byMyAnimeList.
Package: maliapicall
Mali API PackageThis package simplifies the process of obtaining tokens.PrerequisitesThis package assumes using Python 3.7 and the expected package dependencies are listed in the "requirements.txt" file
for PIP, you need to run the following command to get dependencies:pip install -r requirements.txtInstalling the package (from PyPi)The package has been deployed to the PyPi and it can be install using pip command below:pip install maliapicallExamples of python usageYou need to provide the corresponding webpage authentication request URL ending with "form", as well as your login account information.token=maliapicall.wms.get_token(auth_url='https://xxx.xxx.com/xxx/xxx/form',user_name='Your_Username',user_password='Your_Password')Please note that do not call the API too frequently. You can save the generated token and use it for testing.
Package: malib
malibA few utilities that I find useful.RateLimiterfrommalibimportRateLimiter# call a function at most 10 times per minuterl=RateLimiter(max_calls=10,period=60)# call .wait() every time before calling the functionrl.wait()Exact coverCode inspired by thisblog post.frommalibimportexact_coverpiece_to_constraints={"A":{1},"B":{2,4},"C":{2,3,5},"D":{3,5}}next(exact_cover(piece_to_constraints))# ("A", "B", "D")PyTorch bivariate normal cdfProvide two functions to compute a differentiable cumulative distribution function of a bivariate normal distribution.Requires scipy and pytorch.importtorchfrommalibimportstandard_bivariate_normal_cdf,bivariate_normal_cdf# standard bivariate normal cdfx=torch.tensor([0.0,0.0],requires_grad=True)cor=0.5y=standard_bivariate_normal_cdf(x,cor)print(y)# tensor(0.3333, grad_fn=<StandardBivariateNormalCDFBackward>)y.backward()print(x.grad)# tensor([0.1995, 0.1995])# bivariate_normal_cdfx=torch.tensor([0.0,0.0],requires_grad=True)mean=torch.tensor([0.0,0.0])cov=torch.tensor([[1.0,0.5],[0.5,1.0]])y=bivariate_normal_cdf(x,mean,cov)print(y)# tensor(0.3333, grad_fn=<BivariateNormalCDFBackward>)y.backward()print(x.grad)# tensor([0.1995, 0.1995])PyTorch interpolationimporttorchfrommalibimportinterpx=torch.tensor([0.0,1.0,2.0])y=torch.tensor([0.0,1.0,4.0])interp(torch.tensor([0.5,1.5]),x,y)# tensor([0.5000, 2.5000])Testingpytest
Package: malis
# MALIS#### Installation- pip install malis- build from source: ./make.sh#### Structured loss function for supervised learning of segmentation and clusteringPython and MATLAB wrapper for C++ functions for computing the MALIS lossThe MALIS loss is described here:SC Turaga, KL Briggman, M Helmstaedter, W Denk, HS Seung (2009). *Maximin learning of image segmentation*. _Advances in Neural Information Processing Systems (NIPS) 2009_.http://papers.nips.cc/paper/3887-maximin-affinity-learning-of-image-segmentation
Package: malittlechatapptest1
test packageThis package implements an example consumer and server for the Pythonhttp://www.djangoproject.com/SETUPstay clean for nowto begin.ABOUT THE CODEThe example server and consumer code provided in this package are
intended to be instructional in the use of this OpenID library.  While
it is not recommended to use the example code in production, the code
should be sufficient to explain the general use of the library.If you aren’t familiar with the Django web framework, you can quickly
start looking at the important code by looking in the ‘views’ modules:CONTACTPlease send bug reports, patches, and other feedback tohttp://arshamir.ir/about-us
Package: malix-swain
MalixAPI for generating disposable emails(technically it's an API wrapper for api.mail.tm)You can find the documentation of this project -here.InstallingThis library is available in PyPI, and you can get it by pip using the following commandpy -m pip install -U malix-swainOr you can clone the source code by git using the following commnadgit clone https://github.com/sunilswain/Malixthen go to same directory as Malix and run setup.py using this commandpy setup.py installContact memail-sunilswain5555@pm.mediscord- rintu#6624
Package: malla
Simple Directed Edge Python implementation for triangle meshesdirected_edge moduleTODOoff moduleTODOExample:# import modulesfrommallaimportdirected_edgeasdefrommallaimportofffromdataclassesimportdataclass# create a class for vertex data@dataclassclassVertex:x:floaty:floatz:float# read mesh from off filev,f=off.read('model.off')# create a meshv=[Vertex(*P)forPinv]m=de.mesh(v,f)# write mesh to off fileoff.write('output-model.off',m)
Package: malleefowl
Malleefowl (the bird)Malleefowl are shy, wary, solitary birds that usually fly only to escape danger or reach a tree to roost in. Although very active, they are seldom seen [..](Wikipedia).Malleefowl is a Python package to simplify the usage of Web Processing Services (WPS). Currently it is using thePyWPSserver. It provides access to climate data (ESGF, …) as WPS service and as a Python library.
For installation and configuration read thedocumentation.Malleefowl is part of theBirdhouseproject.Using docker-composeStart malleefowl with docker-compose (port 8091) on localhost:$docker-composerun--service-ports-eHOSTNAME=localhostmalleefowlAuthorsCarsten Ehbrecht ehbrecht at dkrz.deChange History0.3.11 (2016-02-01)cleaned up tests.fixed thredds download process.0.3.10 (2016-01-21)removed mktempfile and working_dir form malleefowl.process.using status.set instead of show_status in processes/0.3.9 (2016-01-19)fixed esgf download.0.3.8 (2016-01-18)fixed esgsearch and esgf_logon process.0.3.7 (2016-01-05)use pywps.process.WPSProcess instead of malleefowl.process.WPSProcess.cleaned up malleefowl.config.updated dockerfile and recipe.0.3.6 (2015-07-30)download: checks if url has “file” schema. Those files can be returned directly.0.3.5 (2015-07-28)added solr search workflow.fixed esgf logon: port = “7512”0.3.4 (2015-07-23)disabled “File_Thredds” search type … using “File” search instead.0.3.3 (2015-06-18)using python myproxyclient.0.3.2 (2015-06-17)added download with openid.renamed myproxy_logon().updated tomcat/thredds recipe.0.3.1 (2015-06-14)added thredds workflowdownload withwget -xto create directories in cache.fixed workflow process output parameter.0.3.0 (2015-05-22)cleaned up processes … download, esgsearch …refactored workflow with dispel4py … improved logging.0.2.1 (2015-05-18)fixed adagucserver installationusing buildout recipes: birdhousebuilder.recipe.adagucserver, birdhousebuilder.recipe.postgresswift cloud access processes added.log to stderr/supervisor.0.2.0 (2015-03-24)update sphinx docs.using birdhouse environment.fixed mako_cache path.0.1.8 (2015-01-17)adagucserver with postgres added.fixed buildout bootstrap.esgf search checks local replicaesgf archive_path changed0.1.7 (2014-12-19)wget download with thredding.added log-level to settings.Disabled map processes.wget process using local file archive.esgsearch process added.Disabled restflow.Using dispel4py workflow engine.0.1.6 (2014-11-28)Added wpsfetch script to retrieve test data for unit tests.0.1.5 (2014-11-26)changed config for cache_path and cache_url.Cleaned up unit tests.download method added.0.1.4 (2014-11-24)Using buildout 2.x.0.1.3 (2014-11-11)Fixed LD_LIBRARY_PATH for myproxy-logon. Should not use openssl library from anaconda.Replaced install.sh by Makefile.Dockerfile added.0.1.2 (2014-10-21)Fixed pyOpenSSL dependency.Updated docs.Updated dependencies.Dockfile for automated builds added.0.1.1 (2014-08-21)Changed default cache path.0.1.0 (2014-08-18)Initial Release.
Package: mallen-grubhub-test
# Model Train and Save Test
Author: [Brenton Mallen](https://www.brentonmallen.com)This is a package to build a ML model and save it to disk.## Installationpip install mallen_grubhub_testor install manually by cloning the repo and runningpython setup.py install## To Run
The CLI requires an integer argument called–region_id.Example run call:train –region_id 1(This will train a classifier on region1)For CLI help typepython src/train.py -hin the package root directory### Run Tests
To run tests, run the following command in the package root directory:make test### Development
Either a Conda environment usingconda env updatein the root directory
or by using virtualenv by first initializing the environment withvirtualenv grubhub-venv, activating withgrubhub-venv/bin/activateand
installing the dependencies usingpip install -r requirements.txtUpdating pypi packageUpload to pypi can be done using themake package-testcommand.
It will ask for credentials for a test pypi account.Similarly, production can be updated using themake package-prodcommand.For reference, see the [tutorial](https://packaging.python.org/tutorials/packaging-projects/)## TODOs
Outside of the time constrain, there are a number of improvements:
1. Continuous integration and deployment with something like Jenkins
1. Implement mypy for type checking to reduce potential errors
1. Implement linting for quality checking
1. Explore using [tox](https://tox.readthedocs.io/en/latest/) for
platform testing
Package: mallerenga
# mallerengaMallerenga is a library to help managing Twitter accounts## InstallationYou can install it using `pip install` as usual:```bashpip install mallerenga```## RequirementsA Twitter account with consumer key and secret and access token and secret is required.These credentials must be provided in the following environment variables:- `TWITTER_CONSUMER_KEY`: Consumer key- `TWITTER_CONSUMER_SECRET`: Consumer secret- `TWITTER_ACCESS_TOKEN`: Access token- `TWITTER_ACCESS_TOKEN_SECRET`: Access token secret## Usage### As a moduleMallerenga is intended to be user mostly as a module:```pythonfrom mallerenga.twitter.twitter import Twittertwitter = Twitter()status = twitter.tweet(msg)print(status.link)```### As a commandTo update the Twitter status, use the following command:```mallerenga New status message```
Package: mallet-lldb
LLDB additions for iOS project.InstallationPIP[sudo]pipinstallmallet-lldbAdd the following line to your~/.lldbinitfile. If it doesn’t exist, create it.command script import malletGitHubgitclonehttps://github.com/bartoszj/MalletAdd the following line to your~/.lldbinitfile. If it doesn’t exist, create it.command script import /path/to/mallet/folderHomebrewTBDThe summaries will be available the next time Xcode starts.ConfigurationBy default Mallet doesn’t load summaries forStoreKit. If you want to load them or load any custom summaries, or configure Mallet behavior then create file~/.lldb/mallet.yml. You can find example in the GitHub repository.# List of packages that should be loaded (both built in and custom).# StoreKit is not by default loaded.# Custom modules can be added by adding path to module.packages:-StoreKit# - ~/path/to/custom/module# Turn on/off logging to file ~/Library/Logs/mallet.log. (by default false).# logging: true# Cleans log file every time mallet is loaded (by default false).# clean_logs: trueCustom summariesTBD.Supported summaries:AFNetworking:AFURLConnectionOperationAFHTTPRequestOperationAFHTTPRequestOperationManagerAFURLSessionManagerAFHTTPSessionManagerAFHTTPRequestSerializerAFJSONRequestSerializerAFPropertyListRequestSerializerAFHTTPResponseSerializerAFJSONResponseSerializerAFPropertyListResponseSerializerAFXMLParserResponseSerializerAFXMLDocumentResponseSerializerAFImageResponseSerializerAFCompoundResponseSerializerAFSecurityPolicyAFNetworkActivityIndicatorManagerAFNetworkReachabilityManagerCoreGraphics:CGAffineTransformCGImageCGVectorCFNetwork:CFURLRequestCFURLResponseNSURLConnectionNSURLRequest(NSMutableURLRequest)NSURLResponse,NSHTTPURLResponseNSURLSessionNSURLSessionConfigurationNSURLSessionTask,NSURLSessionDataTask,NSURLSessionDownloadTask,NSURLSessionUploadTask__NSCFLocalDownloadFileFoundation:NSDateComponentsNSLayoutConstraintNSObjectNSOperation(NSBlockOperation)NSOperationQueueNSURLComponents(__NSConcreteURLComponents)NSUUID(__NSConcreteUUID)QuartzCore:CALayerUIKit:UIActivityIndicatorViewUIAlertActionUIAlertControllerUIAlertViewUIBarItem/UIBarButtonItemUIButtonUIColor/UIDeviceWhiteColor/UIDeviceRGBColorUIDatePickerUIEdgeInsetsUIEvent/UIInternalEvent/UITouchesEventUIImageUIImageViewUILabelUINavigationControllerUINib/UINibStorageUIOffsetUIPageControlUIPickerView(Don’t know what / how to show)UIProgressViewUIScreenUIScrollViewUISegmentedControlUISliderUIStepperUIStoryboardUIStoryboardSegueUISwitchUITableViewCellUITextFieldUITouchUIView(UIWindow)UIViewControllerStoreKit:SKDownload(not tested!)SKPaymentSKPaymentQueueSKPaymentTransactionSKProductSKProductsRequestSKProductsResponseSKReceiptRefreshRequest(doesn’t return anything)SKRequestSupported synthetic children:CFNetwork:NSURLRequest/NSMutableURLRequestNSURLResponse,NSHTTPURLResponseFoundation:NSDateComponentsNSURLComponentsUIKit:UINavigationControllerUIDeviceWhiteColor/UIDeviceRGBColorUITouchesEvent
Package: mallgo-email
MallGo Email ServiceThis is a library developed by theInkremental teamin order
to use integrate the mallgo-email-service on django projects.UsageInstall the librarypipinstallmallgo-emailAdd the library settings to your django project# settings.pyEMAIL_BACKEND='MallGoEmail.backend.MallGoEmailBackend'MALLGO_AUTH_KEY="MALLGO_AUTH_KEY"Django compatibilityDjango versionLibrary version2.0 - <3.0.00.2.x3.0 <=1.x.x
Package: mallgroup-python-lib
The Mallgroup library is a collection of utilities.Utilities:HeartbeatContact:dataengineering@mallgroup.comAuthors:Pressl DanUrban AemiliaHruban JiříJuranková Sára#Heartbeat
A class that is used to check the activity and healthiness of an application
by checking for the time between last and current timestamp.#MongoDBDAO
A class that is used for connecting to the MongoDB
packed with utilities to work with the documents.#RedisDAO
A class that is used for connecting to a Redis Cluster or Sentinels
allowing for a simpler interface above Redis client.
Package: malloctag-tools
malloc-tag toolsThis README describes the Python-based tools to postprocess malloc-tag JSON snapshots:mtag-json2dotmtag-postprocessHow to installInstalling these utilities frompypiis really simple:pip3 install --upgrade malloctag-toolsRenderingA basic step to enable the visual inspection of the results of a malloc-tag instrumented application is to use
themtag-json2dotutility on the output JSON snapshots:mtag-json2dot --output nice-picture.svg  <malloc-tag-snapshot-file.json>Check the top-level README for example of generated SVG output.
Note that despite the namemtag-json2dotcan produce a variety of output file, supported by the Graphviz engine: .dot, .svg, .svgz, .jpeg, .png, etc.PostprocessIt might happen that inside your C/C++ application you have several threads running the same code.
In this case the pure snapshot provided by the malloc-tag framework (where 1 thread means 1 tree) can be hard to read/follow.
In such cases you might want to aggregate together all memory operations done by hese identical threads.The toolmtag-postprocessmakes this very simple. An example usage follows.Let's assume you need to aggregate the memory alloc/frees done by all threads having the prefixMyThreadPrefix.
First of all create a suitable configagg_config.json:{
    "comment": "This is a simple example of postprocessing rule",
    "rule0": {
        "aggregate_trees": {
            "matching_prefix": "MyThreadPrefix/*"
        }
    }
}Then launch the postprocessing utility:mtag-postprocess  --output post-process-out.json --config agg_config.json    <malloc-tag-snapshot-file.json>The output file is a JSON file with the same identical format used by malloc-tag C++ library.
This allows to easily chain and combine different post-processing steps.The post-processed JSON file can then be used as input of themtag-json2dotutility.
As an example check this picture:And compare it against the non-aggregated picture:You can see the configuration file used to produce such picture with themtag-postprocesstoolhere.
Package: mallu
malluThis project is a python module for making machine learning workflow easier than ever before.InstallationRun the following to install:'''python
pip install mallu
'''Usage'''pythonimport mallu as mlfrom mallu import santa as sanfrom mallu import model as mlmRull All Machine Learning Classificatin alogorithms at once and see the resultsRunAll(models,data,phase='',scores=None,trained_models = {},use_params=False)Feature Scale your data OHE_features refers to one hot encoded features. OHE_features are to be listed to avoid themFeatureScale(data,OHE_features,scaler='MinMaxScaler')'''About AuthorSanto K Thomas, who had completed Post-Graduate Diploma on Data Science and Enginneering from Great Lakes (Great Learning), India
Package: malmoenv
# MalmoEnv #MalmoEnv is an OpenAI “gym” Python Environment for Malmo/Minecraft, directly implemented Python to Java Minecraft.A Python “gym env” can be created and used to run an agent in a Malmo mission. Each such env has a remote Minecraft instance
associated to it (by DNS name or IP and Port). For multi-agent missions, the first agent’s (role 0) Minecraft
client instance is used as a coordinator to allow all agents to rendezvous on mission starts (i.e. on env resets).As it’s pure Python, you just need this one package, its direct dependencies and (Java) Minecraft! Example missions, including some from the 2018 MarLo competition can be found in the “missions” directory.## Examples of use: ##Install dependencies:Java8 JDK ([AdoptOpenJDK](https://adoptopenjdk.net/)), python3, gitpip3 install gym lxml numpy pillowTo prepare Minecraft (after cloning this repository withgit clone https://github.com/Microsoft/malmo.git):cd malmo/Minecraft(echo -n “malmomod.version=” && cat ../VERSION) > ./src/main/resources/version.propertiesRunning a single agent example mission (run each command in different cmd prompt/shells - use launchClient.bat on Windows):./launchClient.sh -port 9000 -envor (On Windows)launchClient.bat -port 9000 -env(In another shell)cd malmo/MalmoEnvoptionally runpython3 setup.py installpython3 run.py –mission missions/mobchase_single_agent.xml –port 9000 –episodes 10A two agent example mission (run each command in different cmd prompt/shells):./launchClient.sh -port 9000 -env./launchClient.sh -port 9001 -envIn the two agent case, running each agent in it’s own shell, the run script (for agents other than the first) is given two ports
- the first for the mission coordinator and a second (port2) for the other agent’s Minecraft:python3 run.py –mission missions/mobchase_two_agents.xml –port 9000 –role 0 –experimentUniqueId “test1”python3 run.py –mission missions/mobchase_two_agents.xml –port 9000 –port2 9001 –role 1  –experimentUniqueId “test1”## Running multi-agent examples using multiple Python threads: ##python3 runmultiagent.py –mission missions/mobchase_two_agents.xml## Installing with pip ##MalmoEnv is available as a pip wheel.If you install withpip3 install malmoenvthen you can download the Minecraft mod
(assuming you have git available from the command line) with:python3 -c “import malmoenv.bootstrap; malmoenv.bootstrap.download()”The sample missions will be downloaded to ./MalmoPlatform/MalmoEnv/missions.python3 -c “import malmoenv.bootstrap; malmoenv.bootstrap.launch_minecraft(9000)”can be used to start up the Malmo Minecraft Mod
listening for MalmoEnv connections on port 9000 after downloading Malmo.To test:cd MalmoPlatform/MalmoEnv; python3 runmultiagent.py –mission missions/mobchase_single_agent.xml
Package: malmoext
malmo-extensionmalmo-extension is a project that builds uponMicrosoft's Malmo Platform. It contains wrappers and utilities for more intuitive mission design. Additionally, logs are automatically generated for each mission, providing a medium for training AI. The project currently only supports Python (version 3.6 or above).InstallationBefore you are able to use this package, you must have Microsoft's Malmo Platform installed on your machine.Download the prebuilt Malmo Platform for Windows, Linux, or MacOSX, and unzip the directory.Create a new global environment variable called MALMO_XSD_PATH. Let it equal the full path to the Schemas/ directory inside of the project you unzipped for step 1.Install the malmo-extension package using pip:pip3 install malmoext==<VERSION>.*Note- The major version you choose should match the minor version of your Malmo Platform download. For example, if you downloaded version 0.37.* of the Malmo Platform, you should download version 37.* of the malmo-extension package.That's it! You are now ready to begin using this Malmo wrapper. Check out theMission Guidefor details on how to get started building and running Minecraft missions.
Package: malnet-core
malnet-coremalwarenet core packageInstallation$gitclonegit@git.kongkongss.com:malwarenet/malnet-core.git
$cdmalnet-core
$pipinstall-e.Getting Started</code></pre>
<h2>Runningthetests</h2>
<prelang="shell"><code>$cdmalnet-core
$pytest-sChangelogrelease ChangelogTODOsAuthorskongkong Jiang-Initial work-jykerLicenseThis project is licensed under the BSD License - see theLICENSEfile for details
Package: malnet-db
malnet-databasemalnet database packageInstallationrun malnet-db in docker$gitclonessh://git@git.kongkongss.com/malwarenet/malnet-db.git
$cdmalnet-db
$makedev# in docker `run as developer`$pipinstallmalnet-db-e.Getting StartedExamplewaitingfor...Running the tests$cdmalnet-db
$pytest-sChangelogrelease ChangelogAuthorskongkong Jiang-Initial work-jykerLicenseThis project is licensed under the MIT License - see theLICENSEfile for details