Saravanan666/pypi-org huggingface dataset:
Package: polyanalyst6api
polyanalyst6apiis a simple and easy to use client library for the PolyAnalyst API.This package provides wrappers for PolyAnalystAnalytical Client,SchedulerandDrive.
Using it you can execute nodes, view datasets, run tasks, download/upload files and so on.InstallationPython 3.7+ is required. Install and upgradepolyanalyst6apiwith these commands:pipinstallpolyanalyst6api
pipinstall--upgradepolyanalyst6apiDocumentationSeeAPI Referencefor the client library methods.Refer toPolyAnalyst User ManualatApplication Programming Interfaces>Version 01for REST API specification.UsageImport an api client and log in to PolyAnalyst serverfrompolyanalyst6apiimportAPIwithAPI(POLYANALIST_URL,USERNAME,PASSWORD)asapi:# making a request to PolyAnalyst endpoint that require authorizationprint(api.get_server_info())Working with projectInstantiate project wrapper by calling with existing project ID:prj=api.project(PROJECT_UUID)SetPythonnode code using parentParametersnode.prj.parameters('Parameters (1)').set('Dataset/Python',{'Script':'result = pandas.DataFrame([{"val": 42}])'})ExecutePythonnode and wait to complete executionprj.execute('Python',wait=True)Check node results:ds=prj.dataset('Python').preview()assertds[0]['val']==42Save project:prj.save()Downloading file from user home folder using PA Drive APIcontent=api.drive.download_file('README.txt')withopen(r'C:\README.txt',mode='wb+')aslocal_file:local_file.write(content)Seepolyanalyst6api-python/examplesfor more complex examples.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: polyants
polyantsPOLYHUB system helpers.InstallationOS X & Linux & Windows:pipinstallpolyantsUsage examplefrompolyants.adaptersimportdict_to_enumdefSomeEnum=dict_to_enumdef('SomeEnum',{'A':'a'})print(SomeEnum.A.value)Development setupcoverage$poetryrunpytest--covformat$poetryrunblackpolyants-Slint$poetryrunflakehelllinttype checking$poetryrunpyreRelease History0.2a0configurable enum class (#3)0.1a0mvp (#1)Metapymancer@gmail.com(Polyanalitika LLC)https://gitlab.com/ru-r5/polyantsLicenseThis Source Code Form is subject to the terms of the Mozilla PublicLicense, v. 2.0. If a copy of the MPL was not distributed with thisfile, You can obtain one athttps://mozilla.org/MPL/2.0/.ContributingFork it (https://gitlab.com/ru-r5/polyants/fork)Create your feature branch (git checkout -b feature/foo)Commit your changes (git commit -am 'Add some foo')Push to the branch (git push origin feature/foo)Create a new Pull Request
Package: polyapi
Библиотека предназначенна для работы с Polymatica API.Основным модулем бизнес-логики является файл business_scenarios.py, импортировать который можно с помощью командыfrom polymatica import business_scenarios as sc.Модуль предоставляет два класса для работы с Полиматикой -BusinessLogicиGetDataChunk. Методы этих классов можно посмотреть при помощи стандартной функцииdir().Аргументы функций и прочую docstring-документацию модуля и функций можно посмотреть при помощи стандартной функцииhelp().Инициализация нового клиентского подключения:client =sc.BusinessLogic(login="your_login",password="your_password",url="polymatica_server_url",**args)
Package: polyapi-python
PolyAPI Python LibraryThe PolyAPI Python Library lets you use and define PolyAPI functions using Python.PolyAPI Quickstart1. Install LibrariesFirst install the client.We recommend the use of venv so you can have multiple projects each with separate credentials:python-mvenvmyvenvsourcemyvenv/bin/activate
pipinstallpolyapi-pythonReplacemyvenvwith whatever you'd like your venv to be named!For more on Python virtual environments, we recommend thisvenv primer.However, if you only need to use polyapi with a single project, you can do a basic install:pipinstallpolyapi-python2. Generate Your FunctionsNow you can run the following to generate your librarypython-mpolyapigenerateYou will be prompted to enter the Poly server url you use and your Poly API key.You can also provide the key and url as environment variables (useful for deployment):POLY_API_KEY='your_key'
POLY_API_BASE_URL='your_server'  # e.g. na1.polyapi.io3. TestThat's it! Now open up a test file and you can run some code like so:frompolyapiimportpolyprint(poly.polyapi.function.api.list(my_server,my_api_key))Add New Server FunctionsTo add a new server function, please follow the quickstart. Then you can add a server function like so:python-mpolyapi--contextmycontext--descriptionmydesc--serverfunctionadd<function_name>foo.pyThe code infoo.pyshould contain a single defined function named the same as your<function_name>variable.So for example, if you want to add a function namedbar, your filefoo.pywould look like this:defbar():return"Hello World"Complex Types In Server FunctionsYou can define arbitrarily complex argument and return types using TypedDicts.NOTE: you must useTypedDictfromtyping_extensions, not from the basetypingmodule.fromtyping_extensionsimportTypedDictclassFoobar(TypedDict):count:intdefbar(n:int)->Foobar:returnFoobar(count=n)PypiThis library is hosted on Pypi. You can find the latest version on thepypi polyapi-pythonproject.UpgradeTo upgrade your library to the latest version, pass the upgrade flag.pipinstallpolyapi-python--upgradePre-ReleaseTo upgrade your library to the latest dev version, pass the--preflag.pipinstallpolyapi-python--pre--upgradeChange Your API KeyIf you need to change your API key or what server you are pointing to, you can run:python-mpolyapisetupUnit TestsTo run this library's unit tests, please clone the repo then run:python-munittestdiscoverSupportIf you run into any issues or want help getting started with this project, please contactsupport@polyapi.io
Package: polyaxon-cli
Polyaxon-cliCommand line tool for Polyaxon.Install$pipinstall-Upolyaxon-cliPolyaxon CLI documentationPlease check thepolyaxon cli referenceCommands ReferencesPlease run:polyaxon-hInstall polyaxonPlease checkpolyaxon installation guideQuick startPlease check ourquick start guideto start training your first experiment.License
Package: polyaxon-client
polyaxon-clientPython clients to interact with Polyaxon API.Install$pipinstall-Upolyaxon-clientClientsThis module includes a client that can be used to interact
with Polyaxon API in a programmatic way.Auth: A client for handling authentication and user information.Cluster: A client for getting cluster and cluster nodes information.User: A client to manage users and superuser roles.Project: A client for doing CRUD operations on projects, as well as getting and creating experiments and experiment groups, creating and stopping tensorboard/notebook, and uploading code.Experiment: A client for doing CRUD operations on experiments, as well as statuses, jobs, resources, and logs.Experiment group: A client for doing CRUD operations on experiment groups, as well as fetching experiments per group.Experiment Job: A client for getting information, resources, and logs of experiment jobs.Job: A client for getting information, resources, and logs of jobs.Build Job: A client for getting information, resources, and logs of build jobs.Bookmark: A client for getting bookmarks.Version: A client to get current and supported versions of several Polyaxon component.Usagefrompolyaxon_clientimportPolyaxonClientpolyaxon_client=PolyaxonClient(host=POLYAXON_IP,token=MY_TOKEN,http_port=POLYAXON_HTTP_PORT,ws_port=POLYAXON_WS_PORT)polyaxon_client.authpolyaxon_client.clusterpolyaxon_client.userpolyaxon_client.projectpolyaxon_client.experimentpolyaxon_client.experiment_grouppolyaxon_client.experiment_jobpolyaxon_client.jobpolyaxon_client.build_jobpolyaxon_client.bookmarkpolyaxon_client.versione.g. list projects for a userpolyaxon_client.project.list_projects(username,page=1)e.g. list experiments for a projectpolyaxon_client.project.list_experiments(username,project_name,independent=None,group=None,metrics=None,params=None,query=None,sort=None,page=1)Install polyaxonPlease checkpolyaxon installation guideQuick startPlease check ourquick start guideto start training your first experiment.License
Package: polyaxon-dockerizer
polyaxon-dockerizerPython tool to generate dockerfiles compatible with Polyaxon dockerizer and Polyaxon CLI local run.Install$pipinstall-Upolyaxon-dockerizerUsageGenerate Dockerfilesfrompolyaxon_dockerizerimportgenerategenerate(repo_path,from_image,build_steps=['apt-get install git','pip install tensorflow'],env_vars=[['ENV_VAR1','VALUE1'],['ENV_VAR2','VALUE2']],nvidia_bin=None,lang_env='en_US.UTF-8',uid=2222,gid=2222)Build imagesfrompolyaxon_dockerizerimportbuildbuild(build_context,image_tag,image_name,nocache,credstore_env=None,registries=None)Build & Push imagesfrompolyaxon_dockerizerimportbuild_and_pushbuild_and_push(build_context,image_tag,image_name,nocache,credstore_env=None,registries=None)Install polyaxonPlease checkpolyaxon installation guideQuick startPlease check ourquick start guideto start training your first experiment.
Package: polyaxon-gpustat
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Build Status](https://travis-ci.org/polyaxon/polyaxon-gpustat.svg?branch=master)](https://travis-ci.org/polyaxon/polyaxon-gpustat)
[![PyPI version](https://badge.fury.io/py/polyaxon-gpustat.svg)](https://badge.fury.io/py/polyaxon-gpustat)
[![Slack](https://img.shields.io/badge/chat-on%20slack-aadada.svg?logo=slack&longCache=true)](https://join.slack.com/t/polyaxon/shared_invite/enQtMzQ0ODc2MDg1ODc0LWY2ZTdkMTNmZjBlZmRmNjQxYmYwMTBiMDZiMWJhODI2ZTk0MDU4Mjg5YzA5M2NhYzc5ZjhiMjczMDllYmQ2MDg)GPUSTATSThis is a utility function to query gpu stats. this is a modified fork of [wookayin/gpustat](https://github.com/wookayin/gpustat).Quick InstallationInstall from [PyPI][pypi_gpustat]:` pip installpolyaxon-gpustat`To install the latest version (master branch) via pip:` pip installgit+https://github.com/polyaxon/polyaxon-gpustat.git@master`License[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpolyaxon%2Fpolyaxon-gpustat.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpolyaxon%2Fpolyaxon-gpustat?ref=badge_large)
Package: polyaxon-helper
Polyaxon-helperPolyaxon helper is a lightweight python library to report metrics and communicate information with Polyaxon.Installation$pipinstall-Upolyaxon-helperfor python3$pip3install-Upolyaxon-helperInstall polyaxonPlease checkpolyaxon installation guideInstall in polyaxonfileIf you want to delegate the installation to polyaxon during the build process,
add a new step to therunsection in your polyaxonfile:...build:image:...build_steps:-...-pip install -U polyaxon-helper-...run:cmd:...UsageGetting env variables defined by Polyaxonfrompolyaxon_helperimport(get_cluster_def,get_declarations,get_experiment_info,get_task_info,get_tf_config,get_job_info,get_outputs_path,get_outputs_refs_paths,get_data_paths,get_log_level)cluster_def=get_cluster_def()declarations=get_declarations()experiment_info=get_experiment_info()task_info=get_task_info()job_info=get_job_info()outputs_path=get_outputs_path()outputs_refs_paths=get_outputs_refs_paths()data_paths=get_data_paths()tf_config=get_tf_config()log_level=get_log_level()get_cluster_def: Returns cluster definition created by polyaxon.{"master":["plxjob-master0-8eefb7a1146f476ca66e3bee9b88c1de:2000"],"worker":["plxjob-worker1-8eefb7a1146f476ca66e3bee9b88c1de:2000","plxjob-worker2-8eefb7a1146f476ca66e3bee9b88c1de:2000"],"ps":["plxjob-ps3-8eefb7a1146f476ca66e3bee9b88c1de:2000"],}get_declarations: Returns all the experiment declarations based on both,declarations sectionmatrix sectionget_tf_config: Returns the TF_CONFIG defining the cluster and the current task.
ifenvvaris not null, it will set and env variable withenvvar.get_experiment_info: Returns information about the experiment.project_nameexperiment_group_nameexperiment_nameproject_uuidexperiment_group_uuidexperiment_uuidget_job_info: Returns information about the job.project_namejob_nameproject_uuidjob_uuidget_task_info: Returns the task info:{"type": str, "index": int}.outputs_path: The outputs path generated by polyaxon based on the hierarchy of the experiment.`user/project/group/experiment/files`data_paths: The data paths mounted for the job/experiment:{
   'data1': '/data/1',
   'data-foo': '/data/foo',
 }outputs_path: The references outputs paths requested by the user,
the order follows the order specified by the user:{
     'experiments': [
         `user/project/job12/files`,
     ], 'experiments': [
         `user/project/group/experiment1/files`,
         `user/project/experiment100/files`
     ]
 }get_log_level: If set on the polyaxonfile it will return the log level.Reporting metrics to PolyaxonIn order to report metrics for an experiment, just add these lines in you program.frompolyaxon_helperimportsend_metricssend_metrics(accuracy=0.9,precision=0.95)Quick startPlease check ourquick start guideto start training your first experiment.License
Package: polyaxon-k8s
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Build Status](https://travis-ci.org/polyaxon/polyaxon-k8s.svg?branch=master)](https://travis-ci.org/polyaxon/polyaxon-k8s)
[![PyPI version](https://badge.fury.io/py/polyaxon-k8s.svg)](https://badge.fury.io/py/polyaxon-k8s)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ef56c1d0ed7a413a8303f1814b53d453)](https://www.codacy.com/app/polyaxon/polyaxon-k8s?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=polyaxon/polyaxon-k8s&amp;utm_campaign=Badge_Grade)
[![Slack](https://img.shields.io/badge/chat-on%20slack-aadada.svg?logo=slack&longCache=true)](https://join.slack.com/t/polyaxon/shared_invite/enQtMzQ0ODc2MDg1ODc0LWY2ZTdkMTNmZjBlZmRmNjQxYmYwMTBiMDZiMWJhODI2ZTk0MDU4Mjg5YzA5M2NhYzc5ZjhiMjczMDllYmQ2MDg)# Polyaxon-k8sPolyaxon Kubernetes managers, utils and resources.## License[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpolyaxon%2Fpolyaxon-k8s.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpolyaxon%2Fpolyaxon-k8s?ref=badge_large)
Package: polybar-clockify
polybar-clockifyContentspolybar-clockifyIntroductionInstallationConfigurationDevelopmentContributionIntroductionControl Clockify through Polybar.Features:Displaying money earned and time workedToggle timerDaily, weekly and monthly viewHide output for privacyInstallationpip install polybar-clockifyConfigurationCreate credentials file in~/.config/polybar/clockify/credentials.jsonand fill out your clockify credentials.
You will have to create aclockify API keyto make the module work.{
  "api-key": "your-api-key",
  "email": "your-email",
  "password": "your-password"
}Create a polybar module inside your polybar config add it to your active modules.[module/clockify]
type = custom/script
tail = true
exec = polybar-clockify
click-left = echo 'TOGGLE_TIMER' | nc 127.0.0.1 30300
click-right = echo 'TOGGLE_HIDE' | nc 127.0.0.1 30300
scroll-up = echo 'NEXT_MODE' | nc 127.0.0.1 30300
scroll-down = echo 'PREVIOUS_MODE' | nc 127.0.0.1 30300DevelopmentThis package usespoetryTo run in the terminal# Execute in the root folder of the repository
poetry run python -u ./polybar_clockify/app.py

# Example for polybar config
[module/clockify]
type = custom/script
tail = true
exec = poetry run python -u /home/<your_user>/polybar-clockify/polybar_clockify/app.pyContributionAt the moment the functionality is pretty basic, but sufficient for my use case.
If you want to extend the functionality I’d be delighted to accept pull requests!
Package: polybar-online
Polybar OnlinePolybar Onlineis a script for Polybar that displays an internet connection indicator
in a
panel with the ability to send a notification when the connection is broken and restored.Why another one?I've been looking for a similar module for myself and even found a couple. But they didn't
run on my machine... So I decided that it would be faster to write my own than to poke
around in someone else's. (and others are not able to send notifications!!!)RequirementsThe script does not use any third-party libraries, but you will need to install someNerd fontsin order for the icons to be displayed.It's not necessary if you're going to use your own icons from other fonts, though.InstallingClone the repository to a convenient location. For example, in~/.config/polybar/:cd~/.config/polybar/
gitclonehttps://github.com/Leetovskiy/polybar-onlineYou can also install Polybar Online from PyPI usingpip. In this case, you may want to
run the script as a regular console program. To do this, make sure that the directory of
installed pip packages is available in thePATHvariable.pipinstallpolybar-onlineConfigurationThe script takes some arguments from the terminal to control its operation. These are, for
example, enabling and disabling Internet connection status change notifications, setting
icons, etc.Use the commandpolybar-online -hto see the full list of available options.-h, --help            show this help message and exit
  -n, --notify, --no-notify
                        send a notification if the internet connection is broken (default: False)
  --online-icon ONLINE_ICON
                        icon that will be displayed when the Internet connection is available (default: 度)
  --offline-icon OFFLINE_ICON
                        icon that will be displayed when there is no Internet connection (default: ﴹ)
  -ci CHECK_INTERVAL, --check-interval CHECK_INTERVAL
                        Interval between checks (in seconds)
  -ri RETRY_INTERVAL, --retry-interval RETRY_INTERVAL
                        Interval between checks when Internet connection is unavailable (in seconds)UsingYou need to put the script path in a specialcustom/scriptsection of your Polybar
configuration file. You also need the tail parameter set to true. And don't forget to add
the new module to your panel's module list.Example:[bar/mybar]modules-right=online[module/online]type=custom/scriptexec=python ~/.config/polybar/polybar-online/polybar_online/main.py --notify -ci 5tail=trueLicenseThis little project is licensed under the Apache 2.0 license, so you are free to use it
according to the terms of the license.ContributionIf you know how to improve this project or would like to contribute yourself, you are
welcome. I'm open to suggestions on Telegram (@leetovskiy) and
email (dev.zaitsev@gmail.com), and I'll consider pull
requests from you as well.RoadmapLocalization in Russian and other languagesDistribution as a binary (using nuitka)AUR package
Package: polybar-onlinestatus
polybar-onlinestatuspolybar module that checks if you are onlineTo install usepip install polybar-onlinestatusAnd use module below:[module/onlinestatus]
type = custom/script
exec = polybar-onlinestatus
tail = true
label = %{T4} %output% %{T-}
format-underline = #07BDEEfont-3 = Hack Nerd Font:style=Bold:size=12You can use any font you want, but make sure icon is big enough. I recommend Nerd Hack but it's up to you.For more options usepolybar-onlinestatus --helpin your terminal and assign options inexec = polybar-onlinestatusline.Icon used by default is, if you are unable to see it - install nerd font from nerdfonts.com, replace it with your own or use --boolean-mode.
Package: polybar-reload
polybar-reloadSignalspolybarto reload when screen resolution has changed. Especially useful
when running in a vm, when screen resizes can occur often.Currently supports one screen.InstallationEnable interprocess communication for each bar you would like to reload:Edit~/.config/polybar/config:[bar/myBar1]
enable-ipc = true
...


[bar/myBar2]
enable-ipc = trueInstallpolybar-reloadvia pip:pip install --user polybar-reloadRunpolybar-reload. This can be done in a number of places. If you don't use
any of the tools mentioned below, you can runpolybar-reloadin whatever script
you use to start polybar.for i3 users:Add the following to your~/.config/i3/configexec_always --no-startup-id ~/.local/bin/polybar-reloadThis will load polybar on startup, but not on "reload i3" (commonly bound to Mod+Shift+r)Upgradingpip install --upgrade --user polybar-reloadIfpolybar-reloaddoesn't update to the newest version you can uninstall and reinstall.
Make sure to bypass local cache.pip uninstall polybar-reload && pip install --user --no-cache-dir polybar-reload
Package: polybeat
Polybeathttps://github.com/chunribu/polybeat/assets/57521167/2c2e6025-2490-4b45-b54e-92f1c06b1c04Installation# first, install manim from conda-forge channelcondainstall-cconda-forgemanim# then install polybeat from pypipipinstallpolybeatUsage# step 1: import modulefrompolybeatimportplay# step 2:# primary usageplay([3,4,12])# advanced usageplay(rhythms=[3,4,6,12],custom_order=[0,1,3,2],# colors=[RED,YELLOW,BLUE,GREEN],sounds=['kick_drum','open_conga','side_stick','low_bongo'],volumes=[0,-2,-6,-4],cycle_time=1.8,dot_radius=0.16,width_range=[2.5,3.5],preview=True,)custom_orderis None by default, which equals to [3,2,1,0] (reverse order) in this case.colorsshould be a list of variables supported by manim or hex number strings, e.g. ['#3ec1d3', '#f6f7d7', '#ff9a00', '#ff165d'].soundscan be paths to custom audio files, or just leave it default.cycle_timehas an effect on speed.previewmeans you want the video to auto play or not after rendering.It's safe to use default parameters when the number of beats is 4 or less
Package: polybench
polybenchMultivariate polynomial arithmetic benchmark tests.Many scientific and engineering applications utilise multivariate polynomial
arithmetic in their algorithms and solutions. Here we provide a set of
benchmark tests for often-used operations in multivariate polynomial
arithmetic:Greatest common divisorFactorisationRequirementsPython>= 3.6.1You also need at least one or more tools to be benchmarked.
They are (in alphabetical order):FermatFORM:
if not available in the system, then
arelease binarywill be automatically downloaded.Mathematica:
indeed,Free Wolfram Engine for Developersis sufficient to run.reFORM:
automatically downloaded
(requiresRust>= 1.36).Rings:
automatically downloaded
(requiresJDK>= 8).SingularGetting startedClone this repository and try to run therun.shscript:gitclonehttps://github.com/tueda/polybench.gitcdpolybench
./run.sh--allWhen starting the script for the first time, it automatically sets up
a virtual environment for required Python packages so that it will not dirty
your environment. Some of the tools are provided as libraries registered in
public package registries, so the first run takes some time to download,
compile and link them with test binaries. After testing, a CSV file and
comparison plots will be generated.For practical benchmarking, configuration parameters should be set
adequately. See the help message shown by./run.sh--helpYou can also usepip,pipx,PoetryorDockerwith this repository.
Installation withpip(x) installorpoetry installmakes a commandpolybenchavailable, which acts as therun.shscript described above.pipinstallpolybench
polybench--all
python-mpolybench--all# alternative way to launchpipxinstallpolybench
polybench--allgitclonehttps://github.com/tueda/polybench.gitcdpolybench
poetryinstall
poetryrunpolybench--alldockerbuild-tpolybench:latesthttps://github.com/tueda/polybench.git
dockerrun-it--rmpolybench:latest
./run.sh--allExampleplatformLinux-3.10.0-957.21.3.el7.x86_64-x86_64-with-glibc2.23python_version3.9.9.final.0 (64 bit)cpu_brandIntel(R) Xeon(R) Gold 6248 CPU @ 2.50GHzcpu_count40total_memory754.6GBFORMFORM 4.2.1 (Nov 21 2018, v4.2.1) 64-bitsMathematica13.0.0 for Linux x86 (64-bit) (December 10, 2021)reFORM0.1.0-fix-serialize, rustc 1.56.1Rings2.5.8, JVM: 17.0.1 (Homebrew 17.0.1+1)SingularSingular for x86_64-Linux version 4.2.1 (4210, 64 bit) May 2021ReFORM has no factorization functionality.
Mathematica exceeded the timeout of 60 minutes for the "nontrivial-factor" test.LicenseMIT