Saravanan666/pypi-org huggingface dataset:
Package: manim-pptx
MANIM-PPTXA Manim addon which exports the video as a powerpointTable of ContentsInstallationUsageExampleContributingCreditInstallationpip install manim-pptxUsageTo export as pptx make your scene class inherit fromPPTXSceneYou can then callself.endSlide()to add all animations since the lastendSlide().TheendSlidemethod has also two arguments:loop- loops the whole Slide.autonext- automatically advances to the next slide when the current slide is done animatingnotes- notes which should be displayed on the created Slideshownextnotes- show the notes of the next slide in the notes of the current slideExamplefrommanim_pptximport*frommanimimport*classTestScene(PPTXScene):defconstruct(self):t=Tex("Hello World!")self.play(Write(t,run_time=2))self.endSlide()c=Circle(radius=3)self.play(Create(c))d=Dot()d.move_to(c.get_start())self.play(Write(d))self.endSlide(autonext=True,shownextnotes=True)self.play(MoveAlongPath(d,c))self.endSlide(loop=True,notes="Next Animation displays Bye")self.play(*[FadeOut(m)forminself.mobjects])t2=Tex("Bye!")self.play(Write(t2,run_time=1))self.endSlide()ContributionFeel free to contribute and create pull requests.CreditCredit to bothmanim-presentationandmanim-pptxwhere i stole some good ideas and a bit of code
Package: manim-presentation
manim-presentationTool for live presentations usingmanimInstallpip install manim-presentation opencv-pythonUsageUse the classSlideas your scenes base classfrommanim_presentationimportSlideclassExample(Slide):defconstruct(self):...callself.pause()when you want to pause the playback and wait for an input to continue (check the keybindings)Wrap a series of animations betweenself.start_loop()andself.stop_loop()when you want to loop them (until input to continue)frommanimimport*frommanim_presentationimportSlideclassExample(Slide):defconstruct(self):circle=Circle(radius=3,color=BLUE)dot=Dot()self.play(GrowFromCenter(circle))self.pause()self.start_loop()self.play(MoveAlongPath(dot,circle),run_time=2,rate_func=linear)self.end_loop()self.play(dot.animate.move_to(ORIGIN))self.pause()self.wait()Youmustend yourSlidewith aself.play(...)or aself.wait(..)To start the presentation usingScene1,Scene2and so on simply run:manim_presentation Scene1 Scene2...KeybindingsDefault keybindings to control the presentationKeybindingActionRight ArrowContinue/Next SlideLeft ArrowPrevious SlideRRe-Animate Current SlideSpacebarPlay/PauseQQuitYou can run theconfiguration wizardwithmanim-presentation-wizardAlternatively you can specify different keybindings creating a file namedmanim-presentation.jsonwith the keys:QUIT_KEYCONTINUE_KEYBACK_KEYREWIND_KEYandPLAYPAUSE_KEYmanim-presentationusescv2.waitKeyEx()to wait for keypressesRun ExampleClone this repositorygit clone https://github.com/galatolofederico/manim-presentation.git
cd manim-presentationCreate a virtualenvvirtualenv --python=python3.7 env
. ./env/bin/activateInstallmanimandmanim-presentationpip install manim manim-presentation opencv-pythonRender the example scenemanim -qh example.pyRun the presentationmanim-presentation ExampleContributions and licenseThe code is released as Free Software under theGNU/GPLv3license. Copying, adapting and republishing it is not only consent but also encouraged.For any further question feel free to reach me atfederico.galatolo@ing.unipi.itor on Telegram@galatolo
Package: manim-rubikscube
Manim RubiksCubeThis plugin forManim Communityprovides an implementation of the classic Rubik’s Cube.InstallationThis plugin isavailable on PyPi.Usage of this plugin assumes that Python and Manim are both correctly installed. Manim is listed as a dependency, but no version is specified. This is because the plugin will work with any version of Manim Community that does not have breaking changes to the plugin. Some releases of this plugin have been tested with certain versions of Manim. To see what versions of Manim are confirmed to be compatible with this plugin (to the best of my testing),see Releases.By no means is this exclusive. Most releases of this plugin will work, more or less, on all versions of Manim Community.To install the RubiksCube plugin run:pipinstallmanim-rubikscubeTo see what version of manim-rubikscube you are running:manim-rubikscubeorpiplistImportingTo use the RubiksCube, you can either:Addfrom manim_rubikscube import *to your scriptFollow theManim steps for using pluginsOnce the RubiksCube is imported, you can use the RubiksCube as any other mobject.Documentation and ExamplesDocumentation and examples areavailable here.LicenseThis plugin is licensed under the MIT license. See theLICENSEfile for more information.
Package: manim-sequence-diagram
Manim Sequence DiagramsInstallationFollowing manim's guide on how to install plugins onthis guide, but TL;DR is:runpipinstallmanim-sequence-diagram
manimcfgwritethis will generate amanim.cfgfile somewhere, you'll need to add to it this package[CLI]
enable_wireframe = False
dry_run = False
tex_template =
plugins = manim_sequence_diagramYou'll know if you have it working if you runmanimplugins-land it shows something likeManim Community v0.16.0.post0

Plugins:
 • manim_sequence_diagramGenerate Examplesmanim-pqldocs/examples.pyClientRaceDatabaseNetworkAlthough one day, we'd like to support proper sequence diagram syntax, for now, it's all in python.Here's a quick example of how it worksfrommanimimport*frommanim_sequence_diagramimport*classClientRaceDatabaseNetwork(MovingCameraScene):defconstruct(self):actor_client=SeqActor(name="client")actor_delivery=SeqActor(name="delivery")actor_server=SeqActor(name="server")actor_db=SeqActor(name="database")foranimeinSeqAction.introduce_actors(actor_client,actor_server,actor_delivery,actor_db):self.play(anime)# Move the camera yourself!self.play(self.camera.frame.animate.move_to(DOWN*3))foranimeinSeqAction.subject_gives_gift_to_target(subject=actor_client,gift=SeqObject(name="async getData"),target=actor_delivery):self.play(anime)DevelopmentYou'll need poetry to properly get this to work, checkout their guideherefor how to install. Once you do, do the following to setupmakeinstall
makedevIn order to generate examples, you'll need to setup your manim cfg
Package: manim-studio
Manim StudioManim Studio is a Manim plugin to live-preview animations rendered with Cairo, and also it's useful for many other things!FeaturesLive preview Manim animations made with Cairo.Work with Manim Mobject using the GUI.Export to a Python file the code of the animation.A live cell to interactively insert code into the scene.Create animations with the GUI.Create animations with AI.Collaborate with other people in the same project.Requirements to installInstall withgitInstalled Python 3.Installed Manim.Installed PyQt6.Installed Git.Install withpippipinstalls all the requirements automatically, but you must have Python 3 installed.Steps to useThe documentation is availablehere, so there you can learn how to use Manim Studio.Warning:The documentation is a work in progress, so it may not be complete. ⚠️ContributingIf you want to contribute to Manim Studio, you can do it by forking the repository and making a pull request. You can also contribute by reporting bugs or suggesting new features.LicenseThis project is licensed under the MIT License. SeeLICENSEfor more details.
Package: manim-tikz
Manim TikzConverts Tikz markup code into anSVGMobjectfor use inmanim.Installationmanim-tikzrequiresmanimversion0.17.0and above, which uses thesvgelementslibrary for SVG rendering, as this changes how SVG images are rendered.manim-tikzbe installed from PyPI usingpip:pipinstallmanim-tikzUsagemanim-tikzadds the subclassTikzto themanimclassSVGMobject, as well as the subclassTikzTemplateto themanimclassTexTemplatebehind the scenes forTikzto use.To convert Tikz markup code into anSVGMobject, importTikzfrom themanim-tikzlibrary:frommanimimport*frommanim-tikzimportTikzThen when constructing aSceneinmanim, define aTikzobject like so:tikz_image=Tikz(code,[packages],[libaries],[tikzset],preamble,use_pdf)code: The Tikz code to render, as astring.[packages](optional): A list ofstringfor additional LaTeX packages to include in the preamble, added using the\usepackagecommand. For example, if you include any special fonts or symbols in your Tikz picture, likemarvosym.[libraries](optional): A list ofstringfor any Tikz libraries you require to render your Tikz picture, such aspositioning,arrows.metaorcalc. These will be added to the preamble using the\usetikzlibrarycommand.[tikzset](optional): A list ofstringfor any style definitions and similar you want to define before the Tikz picture (see the Tikz/PGF packagemanualfor further details). Added to the preamble using the\tikzsetcommand.preamble(optional): Astringfor any other commands you wish to add to the preamble, such as setting up package options. Be careful, making a mistake here can easily result in errors!use_pdf(optional,Falseby default): By default,manim-tikzwill render the Tikz markup to a DVI file, which is then imported intomanim. However, some drawing commands generated by Tikz do not render properly in DVI and require postscript (PDF). Setting this option toTruewill render to a PDF file instead, so use this option if there are problems with the output.Examplefrommanimimport*frommanim_tikzimportTikzclassTikzScene(Scene):defconstruct(self):test_tex=Tikz(r"\draw[magenta, line width=10mm, fill=blue] (0,0) rectangle(1,1);",use_pdf=False)self.add(test_tex)AnimationLike any otherSVGMobject,manimcan animate these images using the same animation functions. You might get some rather bizarre results depending on how the drawing order has been interpreted, but they generally look nice.Future implementations of this plugin may try to include animated Tikz images using theanimatelibrary in Tikz, I'll have to look further into howmanimhandles animated SVG images.IssuesLine ThicknessAt the moment it seems that the default line thickness for TikZ is almost imperceptibly thin when rendered inmanim. Not sure why this happens, but you may want to consider increasingline widthin your Tikz images.Fadings, Gradients, Shadows etc.I haven't yet tested the library using any of these Tikz features, so I don't know how well they will work inmanim. I'll look at making some tests in the future.
Package: manim-voiceover
Manim VoiceoverManim Voiceover is aManimplugin for all things voiceover:Add voiceovers to Manim videosdirectly in Pythonwithout having to use a video editor.Record voiceovers with your microphone during rendering with a simple command line interface.Develop animations with auto-generated AI voices from various free and proprietary services.Per-word timing of animations, i.e. trigger animations at specific words in the voiceover, even for the recordings. This works thanks toOpenAI Whisper.Here is a demo:https://user-images.githubusercontent.com/2453968/198145393-6a1bd709-4441-4821-8541-45d5f5e25be7.mp4Currently supported TTS services (aside from the CLI that allows you to records your own voice):Azure Text to Speech(Recommended for AI voices)Coqui TTSgTTSpyttsx3Check out the documentation for more details.InstallationInstallation instructions in Manim Voiceover docs.Get startedCheck out the docs to get started with Manim Voiceover.ExamplesCheck out the example gallery to get inspired.TranslateManim Voiceover can use machine translation services likeDeepLto translate voiceovers into other languages.Check out the docs for more details.
Package: manimxyzmove
XYZPathBasic descriptionThis package contains theMoveAlongXYZPathobject. It is a simple utility that allows for moving across a path defined by an array of vectors (optionally with timestamps).MotivationI had a few simulations that returned data in this form. It seemed like an obvious use case but all high level classes in manim required really backwards ways of implementing (afaik, maybe I just missed something).Future worksI might add some interpolation options to the object to allow for smooth movement with less samples.DisclaimerThis is the first project I've packaged. It's mostly for personal learning.
Package: maninex
Well, “manager” might be stretching it a bit. The idea is not having to
manually look up and install updates when using a Chromium-like browser
that doesn’t use the WebStore plugin to handle these things. This is
done by employingthismethod which uses JSON preference files to point to local extension
packages.InstallationIf you’re on ArchLinux, you can install maninex via the Arch User Repository. Use your favorite AUR helper or simply git:git clone https://aur.archlinux.org/maninex.git
cd maninex
makepkg -sriOn other distros you can use pip to install maninex and handle dependencies (one: requests).pip install maninexManinex won’t run on Python versions lower than 3.5.Usageusage: maninex [option]

options:
  -h, --help        show this help message and exit
  -c, --clean       clean up (i.e. remove) backed up extension files
  -i, --install     install all extensions that aren't already installed
  -l, --list        list all extensions and their current status
  -p, --print-skel  print the contents of a skeleton config file to stdout
  -r, --remove      remove all extensions that are installed but not in the
                    config file
  -s, --scan        scan for installed extensions not in the config file and
                    add them to the config file
  -u, --update      update all extensions

set up paths and extensions in maninex.confManinex depends on a configuration file named “maninex.conf” for which
it will look in three places: First in $XDG_CONFIG_HOME, then in
$HOME/.config and finally in the same directory that the script is in.maninex--print-skelprints out a base config file with some basic
instructions. Therefore, to get started you can runmaninex--print-skel>~/.config/maninex.conf.Edit maninex.conf and add extensions by their ids under the [extension]
header. You can use the scan option to add extensions you manually
installed before (see below). To find out an extension’s id, search for
the it on theChrome
WebStore.
The final part of the extension page’s URL is the id. For example,thisis the url of uBlock Origin and its id is therefore
“cjpalhdlnbpafiamejdnhcphjbkeiagm”. Every extension id should occupy one
line under the [extension] header. Optionally you can prepend an
identifier for the extension like this:uBlock Origin = cjpalhdlnbpafiamejdnhcphjbkeiagmThis is recommended as it will make messages more descriptive, for
exampleExtension "cjpalhdlnb…" installed.will becomeExtension "uBlock Origin" installed.Runmaninex-ito install all the extensions in the config file. Runmaninex-uto look up and download updates.Other functionality–cleanThis will remove old extension files that were backed up during previous
updates.–listList all extensions in the config file and whether or not they are
installed already.–scanScan the extension directory and add all extensions to the config file
that aren’t included already.–removeThe opposite of scan. Remove all extensions that aren’t included in the
config file.
Package: manip
File manipulationExplanation:The idea is to transform a function that transform one text into another text and call it transforming the desired files with that function.This is not a package made thinking about being used in a project, rather it's a package made to make a programmer's life easier.INSTRUCTIONS:Decorator that transforms an[str] = function( [str]:text, *args, **kwargs )into an function that apllies itself into a folder.The default values for the new function can be set at the decorator.at- regex to search target filespath- folder with files to change (start folder on recursive mode)recursive- makes the function call itself on all folders inside the start folderignore- ignore changes on file if function returns any error and continues to the next filetest- creates a new file with the changes for test (NOT recommended with: recursive = True)prefix/posfix- strings added before and after test fileslog- shows on console stepsDefault values on decorator are set to avoid writting over important files with broken functions.!! ATENTION !!MAKE SURE TO ALWAYS TEST YOUR FUNCTIONS BEFORE APPLYING ANY TRUE CHANGES.Simple functions:Imagine you want to comment all prints in your project:from manip import manip

@manip()
def comment_print(text):
    return text.replace('print(', '# print(')Now we can call the function on a folder like:comment_print(path='./target')
comment_print(path='./target', test=False) # to save changes on original filesIf you wanna just call a single line function on the command line you can import manipulate:from manip import manipulate

manipulate(lambda text: text.replace('print(', '# print('), path='./target', test=False)up to change whole files with json data, maybe:from manip import manip
import json

@manip(at='.json$')
def join_props(text, prop1='key', prop2='value', new_prop='new'):
    obj = json.loads(text)
    obj[new_prop] = (prop1, prop2)

    del(obj[prop1])
    del(obj[prop2])

    return json.dumps(obj)More info:GitHub<style>
p {
    font-size: 19px;
}

.params {
    display: flex;
    flex-direction: column;
    margin-left: 3%;
    font-size: 17px;

    margin-bottom: 15px;
}
</style>
Package: maniphono
maniphonoA Python library for the symbolic manipulation of phonological entitiesInstallationIn any standard Python environment,maniphonocan be installed with:$pipinstallmaniphonoIntroductionmaniphonois a library for the symbolic manipulation of phonological units.A detailed description is providedhere(devel).Author and citationThe library is developed by Tiago Tresoldi (tiago.tresoldi@lingfil.uu.se).The author has received funding from the Riksbankens Jubileumsfond
(grant agreement ID:MXM19-1087:1,Cultural Evolution of Texts).During the first stages of development, the author received funding from the
European Research Council (ERC) under the European Union’s Horizon 2020
research and innovation programme (grant agreement
No.ERC Grant #715618,Computer-Assisted Language Comparison).If you usemaniphono, please cite it as:Tresoldi, Tiago (2023). Maniphono, a library for the symbolic manipulation of phonological
entities. Version 0.4. Uppsala: Uppsala Universitet.In BibTeX:@misc{Tresoldi2021maniphono,author={Tresoldi, Tiago},title={Maniphono, a library for the symbolic manipulation of phonological entities. Version 0.4},howpublished={\url{https://github.com/tresoldi/maniphono}},address={Uppsala},publisher={Uppsala Universitet}year={2023},}
Package: manipulating-data
manipulating_datamanipulating_data is a package for slicing and dicing Python data structures,
such as dictionaries, sets, or pandas DataFrames.FeaturesConveniently examine the contents of dictionaries by subsetting them in a fashion similar to list slicing.Determine whether two pandas DataFrames are equal (have the same values in the same columns).Find the intersection of an arbitrary number of sets.Combine dictionaries with parts of the data into a larger dictionary with all of the data.Determine the intersection (shared columns) of an arbitrary number of pandas DataFrames.Installationpip install manipulating_dataUsageimport manipulating_data as md

md.intersection_of_n_sets( [ {'a', 'b', 'c'}, {'a', 'b', 'd'}, {'a', 'b', 'e'} ] )
	
	{'a', 'b'}

md.slicing_diction( { 'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5}, stop = 2 )
	
	{'a': 1, 'b': 2}

md.concat_diction( [ {'USA' : 73899, 'Canada' : 89743}, {'USA' : 85876, 'Canada' : 56899} ] )
	
	{'Canada': [89743, 56899], 'USA': [73899, 85876]}ContributingContributions from the community to improve this project are welcomed. To contribute, please follow these steps:Fork this repository.Make your changes.Create a pull request.We appreciate your help in making this project better!LicenseMIT License
Package: manipulation
Robotic ManipulationPerception, Planning, and ControlThis is the companion software for the textbook available at:https://manipulation.mit.edu/To cite this software (or the corresponding textbook), please use:Russ Tedrake.Robotic Manipulation: Perception, Planning, and Control (Course
Notes for MIT 6.421).Downloaded on [date] fromhttps://manipulation.mit.edu/.
Package: manipulator
Python data manipulation made braindead.Installationpip install manipulatorUsagemanipulatormainly exposes three functions,get,update, andset.getretrieves data,updatetransforms it based on its form, andsettransforms it by simply resetting. Transformations can be applied in place or
on a copy. The default is in place, because copying is expensive. If you want a
copy of the data, set the keyword argumentin_placetoTrue.It uses a query “language” not unlike CSS, albeit much, much simpler. The only
two entities in this “language” are IDs—denoted by#—and Classes—denoted by.. IDs are unique, whereas Classes are collections of all leaf values that
conform.A few motivating examples (a more exhaustive list can be found in thetestdirectory):importmanipulatormanipulator.get({"k":[1,[2],3]},"#k #1 #0")# => 2 (note how list indices are coerced into integers)manipulator.get([{"k":"v"},{"k":"v2","k2":"v3"}],".k")# => ["v", "v2"]manipulator.get([{"k":"v"},{"k":{"a":[{"k":10},{"k":11}]}}],".k #1 #a .k")# => [10, 11]manipulator.set({"k":[1,[2],3]},"#k #1 #0",3)# => {"k": [1, [3], 3]} (in place)manipulator.set({"k":[1,[2],3]},"#k #1 #0",3,in_place=False)# => {"k": [1, [3], 3]} (will create a copy of the data)manipulator.set([{"k":"v"},{"k":{"a":[{"k":10},{"k":11}]}}],".k #1 #a .k",100)# => [{"k": "v"}, {"k": {"a": [{"k": 100}, {"k": 100}]}}]manipulator.update({"k":[1,[2],3]},"#k #1 #0",lambdax:x-1)# => {"k": [1, [1], 3]} (in place, use in_place=False to copy)manipulator.update([{"k":"v"},{"k":{"a":[{"k":10},{"k":11}]}}],".k #1 #a .k",lambdax:x+1)# => [{"k": "v"}, {"k": {"a": [{"k": 11}, {"k": 12}]}}]That is all.Have fun!
Package: manipuldate
# ManipuldateDate/Time/DateTime Manipulation Done Right<sub><sub>Still In Active Development - Not Production Ready</sub></sub>### Badges[![Build Status](https://travis-ci.org/JenkinsDev/manipuldate.svg?branch=master)](https://travis-ci.org/JenkinsDev/manipuldate)[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/JenkinsDev/manipuldate/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/JenkinsDev/manipuldate/?branch=master)## Installation`pip install manipuldate`## Trivial UsageHere I will just show a very trivial usage, for more in-depth usage options check out our Documentation (Coming Soon TM)```pythonfrom manipuldate import Manipuldatetoday = Manipuldate.today()# Let's go ahead and print out our current date in a human readable stringprint(today.strftime("%m/%d/%Y"))# Now let's get tomorrow's datetomorrow = Manipuldate.tomorrow()print(tomorrow.strftime("%m/%d/%Y"))# Is tomorrow a weekend?if tomorrow.is_weekend():print("Partayyyyyy")else:print("Get to work!")# Oh! Let's add a month to tomorrow.next_month = tomorrow.add_month()print(next_month.strftime("%m/%d/%Y"))```
Package: manipylator
ManipylatorA Python-driven manipulator controllerManipylatoris Python-based controller used to run a motorized manipulator through a user-friendly graphical interface.
This package offers several mechanical assays to physically manipulate a sample.In particular,Manipylatorprovides in real time controller to exert controlled forces through a cantilever-based force sensor and actuator.Manipylatorcurrently supports PI (Physik Instrumente) motorized stages to drive the manipulator.
Package: mani-skill2
ManiSkill2 is a unified benchmark for learning generalizable robotic manipulation skills powered bySAPIEN.It features 20 out-of-box task families with 2000+ diverse object models and 4M+ demonstration frames. Moreover, it empowers fast visual input learning algorithms so thata CNN-based policy can collect samples at about 2000 FPS with 1 GPU and 16 processes on a workstation. The benchmark can be used to study a wide range of algorithms: 2D & 3D vision-based reinforcement learning, imitation learning, sense-plan-act, etc.Please refer ourdocumentationto learn more information.