Saravanan666/pypi-org huggingface dataset:
Package: panel-highcharts
📈 Panel HighchartsWe want tomake it super simple to doexploratory data analysisand develop high-qualityPaneldata appsusing theHighChartsplotting library.We providethepanel-highchartspython package for Panel.example notebooks and data apps.⚖️ LicenseThepanel-highchartspython package and repository is open source and free to use (MIT License), howeverHighcharts itself requires a license for commercial use. For more info see the Highcharts licenseFAQs.🚀 Get started in under a minuteInstallpanel-highchartsincluding theexamplesdependencies.pipinstallpanel-highcharts[examples]Explore the sample appspnhellopanel-highchartsYou can now find thereferenceandgallerynotebooks in theexamples/awesome-panel/panel-highchartsfolder. Check them out by runningjupyter lab.📒 Get started on BinderClick the buttonCheckout Highcharts DemosFollow thelink⭐ SupportPlease supportPanelandawesome-panelby giving the projects a star on Github:holoviz/panel.awesome-panel/awesome-panel.Thanks❤️ ContributeIf you are looking to contribute to this project you can find ideas in theissue tracker. To get started check out theDEVELOPER_GUIDE.I would love to support and receive your contributions. Thanks..Monitor
Package: panel-indicator
Ubuntu Panel IndicatorThis library can be used to print the output of any script in the ubuntu unity panel.An example of internet donwload speed unity panel indicator built using this package.from panel_indicator import PanelIndicator
import subprocess

class MyIndicator(PanelIndicator):
    """ abstract function(set_new_value) returns a string """
    """ update_interval in seconds """
    def __init__(self, update_interval):
        self.current_val = 0
        PanelIndicator.__init__(self, update_interval)

    def set_new_value(self):
        out, err = self.bash_script_runner("/home/ketankr9/bin/netusage.sh")

        old_val = self.current_val
        self.current_val = int(out.strip().decode('utf-8'))

        # convert bytes to megabytes
        val = (self.current_val*1.0 - old_val)/10**3
        val /= self.update_interval

        if val/10**3 >= 1.0:
            # convert megabytes to gigabytes
            val /= 10**3
            val = round(val, 1)
            val = str(val) + " MB"
        else:
            val = round(val, 1)
            val = str(val) + " KB"

        return val

MyIndicator(1.5)Skeleton:from panel_indicator import PanelIndicator

class MyIndicator(PanelIndicator):
    def __init__(self, update_interval):
        PanelIndicator.__init__(self, update_interval)

    # runs after every 1 seconds
    def set_new_value(self):
        return "yayy"

MyIndicator(1)
Package: panel-jstree
✨ panel-jstreepanel-jstree is a wrapper python wrapper around the javascript libraryjstreefor use inpanel. This allows for JSON-like representations of tree data. One very useful implementation provided is a server-side file browser.You can install and use the package as simple as.condainstall-cconda-forgepanel-jstreeor with pippipinstallpanel-jstreeAdd this into a python file to play with the FileTreefrompanel_jstreeimportFileTreeFileTree().servable()run it withpanel serve name_of_app.pyIt should run exploring the directory of the file.🚀 Get started in under a minutepipinstallpanel-jstreeRun the examplespanelservetests/*tree.py--showHere are some of the examples. You can see a small FileTree app with a text field and controls to directly input a file path, and turn off and on some of the controls.You can make a simple tree where you swap out the data.You can also see a generic Tree app with a custom callback to generate random nodes.⭐ SupportPlease supportPanelandpanel-jstreeby giving the projects a star on Github.Thanks❤️ ContributeIf you are looking to contribute to this project you can find ideas in theissue tracker. To get started check out theDEVELOPER_GUIDE.I would love to support and receive your contributions. Thanks.MonitorConda InstallPyPI InstallGithub releasePython VersionsLicense
Package: panel-modal
✨ panel-modalWe want to make it easy to usemodalswith Panel on both the server and in the notebook.Amodalis an element that displays in front of and deactivates all other page content. Panel
already includes a modal. But it only works if you using atemplateon a server. It does not
work in the notebook.You can install and use the package as simple as.pipinstallpanel-modalimportpanelaspnfrompanel_modalimportModalpn.extension()modal=Modal(pn.panel("Hi. I am the Panel Modal!",width=200))pn.Column(modal.param.open,modal).servable()Check out theapisection below and theexamplesfolder for more details.ApiParametersobjects: The objects to display in the modal. You can define the size of the modal if you
wrap the objects in a layout like a Column.is_open: Whether or not the modal is open. Set this toTrueto open the modal.show_close_button: Whether to show a close button in the modal.style: The css styles applied to the modal.Eventsopen: Trigger this to open the modal.close: Trigger this to close the modal.🚀 Get started in under a minuteInstallpanel-modalincluding theexamplesdependencies.pipinstallpanel-modal[examples]Explore the sample appspnhellopanel-modalYou can now find thereferenceandgallerynotebooks in theexamples/awesome-panel/panel-modalfolder. Check them out by runningjupyter lab.📒 Explore the examples onlineClick one of the buttons⭐ SupportPlease supportPanelandawesome-panelby giving the projects a star on Github:holoviz/panel.awesome-panel/awesome-panel.Thanks❤️ ContributeIf you are looking to contribute to this project you can find ideas in theissue tracker. To get started check out theDEVELOPER_GUIDE.I would love to support and receive your contributions. Thanks..Monitor
Package: panel-plots
A simple to use and understand system for making panel plots with matplotlib.
The panel-plots package is designed to make it easy to create panel plots with
specific sizes, either panel size or overall figure size, maing it particularly
suitable for generating figures for journal articles where you need to prepare
an image of a particular size and ensure consistent and correct font sizing.Getting startedThe panel-plots package only manages location information, it leaves everything
else up to you (and matplotlib). A simple example is to create a 2x3 panel plot
of a specified total width. Rremember, knowing the width of the plot allows you
to select the same font size as in your document and know the fonts will work
out being the same size:import matplotlib.pyplot as plt
from panels import FigureSizeLocator

loc = FigureSizeLocator(2, 3, figwidth=150, hsep=12, vsep=12,
                        padleft=10, padright=10, padtop=10, padbottom=10)
fig = plt.figure(figsize=loc.figsize)

for i, pos in enumerate(loc.panel_position_iterator()):
    ax = fig.add_axes(pos)
    ax.plot([0, 1, 2], [3, 2, 1])
    ax.set_title('Panel #{}'.format(i))

plt.show()You can do a similar thing but specify the size of the individual panels using
thePanelSizeLocatorlocator.
Package: panels
Github Actions status:Coverage status:Semi-analytical methods for plates, shells and stiffened panelsCapabilities:linear bucklingpostbucklingKoiter asymptotic initial postbuckling analysisstaticvibrationpanel flutterInstallationTo get the latest version::pip install panelsLicenseDistrubuted under the 3-Clause BSD license
(https://raw.github.com/saullocastro/panels/master/LICENSE).Contact:S.G.P.Castro@tudelft.nl.
Package: panel-sharing
✨ panel-sharingWe want toto make it really easy for the Panel community to develop and share live appsWe providean interactive platform for developing and sharing Panel appsThis project draws inspiration from other app dev and sharing tools likestlite,shinyliveCodeSandbox,JS Fiddleetc.⚠️ THIS PROJECT IS IN AN ALPHA STATE AND WILL CHANGE. USE IT AT YOUR OWN RISK.🚀 Get started in under a minuteInstallpanel-sharingincluding theexamplesdependencies.pipinstallpanel-sharing[examples]Explore the sample apppnhellopanel-sharingYou can now find app in theexamples/awesome-panel/panel-sharingfolder.⭐ SupportPlease supportPanelandawesome-panelby giving the projects a star on Github:holoviz/panel.awesome-panel/awesome-panel.Thanks❤️ ContributeIf you are looking to contribute to this project you can find ideas in theissue tracker. To get started check out theDEVELOPER_GUIDE.I would love to support and receive your contributions. Thanks..Monitor
Package: panel-sketch
✏ ️ Panel SketchTHIS IS APLHA SOFTWARE AND YOU MAY EXPERIENCE ROUGH EDGES.The purpose of thepanel-sketchpackage is to make it easy for Pythonistas to quickly sketch interactive visualizations and other applications running inThe browser - also without a Python backendThe Jupyter Notebook.Your favorite editor or IDE.It is heavily inspired byp5js,p5js sketchesandpyp5jsbut not limited to the p5js universe.You can also think of it as aCode SandboxorJS Fiddlebut for #Python 🐍.Check out thepanel-sketchexamples onBinderJupyter NotebookJupyter LabsPanel AppsIt leveragesPythontoJavascriptframeworks. CurrentlyPyodideandTranscrypt. But potentially alsoBrythonor similar in the future.LicenseThepanel-sketchpython package and repository is open source and free to use (MIT License).InstallationWithpippipinstallpanel-sketchUsagefrompanel_sketchimportSketchimportpanelaspnpn.config.sizing_mode="stretch_width"args={"r":10,"g":200,"b":40}# This will give us the color for our sketchsketch_python="""# https://p5js.org/examples/interaction-wavemaker.htmlfrom pyp5js import *t = 0def setup():createCanvas(600, 600)stroke(250)strokeWeight(3)fill(window.args.r, window.args.g, window.args.b)def draw():global tbackground(10, 10)fill(window.args.r, window.args.g, window.args.b)xAngle = map(mouseX, 0, width, -4 * PI, 4 * PI, True)yAngle = map(mouseY, 0, height, -4 * PI, 4 * PI, True)for x in range(0, width, 30):for y in range(0, height, 30):angle = xAngle * (x / width) + yAngle * (y / height)myX = x + 20 * cos(2 * PI * t + angle)myY = y + 20 * sin(2 * TWO_PI * t + angle)ellipse(myX, myY, 10)t = t + 0.01"""sketch=Sketch(object=sketch_python,template="pyp5js",compiler="pyodide",args=args)sketch.viewer.viewReference GuidesSketch Reference ExampleExamplesGallery AppAdditional ResourcesYou can find more inspiration via the links below.p5jsandp5js sketchespyp5jsPyodideTranscryptBrythonPanelAwesome PanelRoadmapWhen I get the time I would like toAddbasictemplate examples.Enable using the content of notebook cells instead of a string to instantiteSketch.Add more notebook examplesEnable easy import and export of sketchesFind out how I can serve the target js modules in notebook (Enable Transcrypt in Notebook).Supportalternativesto p5js likethree.js(re-)align with pyp5jsAdd example app to awesome-panel.org.Support extensions to p5js likem5.jsCreate youtube tutorial videoAdd badges for 100% test coverage etc.Distribute as conda packageChange Log20210410: First Release to PyPi.
Package: paneltime
# PaneltimeAuthor: Espen SirnesVersion: 1.1.6This package integrates paneldata estimation with a very efficient ARIMA/GARCHestimator.## InstallationUse standard “pip install paneltime” for installationFor compiling the custum clibrary (sparse matrix inversion):numpy (will be installed anyway, but required in advance for compilation of custom c-library)If you are NOT installing on Windows, make sure these requirements are satisfied before you install:## For GUI:Tkinter:   From root, “apt python3-tk” in Linux## For matplotlib to be installed:pk-konfig: From root, “apt pk-konfig” in LinuxFreetype : From root, “apt install libfreetype6 libfreetype6-dev” in Linux)
Package: panflute
Panflute: Pythonic Pandoc Filterspanfluteis a Python package that makes creating Pandoc filters fun.For a detailed user guide, documentation, and installation instructions, seehttp://scorreia.com/software/panflute/.
For examples that you can use as starting points, check theexamples repo, thesample template, orthis github search.
If you want to contribute, headhere.You might also find usefulthis presentationon how I use markdown+pandoc+panflute to write research papers (at the Banco de Portugal 2019 Workshop on Reproductible Research).InstallationPipTo manage panflute using pip, open the command line and runpip install panfluteto installpip install "panflute[extras]"to include extra dependencies (yamlloader)pip install -U panfluteto upgradepip uninstall panfluteto removeYou need a matching pandoc version for panflute to work flawlessly. See [Supported pandoc versions] for details. Or, use the [Conda] method to install below to have the pandoc version automatically managed for you.CondaTo manage panflute with a matching pandoc version, open the command line and runconda install -c conda-forge pandoc 'panflute>=2.0.5'to install bothconda install -c conda-forge pandoc 'panflute>=2.0.5' yamlloaderto include extra dependenciesconda update pandoc panfluteto upgrade bothconda remove pandoc panfluteto remove bothYou may also replacecondabymamba, which is basically a drop-in replacement of the conda package manager. Seemamba-org/mamba: The Fast Cross-Platform Package Managerfor details.Note on versionsSupported Python versionspanflute 1.12 or above dropped support of Python 2. When using Python 3, depending on your setup, you may need to usepip3/python3explicitly. If you need to use panflute in Python 2, install panflute 1.11.x or below.Currently supported Python versions:. Checksetup.pyfor details, which further indicates support of pypy on top of CPython.Supported pandoc versionspandoc versioning semantics isMAJOR.MAJOR.MINOR.PATCHand panflute's is MAJOR.MINOR.PATCH. Below we shows matching versions of pandoc that panflute supports, in descending order. Only major version is shown as long as the minor versions doesn't matter.panflute versionsupported pandoc versionssupported pandoc API versions2.3.02.11.0.4–3.0.x1.22–1.232.2.42.11.0.4–2.17.x1.22–1.22.12.12.11.0.4—2.14.x1.222.02.11.0.4—2.11.x1.22not supported2.101.211.122.7-2.91.17.5–1.20Note: pandoc 2.10 is short lived and 2.11 has minor API changes comparing to that, mainly for fixing its shortcomings. Please avoid using pandoc 2.10.Dev InstallAfter cloning the repo and opening the panflute folder, runpython setup.py installto install the package locallypython setup.py developto install locally with a symlink so changes are automatically updatedContributingFeel free to submit push requests. For consistency, code should comply withpep8(as long as its reasonable), and with the style guides by@kennethreitzandgoogle. Read morehere.LicenseBSD3 license (followingpandocfiltersby @jgm).Changelog2.3.0UpdatePandoc APIfrom 1.22 to 1.23 (Pandoc 3.0):AddFigureblock objectRemoveNullblock object (scheduled for removed)
Package: pang
Playbook for Ansible + NSO GeneratorA simple utility which will create Ansible playbooks for existing networks using NSOFree software: MIT licenseDocumentation:https://pang.readthedocs.io.InstallationTo install pang from source run the following commands:git clone https://github.com/kecorbin/pang
cd pang
python setup.py installUsageRunning:Usage: pang [OPTIONS]

  PANG - Playbook for Ansible + NSO Generator

Options:
  --nso <host_or_ip>     FQDN/IP of NSO Server (default: localhost)
  --username <username>  NSO Username (default: admin)
  --password <password>  NSO Password (default: admin)
  --help                 Show this message and exit.Sample Output:Generating Ansible Playbook...
Syncing Configuration from Devices
Generating host_vars for core1
Generating host_vars for core2
Generating host_vars for dist1
Generating host_vars for dist2CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-09-18)First release on PyPI.
Package: pangaeapy
pangaeapy - a Python module to access and analyse PANGAEA dataBackgroundPANGAEA (https://www.pangaea.de) is one of the world's largest archives of this kind offering essential data services such as data curation, long-term data archiving and data publication. PANGAEA hosts about 400,000 datasets comprising around 17.5 billion individual measurements (Aug. 2020) and observations which have been collected during more than 240 international research projects. The system is open to any project, institution or individual scientist using, archiving or publishing research data.Since the programming languages Python and R have become increasingly important for scientific data analysis in recent years, we have developed 'pangaeapy'  a new, custom Python module that considerably simplifies typical data science tasks.Given a DOI, pangaeapy uses PANGAEA’s web services to automatically load PANGAEA metadata into a dedicated python object and tabular data into a Python Data Analysis Library (pandas) DataFrame with a mere call of a specialized function. This makes it possible to integrate PANGAEA data with data from a large number of sources and formats (Excel, NetCDF, etc.) and to carry out data analyses within a suitable computational environment such as Jupyter notebooks in a uniform manner.InstallationSource code fromgithubpip install git+https://github.com/pangaea-data-publisher/pangaeapy.gitWheels for Python fromPyPIpip install pangaeapyUsageimportpangaeapy.pandatasetaspdds=pd.PanDataSet(787140)print(ds.title)print(ds.data.head())ExamplesPlease take a look at the example Jupyter Notebooks which you can find in the 'examples' folderDocumentationhttps://github.com/pangaea-data-publisher/pangaeapy/blob/master/docs/pandataset.mdRunning the testsThe tests ar located in thetestdirectory. You can run them by executingpytestortoxin the root directory.Cite asRobert Huber, Egor Gordeev, Markus Stocker, Aarthi Balamurugan, & Uwe Schindler (2020). pangaeapy - a Python module to access and analyse PANGAEA data. Zenodo.http://doi.org/10.5281/zenodo.4013940.
Package: pangea-django
Pangea Django SetupUse Django as your authentication backend in a few simple steps.Install the Pangea SDKRun the following commandpip install pangea-djangoSet up AuthN with PangeaGo to thePangea AuthN serviceand step through the dialogs. You will need to collect the auth token you created, the domain and the hosted login link for later. Also set the redirect (callback) link under Settings/General/Redirect(callback) Settings, this is where the hosted flow will send the user once they are logged in.Environment VariablesSet up the environment variables (Instructions)PANGEA_AUTHN_TOKENandPANGEA_DOMAINwith your project token configured on the Pangea User Console (token should have access to AuthN serviceInstructions) and with your Pangea domain.
Note that the Django integration only need the client token and not the service token. The client token has fewer privileges and is therefore safer to use. If you are using Pangea AuthN endpoints outside this integration, you may need the full service token.Django SettingsModify the following values in the settings.py of your Django projectAdd'pangea_django.PangeaAuthMiddleware'to theMIDDLEWARE. You can keep or remove the standard Django contrib auth middleware.Ensure you have sessions set up, you should have this already. SeeUsing Django SessionsEnsure you have a working user model. Typically this just means enabling a DB. You can use a SQLite DB to get up and running quickly. SeeDjango Databases#SQLiteThis auth backend is designed to use the hosted login method provided by Pangea. You will need to do the following to authenticateFrom the Django view(s) where you want to kick off a login process, redirect to your hosted login link.redirect(f"<link you copied from the Pangea Console>?state={generate_state_param(request)}"). Note the use of thegenerate_state_paramhelper function from the pangea_django module. This creates a secure state param for this purpose.From the Django view where the user was redirected from the login process, use the pangea_django.PangeaAuthentication class to authenticate the requestPangeaAuthentication().authenticate(request=request). If authentication was successful you will get a UserModel object representing the user (Noneotherwise).From views where you wish to check if the user is logged in you can use the normal Django patterns of checkingrequest.user.is_authenticatedor using thelogin_requireddecorator etc.You can log the user out withPangeaAuthentication().logout(request)Theauthenticatecall will create a user based on the email(username) address in Pangea if that user does not exist, it will also populate basic info (first name, last name, email address and last login time).The user will be logged out automatically once the user's active token has expired and their refresh token can no longer refresh the session.
Package: pangeamt-nlp
PANGEAMT NLPHow to update and upload to PyPiIn the terminal go to the pangeamt_nlp directory.Switch to the branch that made the PR:git checkout <source_branch>
git pullActivate the virtual env:source venv/bin/activateRemove the previous packages created:rm -r distCreate the package source distribution:python setup.py sdistInstall the new distribution:pip install dist/*Test the changes:cd testspython -m unittestYou can now test it inside the docker:sudo docker run -it -p 8081:8081 -v <absolute path to dist folder>:/nlp_dist enginestore.pangeamt.com/corporate/<engine_image> /bin/bashNow, inside the docker install the new distribution:pip install /nlp_dist/*Start the server:python start_server.pyTest the model with the changed package from another terminal:curl -X POST -d '{"srcs": ["some testing segment"]}' 0.0.0.0:8081/translateIf it passes the tests accept the PR in github webpage.Change to the master branch:git checkout master
git pullIncrement version number:vim pangeamt_nlp/__init__.py
git add pangeamt_nlp/__init__.py
git commit -m "Update version number"
git pushDelete older distributions:rm -r dist/*Create source and binary distributions:python setup.py sdist bdist_wheelUpload distributions to PyPi:twine upload dist/*