Saravanan666/pypi-org huggingface dataset:
Package: kivy-garden.ebs.core
Core Widgets for EBS Kivy GUIs and WidgetsThis library provides a collection of reusable widgets and pure python
widget-infrastructure. These are used internally by the EBS GUI stack.
Most things here are trivially reusable and easily replicated in kv
directly.It is unlikely you'd ever want to use this library directly. In most
cases, it would be simpler to just use this library as a collection of
examples and reimplement elements as needed.I'm just parcelling it out into its own package for convenience and to
be able to publish other more complex widgets. Other EBS kivy widgets
assume that this library is available, and when they do, the dependency
will be explicit in the other widget's setup.py.Seehttps://kivy-garden.github.io/flower/for the rendered flower docs.Please see the gardeninstructionsfor
how to use kivy garden flowers.Why Pure PythonEBS widgets are generally designed to be used in a context that has a
twisted reactor, and need to interact with existing twisted codebases.
kv can certainly do the job in most (if not all) cases, but I find it
more comfortable having everything in python.Doing this does have its drawbacks :It results in much more verbose code.It is entirely possible it is slower than kv (I have not checked)Getting good examples is harder, and the chorus of 'Use kv instead'
is unavoidable.It does have (mostly subjective) advantages too, though :Not having to think in kv, especially when the gui is only a small
part of a much larger application and a lot of the gui is dynamically
generated.Explicit is better than implicit. Being able to easily look through
the bindings has made tracking down strange behaviors easier.Library ContentsThe core widget infrastructure provided by this library includes:Colors :Color Manipulation Utilitiescolor_set_alphaGradientGuiPalette classBackgroundColorMixin and its many derivatives:ColorBoxLayoutRoundedColorBoxLayoutother color primitives to be added as neededLabels :WrappingLabelColorLabelSelfScalingLabelSelfScalingColorLabelImages :SizeProofImageBleedImageButtons :BleedImageButtonRoundedBleedImageButtonAnimations :CompositeAnimationManagerDerived EBS Kivy WidgetsPublished Derived WidgetsMarqueeLabelCefBrowserClocksSimpleDigitalClockImageGalleryPDFPlayerUnrelated other widgets (no kivy_garden.ebs dependency)ProgressSpinnerCIEvery push or pull request run theGitHub ActionCI.
It tests the code on various OS and also generates wheels that can be released on PyPI upon a
tag. Docs are also generated and uploaded to the repo as well as artifacts of the CI.TODOadd your codeContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.
Package: kivy-garden.ebs.gallery
Gallery Widget for KivyThis package provides half of a simple Image Gallery / Carousel widget for
Kivy. The other half is provided by the EBS linuxnode GalleryManager class.Most non-EBS applications would not benefit from this widget. The functionality
provided here can just as easily be obtained by use of the Kivy ScreenManager
widget, which also considerably more flexible. The reason ScreenManager was not
used here is primarily because I hadn't seen ScreenManager yet when the Image Gallery
was first written. This widget may not be used in the future by the EBS Image Gallery,
and if it is not, it will no longer be maintained.This package is part of the EBS widget collection for Kivy. It is written in
mostly Python and depends on the EBS core widgets and widget infrastructure package.
For more information, seekivy_garden.ebs.coreSeehttps://kivy-garden.github.io/ebs.flower/for the rendered flower docs.Please see the gardeninstructionsfor
how to use kivy garden flowers.CIEvery push or pull request run theGitHub ActionCI.
It tests the code on various OS and also generates wheels that can be released on PyPI upon a
tag. Docs are also generated and uploaded to the repo as well as artifacts of the CI.TODOadd your codeContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.
Package: kivy-garden.ebs.marquee
Marquee Text Widget for KivyThis provides a Marquee Text widget for Kivy.This widget is part of the EBS widget collection for Kivy. It is written in
mostly Python and depends on the EBS core widgets and widget infrastructure package.
For more information, seekivy_garden.ebs.coreSeehttps://kivy-garden.github.io/ebs.flower/for the rendered flower docs.Please see the gardeninstructionsfor
how to use kivy garden flowers.CIEvery push or pull request run theGitHub ActionCI.
It tests the code on various OS and also generates wheels that can be released on PyPI upon a
tag. Docs are also generated and uploaded to the repo as well as artifacts of the CI.TODOadd your codeContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.
Package: kivy-garden.ebs.pdfplayer
PDF Player Widget for KivyThis provides a simple PDFPlayer widget for Kivy, based on
kivy_garden.ebs.gallery.ImageGallery.Documentation for this widget needs work.This package is part of the EBS widget collection for Kivy. It is written in
mostly Python and depends on the EBS core widgets and widget infrastructure package.
For more information, seekivy_garden.ebs.coreSeehttps://kivy-garden.github.io/ebs.flower/for the rendered flower docs.Please see the gardeninstructionsfor
how to use kivy garden flowers.CIEvery push or pull request run theGitHub ActionCI.
It tests the code on various OS and also generates wheels that can be released on PyPI upon a
tag. Docs are also generated and uploaded to the repo as well as artifacts of the CI.TODOadd your codeContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.
Package: kivy-garden.ebs.progressspinner
ProgressSpinnerProgressSpinner is a Kivy widget to display an Android Lollipop style progress spinner.About this ForkThis package builds on a lot of good work of other people, including :The originalkivy.garden.progressspinner,
written by @kived and contributed to over the years by others.Fork by@stimpe, making the package pip installable.At the time of the fork, upstream has remained unchanged
for 8 years.The fork has remained unchanged for 2 years.This is forked fromstimpe/garden.progressspinnerfor the sole purpose of
making it pip installable from PyPI. and will be made available as thekivy_garden.ebs.progressspinnerpackage on PyPI.This package has no dependencies in the ebs namespace - it is simply used as
a convenient way to differentiate from the upstream package and restrict
namespace pollution to within the existing ebs namespace.If you are considering using this:The original package works just fine, and has been working unmodified for
almost a decade at the time of this fork. No development is required or
planned. If you're fine with 'garden install progressspinner', don't use this
fork.If upstream makes itself pip installable, this fork and the associated PyPI
package will likely become unmaintained.Some minor work may be needed to done to bring this in line with the newkivy_gardenformat. I'm not actively working on this, but if the need for
it arises in form or another, I might look into it. Create an issue if you
have a use case which calls for it.If you do end up using this package - especially if you do so in a
production setting - please reach out to me and let me know by email at
shashank at chintal dot in. The number of users, if any, is likely to
determine how much effort I will put into maintaining this.Demo
Package: kivy-garden.filebrowser
Seehttps://kivy-garden.github.io/filebrowser/for the rendered filebrowser docs.FileBrowserTheFileBrowserwidget is an advanced file browser. You use it
similarly to FileChooser usage.It provides a shortcut bar with links to special and system directories.
When touching next to a shortcut in the links bar, it'll expand and show
all the directories within that directory. It also facilitates specifying
custom paths to be added to the shortcuts list.It provides a icon and list view to choose files from. And it also accepts
filter and filename inputs.To create aFileBrowserwhich prints the currently selected file as
well as the current text in the filename field when 'Select' is pressed,
with a shortcut to the Documents directory added to the favorites bar:.. code-block:: pythonfrom kivy.app import App
from os.path import sep, expanduser, isdir, dirname
import sys

class TestApp(App):

    def build(self):
        if sys.platform == 'win':
            user_path = dirname(expanduser('~')) + sep + 'Documents'
        else:
            user_path = expanduser('~') + sep + 'Documents'
        browser = FileBrowser(select_string='Select',
                              favorites=[(user_path, 'Documents')])
        browser.bind(
                    on_success=self._fbrowser_success,
                    on_canceled=self._fbrowser_canceled)
        return browser

    def _fbrowser_canceled(self, instance):
        print 'cancelled, Close self.'

    def _fbrowser_success(self, instance):
        print instance.selection

TestApp().run()Eventson_canceledFired when theCancelbuttonson_releaseevent is called.on_successFired when theSelectbuttonson_releaseevent is called.Installpipinstallkivy_garden.filebrowserCIEvery push or pull request run theGitHub ActionCI.
It tests the code on various OS and also generates wheels that can be released on PyPI upon a
tag. Docs are also generated and uploaded to the repo as well as artifacts of the CI.TODOadd your codeContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseupdate__version__inkivy-garden/filebrowser/__init__.pyto the latest version.updateCHANGELOG.mdand commit the changescallgit tag -a x.y.z -m "Tagging version x.y.z"callpython setup.py bdist_wheel --universalandpython setup.py sdist, which generates the wheel and sdist in the dist/* directoryMake sure the dist directory contains the files to be uploaded to pypi and calltwine check dist/*then calltwine upload dist/*to upload to pypi.callgit push origin master --tagsto push the latest changes and the tags to github.
Package: kivy-garden.graph
GraphTheGraphwidget is a widget for displaying plots. It supports
drawing multiple plot with different colors on the Graph. It also supports
a title, ticks, labeled ticks, grids and a log or linear representation on
both the x and y axis, independently.To display a plot. First create a graph which will function as a "canvas" for
the plots. Then create plot objects e.g. MeshLinePlot and add them to the
graph.To create a graph with x-axis between 0-100, y-axis between -1 to 1, x and y
labels of and X and Y, respectively, x major and minor ticks every 25, 5 units,
respectively, y major ticks every 1 units, full x and y grids and with
a red line plot containing a sin wave on this range::frommathimportsinfromkivy.garden.graphimportGraph,MeshLinePlotgraph=Graph(xlabel='X',ylabel='Y',x_ticks_minor=5,x_ticks_major=25,y_ticks_major=1,y_grid_label=True,x_grid_label=True,padding=5,x_grid=True,y_grid=True,xmin=-0,xmax=100,ymin=-1,ymax=1)plot=MeshLinePlot(color=[1,0,0,1])plot.points=[(x,sin(x/10.))forxinrange(0,101)]graph.add_plot(plot)TheMeshLinePlotplot is a particular plot which draws a set of points using
a mesh object. The points are given as a list of tuples, with each tuple
being a (x, y) coordinate in the graph's units.You can create different types of plots other thanMeshLinePlotby inheriting
from thePlotclass and implementing the required functions. TheGraphobject
provides a "canvas" to which a Plot's instructions are added. The plot object
is responsible for updating these instructions to show within the bounding
box of the graph the proper plot. The Graph notifies the Plot when it needs
to be redrawn due to changes. See theMeshLinePlotclass for how it is done.Installpipinstallkivy_garden.graphCIEvery push or pull request run theGitHub ActionCI.
It tests the code on various OS and also generates wheels that can be released on PyPI upon a
tag. Docs are also generated and uploaded to the repo as well as artifacts of the CI.TODOadd your codeContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseupdate__version__inkivy-garden/graph/__init__.pyto the latest version.updateCHANGELOG.mdand commit the changescallgit tag -a x.y.z -m "Tagging version x.y.z"callpython setup.py bdist_wheel --universalandpython setup.py sdist, which generates the wheel and sdist in the dist/* directoryMake sure the dist directory contains the files to be uploaded to pypi and calltwine check dist/*then calltwine upload dist/*to upload to pypi.callgit push origin master --tagsto push the latest changes and the tags to github.
Package: kivy-garden-i18n
kivy_garden.i18nA library that assists in creating a Kivy app with internationalization support.It's composed of the following two primary components:TheFont Finderhelps you find fonts.
If your app doesn't need i18n support, and you just want to use pre-installed fonts to saving space, you probably only need this.TheLocalizerhelps you switch texts and fonts according to "current language".Installationpip install "kivy-garden-i18n>=0.2<0.3"
poetry add kivy-garden-i18n@~0.2Tested onCPython 3.10 + Kivy 2.2.1CPython 3.11 + Kivy 2.2.1
Package: kivy-garden.kivymd
KivyMDKivyMD is a collection of Material Design compliant widgets for use withKivy, a framework for cross-platform, touch-enabled graphical applications.The project's goal is to approximate Google'sMaterial Design specas close as possible without sacrificing ease of use or application performance.Currently we're inalphastatus, so things are changing all the time and we cannot promise any kind of API stability. However it is safe to vendor now and make use of what's currently available; giving you freedom to upgrade when you're ready to do the necessary refactoring.Just fork the project, branch out and submit a pull request when your patch is ready. If any changes are necessary, we'll guide you through the steps that need to be done via PR comments or access to your for may be requested to outright submit them.If you wish to become a project developer (permission to create branches on the project without forking for easier collaboration), have at least one PR approved and ask for it. If you contribute regularly to the project the role may be offered to you without asking too.DocumentationSome very early documentation can be found at our project's website, other than that we recommend checking thedemos/kitchen_sink/main.pyfile for examples.Installation and use with BuildozerDependencies:Kivy 1.10.1How to installpipinstallhttps://github.com/AndreMiras/KivyMD/archive/master.zipHow to use with BuildozerIf you want to use KivyMD with buildozer, in your buildozer.spec's requirements line you should add the full git HTTPS address, like this example:requirements=https://github.com/AndreMiras/KivyMD/archive/master.zipLicenseMIT, same as Kivy.Material Design Iconic FontbySergey Kupletskycovered by the licenses described athttps://zavoloklom.github.io/material-design-iconic-font/license.html.Icons by the materialdesignicons.com community covered by SIL OFL 1.1
Package: kivy-garden.mapview
MapviewMapview is a Kivy widget for displaying interactive maps. It has been
designed with lot of inspirations ofLibchamplainandLeaflet.The goal of this widget is to be a replacement of Google Maps widget,
even if this one works very well, it just works on Android with Kivy.
I wanted a map widget that can support custom map, and designed with
the latests state-of-the-art Kivy's methods.Featuresnative multitouch (one for translate, many for translate and zoom)asynchronous downloadingavoided GPU limitation / float precisions issues on tiles coordinatesmarker supportblazing fast!supports Z/X/Y providers by default withMapSourcesupports.mbtilesviaMBTilesMapSourcesupports marker clustering, viaClusteredMarkerLayerRequirementsIt requires theconcurrent.futuresandrequests.
If you use it on Android / iOS, don't forget to addopensslas a requirements,
otherwise you'll have an issue when importingurllib3fromrequests.Installpip install mapviewUsageThis widget can be either used within Python or Kv. That's said, not
everything can be done in Kv, to prevent too much computing.fromkivy_garden.mapviewimportMapViewfromkivy.appimportAppclassMapViewApp(App):defbuild(self):mapview=MapView(zoom=11,lat=50.6394,lon=3.057)returnmapviewMapViewApp().run()Find out more:examples/https://mapview.readthedocs.io/en/latest/ContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.
Package: kivy-garden.modernmenu
Kivy ModernMenuA context menu for Kivy with modern look and feel.Please see the gardeninstructionsfor how to use kivy garden flowers.Flower informationThis set of widgets allows you to build a flexible set of modern looking
menus. 3 widgets are provided, conceived in a way to allow both tweaking
and subclassing for maximum flexibility in representation.The MenuSpawner is a very simple widget allowing you to create a widget
for a long touch (arbitrary time) staying in a short distance of its
origin point, i.e: "long press" actions.The ModernMenu widget is a configurable menu based on a circle with the
arious options appearing around. It animates the transitions to
submenus and provides a nice "back/close" button in the center.The ModernMenuLabel is the default class used to display the elements of
the menu.A simple mecanism allow passing options from each widget to the one it
builds, making customization for each instance of the menu easy if
needed.An example of usage is provided in the module (run the module as a
python program), you can see a result of this examplehere.Installpipinstallkivy_garden.modernmenuContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.
Package: kivy-garden.painter
kivy-garden PainterA kivy garden flower that can paint shapes in Kivy.Seehttps://kivy-garden.github.io/painter/for the rendered painter docs.Please see the gardeninstructionsfor how to use kivy garden flowers.Flower informationFlower for drawing shapes in Kivy.
Please see the module documentation for more information.InstallSeehere.UsageSee the docs for examples.TODOContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.
Package: kivy-garden.qrcode
Module QRCodeA QRCode Widget.Installpipinstallkivy-garden.qrcodeUsagePython:fromkivy_garden.qrcodeimportQRCodeWidgetparent.add_widget(QRCodeWidget(data="Kivy Rocks"))kv:#:import QRCodeWidget kivy_garden.qrcodeBoxLayout:orientation:'vertical'Button:text:'presstochangeqrcode'on_release:qr.data = "Kivy Rocks!"QRCodeWidget:id:qrdata:'HelloWorld'ContributePull requests are welcome, simply make sure tests are passing via:maketest
Package: kivy-garden.splittergrid
SplitterGridA GridLayout-like widget, that allows the user to manually change the relative
sizes of each collumn and row. If the widget is resized, the preferences will
be conserved relalively (a column resized to 10% of the total width will stay
10% of the total width). As with GridLayout, either a number column or a number
of rows must be set, if both are set, thencolsis used.It also allows setting the order of filling through theorientationproperty,
all the modes you could hope for are implemented:tb-lr, top to bottom, left to right, which means the first column
will be filled from top to bottom, then the second column, etc.bt-lr: bottom to top, left to righttb-rl: top to bottom, right to leftbt-rl, bottom to top, right to leftlr-tb: left to right, top to bottomlr-bt: left to right, top to bottomrl-tb: right to left, top to bottomrl-bt: rigth to left, bottom to topThe margin between each cell can be dragged by the user, resizing the
corresponding row or column (or both, if you drag from an intersection).min_col_widthandmin_row_heightallowing to set constraints on user
interaction. On desktop, the mouse cursor is set to arrows indicating the
possibility of resizing when hovering a margin.This layout doesn't usesize_hintorsize_hint_minandsize_hint_maxproperties of its children.The module can be ran standalone and will display a basic demonstration of the
layout.ContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.
Package: kivy-garden.tickmarker
TickmarkerTickMarker widget, used to mark intervals.Seehttps://kivy-garden.github.io/tickmarker/for the rendered flower docs.Please see the gardeninstructionsfor how to use kivy garden flowers.Flower informationTickmarker exports theTickMarkerwidget, which places ticks in the center
of the widget so that when combined with another widget e.g. a slider it
marks intervals. TickMarker supports horizontal and vertical orientation,
minor/major ticks and log10 representation.For example, to create a log slider from 0.1 to 10 starting at 1 with
major tick marks at every decade, and minor ticks at every 0.2 decades:from kivy.uix.slider import Slider
from kivy.garden.tickmarker import TickMarker
class TickSlider(Slider, TickMarker):
pass
s = TickSlider(log=True, min_log=.1, max_log=10, value_log=1,
ticks_major=1, ticks_minor=5)Or a linear slider from 10 to 200 starting at 60 with major tick marks at
every 50 units from start, and minor ticks at every 10 unitss = TickSlider(min=10, max=200, value=60, ticks_major=50, ticks_minor=5)To create a log progress bar from 10 to 1000 starting at 500 with major tick
marks at every decade, and minor ticks at every 0.1 decades::from kivy.uix.progressbar import ProgressBar
from kivy.garden.tickmarker import TickMarker
class TickBar(ProgressBar, TickMarker):
padding = NumericProperty(0)
min = NumericProperty(0)
orientation = OptionProperty('horizontal', options=('horizontal'))
s = TickBar(log=True, min_log=10, max_log=1000, value_log=500,
ticks_major=1, ticks_minor=10)When combining with another widget such as a slider, the widget must have
min, max, value, orientation, and padding fields. See the second example above
as to how you would do this with a ProgressBar. When logarithmic representation
is required you read and write to the numerical fields usingmin_log,max_logandvalue_loginstead ofmin,max, andvalue.InstallTo install with pip::pip install kivy_garden.tickmarkerTo build or re-build locally::PYTHONPATH=.:$PYTHONPATH python setup.py build_ext --inplaceOr to install as editable (package is installed, but can be edited in its original location)::pip install -e .CIEvery push or pull request run theGitHub ActionCI.
It tests the code on various OS and also generates wheels that can be released on PyPI upon a
tag. Docs are also generated and uploaded to the repo as well as artifacts of the CI.TODOadd your codeContributingCheck out ourcontribution guideand feel free to improve the flower.LicenseThis software is released under the terms of the MIT License.
Please see theLICENSE.txtfile.How to releaseSee the gardeninstructionsfor how to make a new release.