Saravanan666/pypi-org huggingface dataset:
Package: mandaw
MandawEngineA 2D Python GameEngine Made With PySDL2Discord:https://discord.gg/MPPqj9PNt3InstallationTo install:
Download the zip: Code->Download Zip
Extract it
Go into the extracted folder and Type in CMD or Terminal:pip install setup.pyCreating A WindowFirst, import mandawfrommandawimport*Call Mandawmandaw=Mandaw(title="Window!",width=800,height=600,bg_color=(0,0,0,255))To run it, typemandaw.loop()Creating A SquareHere is what we have so farfrommandawimport*mandaw=Mandaw(title="Window!",width=800,height=600,bg_color=(0,0,0,255))mandaw.loop()To create a square, typesquare=Entity(window=mandaw,width=20,height=20,x=0,y=0,color=(255,255,255,255))Center it withsquare.center()Then draw it@mandaw.drawdefdraw():square.draw()Like thisfrommandawimport*mandaw=Mandaw(title="Window!",width=800,height=600,bg_color=(0,0,0,255))square=Entity(window=mandaw,width=20,height=20,x=0,y=0,color=(255,255,255,255))square.center()@mandaw.drawdefdraw():square.draw()mandaw.loop()Basic Input In MandawEngineWhat we have so farfrommandawimport*mandaw=Mandaw(title="Input!",width=800,height=600,bg_color=(0,0,0,255))square=Entity(window=mandaw,width=100,height=100)square.center()@mandaw.drawdefdraw():square.draw()mandaw.loop()To Move the square, we can use the built inupdatefunction along withmandaw.input@mandaw.updatedefupdate(dt):ifmandaw.input.pressed[mandaw.input.keys["W"]]:square.y-=100*dtifmandaw.input.pressed[mandaw.input.keys["A"]]:square.x-=100*dtifmandaw.input.pressed[mandaw.input.keys["S"]]:square.y+=100*dtifmandaw.input.pressed[mandaw.input.keys["D"]]:square.x+=100*dtdthere, represents deltaTime
Package: mandel
Interactive Python for EosWhat Is IPyEosIPyEos is a Smart Contracts test framework for EosIPyEos is a Python binding for EosInstallationpython3 -m pip install ipyeosBuildinggit clone https://github.com/uuosio/ipyeos --branch main --recursive
cd eos
./build.sh
cd ..
./build.shTestingrun-ipyeos -m pytest -x -s pysrc/tests/test_micropython.py -k test_helloRun a Testnetrun-ipyeos -m ipyeos.main --data-dir dd --config-dir cd -p eosio --plugin eosio::producer_plugin --plugin eosio::chain_api_plugin --plugin eosio::producer_api_plugin --plugin eosio::history_api_plugin -e --resource-monitor-space-threshold 99 --http-server-address 127.0.0.1:8889 --block-interval-ms 1000 --contracts-console --access-control-allow-origin="*" --backing-store rocksdb --wasm-runtime eos-vm-jitLicenseMIT
Package: mandelbrot
This is a program which generates the Mandelbrot fractal set of a given width and height
for a given number of iterations.It uses Pillow, the Python Imaging Library fork to render the image and save it to a file.Sample Usage.To see all command line arguments, pass -h to the program.$ mandelbrot -h
usage: mandelbrot [-h] [-W WIDTH] [-H HEIGHT] [-n NITER] [-o OUTPUT]Mandelbrot fractal generatoroptional arguments:-h,--helpshow this help message and exit-WWIDTH,--widthWIDTHWidth of the image-HHEIGHT,--heightHEIGHTHeight of the image-nNITER,--niterNITERNumber of iterations-oOUTPUT,--outputOUTPUTName of output image fileBy default, the program generates a mandelbrot fractal image of size 640x480 pixels to a file named mandelbrot.png for 1000 iterations to a file named mandelbrot.png .$ mandelbrot
Creating mandelbrot set with size 640x480, #iterations=1000Here is an example of creating an image of size 1280x720 pixels with 5000 iterations and saving it to
mandelbrot_big.png$ mandelbrot -W 1280 -H 720 -n 5000 -o mandelbrot_big.pngThe package also includes the ‘mandelbrot_mp’ program which uses PyMP to improve performance by
parallel execution on multiple cores in the machine if available. The command line arguments remain the same.
Package: mandelbrot-orbit
This is a command line application to generate Mandelbrot Set point orbits.
An orbit is the series of values for the basic Mandelbrot Set formula:f(z) = z² + cPlease have a look at the repo on GitHub:https://github.com/josecelano/mandelbrot-orbitUsageGenerate orbit graph for point (-1.3,0) with 100 iterations:$ python3 -m mandelbrot_orbit -1.3 0 100
Executing mandelbrot-orbit version 1.0.0.
List of argument strings: ['-1.3', '0', '100']That command will generate an imagemandelbrot_orbit.pngFlexible invocationThe application can be run right from the source directory, in different
ways:Treating themandelbrot_orbitdirectory as a packageandas the main script:$ python3 -m mandelbrot_orbit zx zy num_iterations
Executing mandelbrot-orbit version 1.0.0.
List of argument strings: ['zx', 'zy', 'num_iterations']Usingsetup.py develop(documentedhere):# This installs the `mandelbrot-orbit` command linking back
# to the current checkout, quite neat for development!
$ python setup.py develop
...
$ mandelbrot-orbit zx zy num_iterationsUsing themandelbrot-orbit-runner.pywrapper:$ ./mandelbrot-orbit-runner.py zx zy num_iterations
Executing mandelbrot-orbit version 1.0.0.
List of argument strings: ['zx', 'zy', 'num_iterations']Installation sets up bootstrap commandSituation before installation:$ mandelbrot-orbit
bash: mandelbrot-orbit: command not foundInstallation right from the source tree (or via pip from PyPI):$ python3 setup.py installNow, themandelbrot-orbitcommand is available:$ mandelbrot-orbit -1.3 0 100
Executing mandelbrot-orbit version 1.0.0.
List of argument strings: ['-1.3', '0', '100']On Unix-like systems, the installation places amandelbrot-orbitscript into a
centralizedbindirectory, which should be in yourPATH. On Windows,mandelbrot-orbit.exeis placed into a centralizedScriptsdirectory which
should also be in yourPATH.
Package: mandelia
MandeliaApplication to visualize fractals of mandelbrot and julia.Installation from PyPIpip3installmandelia
python3-mmandeliaGet Latest from GithubBefore trying to build, you need to installMicrosoft C++ Build Toolspip3installgit+https://github.com/Dashstrom/mandelia
python3-mmandeliaInstall for developpementgitclonehttps://github.com/Dashstrom/mandelia.git
pip3install-rrequirements_dev.txt
python3setup.pytestpython3-mmandeliaStandalone for Windowsgitclonehttps://github.com/Dashstrom/mandelia.gitcdmandelia
pysetup.pyexe
.\dist\Mandelia.exePreviewMain windowExport WindowOperation WindowLanguages
Package: mandelviews
mandelviewsMandelbrot viewerCalculates Mandelbrot Set in pure Python, Visualizes with matplotlib.Repo built following the guidelines set out at the CCN template:https://github.com/flatironinstitute/ccn-templateFor more details on construction of the Mandelbrot set using the escape time
algorithm:https://complex-analysis.com/content/mandelbrot_set.htmlTo doAdd numba and cython for speedup comparisons.Holoviews visualization.
Package: manderageneral
manderageneralMissing description.This package and 6 other make upManderaGeneral.InformationPackageVerLatest ReleasePythonPlatformLvlTodoTestsmanderageneral0.0.12021-11-19 19:22 CET3.8,3.9Windows, Ubuntu10100 %Contentsmanderageneral├─Information├─Contents├─Installation├─Attributes└─Todo└─NoneInstallationCommandgenerallibrarypip install manderageneralYesAttributesNo module to get attributesTodoNo todos!Generated 2021-11-19 19:22 CET for commitmaster.
Package: mandic-panoptes
PANOPTESPanoptes is an automatic security group analyzer focused on reducing the amount of toiling. Mainly focused on AWS, built to be extensible in the future and support the big cloud providers out there.PrerequisitesPythonPython >= 3.6pipFor AWS usageAWS CLIinstalled and configured with your IAM credentials (if you want more customization useNamed Profiles)InstallationGet the latest version of the package from your terminal withpip:pipinstallmandic_panoptes--upgradeGetting StartedIf you want to see the available options:panoptesctlawsanalyze--helpGenerate an AWS analysis with human readable output:panoptesctlawsanalyze--region<YOUR_REGION_CODE>Generate an AWS analysis with an YML output and a Named Profile from AWS CLI:panoptesctlawsanalyze--region<YOUR_REGION_CODE>--profile<YOUR_PROFILE>--outputymlCheck outAWS Regionsto see available region codesWhitelistingManuallyIf you wish to whitelist IPs, not letting the analysis mark them asUnsafe, you can define a sample file with the desired IPs and CIDRs, like the following one:your_whitelist.txt111.111.111.111/32
123.123.123.123/32And then run the analysis with the parameter--whitelist:panoptesctl aws analyze --region <YOUR_REGION_CODE> --output yml --whitelist /PATH/TO/your_whitelist.txtAutomaticallyPanoptes generates automatically a list of IPs which it does not consider harmful from the desired cloud provider.AWS autogeneratedVPC rangesSubnet rangesPrivate IPs from EC2 VPC InstancesPublic IPs from EC2 VPC InstancesElastic IPsLimitationsThe Automatic AWS Whitelist feature can't whitelistpublicandprivateIP's fromEC2 Classic, so make sure that those instances have anElastic IPattached and their security groups are pointing to the newElastic IPattached instead of the default EC2 Classic ones.AuthorsGabriel Tiossi- CreatorBryan Cruz- Current maintainer
Package: mandos
MandosA pragmatic tool for cheminformatics and drug discovery.Example:cat"VREFGVBLTWBCJP-UHFFFAOYSA-N">compounds.txt
mandossearchmechanism,activity,atc,trial,predictedcompounds.txtIt will output a CSV file containing extended data and a simple text file of compound–predicate–object triples:CHEMBL661 (alprazolam)  positive allosteric modulator  CHEMBL2093872 (GABA-A receptor; anion channel)
CHEMBL661 (alprazolam)  activity at                    CHEMBL2093872 (GABA-A receptor; anion channel)
CHEMBL661 (alprazolam)  activity at                    CHEMBL2096986 (Cholecystokinin receptor)
CHEMBL661 (alprazolam)  activity at                    CHEMBL4106143 (BRD4/HDAC1)
CHEMBL661 (alprazolam)  predicted at                   CHEMBL2094116 (Serotonin 3 (5-HT3) receptor)
CHEMBL661 (alprazolam)  predicted at                   CHEMBL4430    (Cytochrome P450 17A1)
CHEMBL661 (alprazolam)  phase-3 trial for              D012559       (Schizophrenia)
CHEMBL661 (alprazolam)  phase-4 trial for              D016584       (Panic Disorder)
CHEMBL661 (alprazolam)  phase-4 trial for              D016584       (Anxiety Disorders)
CHEMBL661 (alprazolam)  has ATC L3 code                N05B          (ANXIOLYTICS)
CHEMBL661 (alprazolam)  has ATC L4 code                N05BA         (Benzodiazepine derivatives)See the docsfor more info.New issuesand pull requests are welcome.
Please refer to thecontributing guide.
Generated withTyrannosaurus.
Package: mandown
mandownMandown is a comic downloader and a CBZ, EPUB, MOBI, and/or PDF converter. It also supports image post-processing to make them more readable on certain devices similarly toKindle Comic Converter.FeaturesDownload comics fromsupported sitesSupports downloading a range of chaptersSupports multithreaded downloadingProcess downloaded imagesRotate or split double-page spreadsTrim bordersResize imagesConvert downloaded comics to CBZ, EPUB, MOBI, or PDFConvert any other CBZ, EPUB, MOBI, or PDF comic to CBZ, EPUB, MOBI, or PDFA library to easily do all of this from other Python scriptsUsageRunmandown --helpor see thedocsfor more information and examples.mandown get <URL>To convert the downloaded contents to CBZ/EPUB/MOBI/PDF, append the--convertoption. To apply image processing to the downloaded images, append the--processoption.mandown get <URL> --convert epub --process rotate_double_pagesTo download only a certain range of chapters, append the--startand/or--endoptions.Note:--startand--endareinclusive, i.e., using--start 2 --end 3will download chapters 2 and 3.To convert an existing folder or comic file without downloading anything (like a stripped-down version ofhttps://github.com/ciromattia/kcc), use theconvertcommand.mandown convert <FORMAT> <PATH_TO_COMIC>To process an existing folder without downloading anything, use theprocesscommand.mandown process <PROCESS_OPERATIONS> <PATH_TO_FOLDER>WherePROCESS_OPERATIONSis an option found from runningmandown process --help.InstallationInstall the package from PyPI:pip3 install mandownInstall the optional large dependencies for some features of Mandown:# graphical interface (GUI)
pip3 install PySide6Arch Linux users may also install the package from theAUR:git clone https://aur.archlinux.org/mandown-git.git
makepkg -siOr, to build from source:Mandown usespoetryfor dependency management.git clone https://github.com/potatoeggy/mandown.git
poetry install
poetry build
pip3 install dist/mandown*.whlSupported sitesTo request a new site, please file anew issue.https://blogtruyenmoi.comhttps://comicfury.comhttps://mangasee123.comhttps://manganato.comhttps://webtoons.comhttps://mangadex.orghttps://mangakakalot.comhttps://manhuaes.comhttps://readcomiconline.liBasic library usageSee thedocsfor more information and examples.To just download the images:importmandownmandown.download("https://comic-site.com/the-best-comic")To download and convert to EPUB:importmandowncomic=mandown.query("https://comic-site.com/the-best-comic")mandown.download(comic)mandown.convert(comic,title=comic.metadata.title,to="epub")
Package: mandrake
DescriptionVersion: 0.0.1
python 2.x,3.xAll Magic Methods Implement.You can easyly to implement all magic methods or part of themDonatePIX: +55 31 99101-8619ContactURL:http://estaleiroweb.com.brGIT:https://github.com/estaleiroweb/mandrakeInstalationpip install mandrakeUpgradepip install mandrake -upgradeUsefrommandrakeimportAllMethodsclassMyClass(AllMethods):...frommandrakeimportAttributeMethodsclassMyClass(AttributeMethods):def__init__(self):super().__init__()self._start_init()self.attr1=1self._end_init()def_set_value(self,val):self.__dict__['value']=val*2def_set_attr2(self,val):self.__dict__['attr2']=val*3c=MyClass()c.value=2c.attr1=2c.attr2=2c.attr3=2print({'value':{'check':hasattr(c,'value'),'val':c.value}})print({'attr1':{'check':hasattr(c,'attr1'),'val':c.attr1}})print({'attr2':{'check':hasattr(c,'attr2'),'val':c.attr2}})print({'attr3':{'check':hasattr(c,'attr3')}})'''Response:{'value': {'check': True, 'val': 4}}{'attr1': {'check': True, 'val': 2}}{'attr2': {'check': True, 'val': 6}}{'attr3': {'check': False}}'''MainMethodsAny classes bellow will inherit this class.It implement then__init__method thisvalueattribute.The children classes must be the methods_start_init()and_end_init()to define attributes of class or if wish, you can not use_end_init()permiting add any attribute to this objectMathMethodsImplement all Math magic methodsFunctionMethodsImplement all Function magic methodsLogicMethodsImplement all Logic magic methodsBinaryMethodsImplement all Binary magic methodsStringMethodsImplement all String magic methodsCastMethodsImplement all Cast magic methodsAttributeMethodsYou can creating_set_<attr>methods to assure the correct valueAllMethodsThe same all classes above
Package: mandrel
# Mandrel (python-mandrel) #Mandrel provides bootstrapping and configuration tools for consistent,
straightforward project config management.Mandrel is a highly idiosyncratic way to organize stuff and is ultimately
counterproductive.  The author and maintainer recommends against its continued
use.  This project is in maintenance mode only and the author cannot stress
enough the degree to which alternate approaches to bootstrapping should be
found.  Don’t use mandrel for new work.  Deprecate its use where you can.
(FWIW, the author prefers to drive configuration via environment variables,
generally speaking, and only use specialized file-based config with JSON or
YAML if the configuration needs are especially nuanced.)Use Mandrel to:bootstrap your python project configurationmanage configuration file location/accessmanage logging configuration and Logger retrievalSeparate projects can rely on Mandrel for these purposes, and when they’re
brought together (as eggs, for instance) to a single application, their
configuration can be managed simply in an easily-configurable way.# License #Copyright (c) 2012 Ethan Rowe <ethan at the-rowes dot com>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: mandrill
DeprecatedThis SDK is deprecated, and replaced by mailchimp-transactionalFind the current Mailchimp Transactional SDKs athttps://mailchimp.com/developer/tools/OverviewMandrill is a Python API client and suite of CLI-based tools for the Mandrill email as a platform service.The API client is comprehensive, but the CLI functionality is minimal at this time.Examples:
import mandrill
m = mandrill.Mandrill(‘YOUR_API_KEY’)
print m.users.ping()
–> “PONG!”CLI Examples:
mandrill setup
mandrill ping -c10
mandrill send -ffrom@example.com-tto@example.com-s “My Subject Line” < content.html
Package: mandrill-37
# Fork for python 3.7 supportMandrill is a Python API client and suite of CLI-based tools for the Mandrill email as a platform service.The API client is comprehensive, but the CLI functionality is minimal at this time.Examples:
import mandrill
m = mandrill.Mandrill(‘YOUR_API_KEY’)
print m.users.ping()
–> “PONG!”CLI Examples:
mandrill setup
mandrill ping -c10
mandrill send -ffrom@example.com-tto@example.com-s “My Subject Line” < content.html
Package: mandrill-erichurkman
Mandrill is a Python API client and suite of CLI-based tools for the Mandrill email as a platform service.The API client is comprehensive, but the CLI functionality is minimal at this time.Examples:
import mandrill
m = mandrill.Mandrill(‘YOUR_API_KEY’)
print m.users.ping()
–> “PONG!”CLI Examples:
mandrill setup
mandrill ping -c10
mandrill send -ffrom@example.com-tto@example.com-s “My Subject Line” < content.html
Package: mandrill-hypocampus
Mandrill is a Python API client and suite of CLI-based tools for the Mandrill email as a platform service.The API client is comprehensive, but the CLI functionality is minimal at this time.Examples:
import mandrill
m = mandrill.Mandrill(‘YOUR_API_KEY’)
print m.users.ping()
–> “PONG!”CLI Examples:
mandrill setup
mandrill ping -c10
mandrill send -ffrom@example.com-tto@example.com-s “My Subject Line” < content.html
Package: mandrill-logger
Mandrill Logger is a simple app to log the communication with mandrill.
Sometimes we want to log the emails on our end instead of giving users access to the mandrill-account. This also allows us to follow up on user emails that are being rejected or marked as spam.# Installationpip install mandrill-logger# Getting Started## Add to INSTALLED_APPS*‘mandrill_logger’,## Migratepython manage.py migrate mandrill_logger## Implement Mandrill Logger
After you have sent your email, simply send the email object to log_email:from mandrill_logger.utils import MandrillLogger
mandrill_logger = MandrillLogger()
mandrill_logger.log_email(email)## Log into Admin to view the logs
Simply log in to Django Admin to view the logs created.
Package: mandrill-python
Mandrill is a Python API client and suite of CLI-based tools for the Mandrill email as a platform service.The API client is comprehensive, but the CLI functionality is minimal at this time.Examples:
import mandrill
m = mandrill.Mandrill(‘YOUR_API_KEY’)
print m.users.ping()
–> “PONG!”CLI Examples:
mandrill setup
mandrill ping -c10
mandrill send -ffrom@example.com-tto@example.com-s “My Subject Line” < content.html
Package: mandrill-really-maintained
NoteThe upstream upstream version of mandrill-api-python appears maintained with
reasonable PRs unmerged for over a year. This fork exists to merge such PRs
until Mailchimp manage to get around to maintaining their own software.
Help with code review really welcomed.Mandrill is a Python API client and suite of CLI-based tools for the Mandrill
email as a platform service.The API client is comprehensive, but the CLI functionality is minimal at this time.Examples:import mandrill

client = mandrill.Mandrill('YOUR_API_KEY')
print client.users.ping()CLI Examples:mandrill setup
mandrill ping -c10
mandrill send -f from@example.com -t to@example.com -s "My Subject Line" < content.htmlReleasingInstall extra dependencies;Create source distribution;Upload to pypi repository:$ pip install .[releasing]
$ bumpversion patch ./VERSION --commit --tag --message 'Releasing {new_version}'
$ git push --tags
$ python setup.py sdist
$ twine upload dist/*
Package: mandy
“mandy” is a simple com(mand)-line option parser (see the tenuous name link there?)It uses the standard optparse library, but makes common functionality
easy to write (and read!). Argument type checking is trivial, and you
can supply your own validation actions to further check
application-specific logic.An illustrative example:import mandy
class Main(mandy.Command):
        # you should define `configure` and `run` methods for your
        # command to work

        def configure(self):
                # --name (string)
                self.opt('name', default='(unnamed)', desc="set the name")

                # -n [1-5], default of 1
                self.opt('num-things', int, short='n', long=None, default=1,
                         action=between_one_and_five, desc="num items (1-5)")

                # --frob or --no-frob
                self.opt('frob', bool, default=True, desc="use frobbing")

                # --debug (--no-debug is not added since opposite is False)
                self.opt('debug', bool, default=False, opposite=False,
                         desc="Set Debug mode")

                # --do-thing=yes/no (explicit value)
                # (on/off, true/false, yes/no and 1/0 all work for boolean values)
                self.opt('do-thing', bool, default=False, explicit=True, desc="yes/no")

                # arg is the same as opt, but without long/short options,
                # and optional default values
                # this makes:
                #    command [options] foo1 foo2 [bar] baz
                self.arg('foo1')
                self.arg('foo2', bool)
                self.arg('bar', default=None)
                self.arg('baz')

        def run(self, opts):
                # opts includes your named options and arguments as attributes
                print "you set name to %s" % (opts.name)

                # since you can have options that aren't valid python attributes,
                # you can also treat opts as a dict:
                print "and there are %s things" % opts['num-things']

def between_one_and_five(num):
        if not (num >= 1 and num <= 5):
                raise RuntimeError("number must be between one and five")

if __name__ == '__main__':
        Main()this produces the following when run with –help:Usage: example.py [options] foo1 foo2 [bar] baz

Options:
  -h, --help           show this help message and exit
  --name=NAME          set the name
  -n N                 num items (1-5)
  --frob               use frobbing
  --no-frob
  --debug              Set Debug mode
  --do-thing=DO_THING  yes/no