Saravanan666/pypi-org huggingface dataset:
Package: pyplan
The pyplan project is being developed to provide tools for
planning-level alternative analysis of progresive capital improvement
projects. pyplan is well suited to illustrate the cost/benefit dynamics
of projects made up of several independent and combinable sub-projects.Example use case:A utility is interested in addresing a regional flooding issue with new
releif sewers. Relief sewers are being considered in three different
areas, each of which may be implemented at 1, 2, or 3 mile lengths. The
relief sewers in each area can be combined with relief sewers in the
other two areas, regardless of how long any reach is.Engineers then produce cost estimates and measure the performance of
every logical combination of flood releif sewer installation. (Theswmmiopackage is being developed to generate flood releif models
with EPA SWMMM5 for this exact use case). With cost benefit data
available for every incremental flood relief sewer phase, pyplan can
find the most efficient implementation paths:example output
Package: py-plan
Py PlanThis is a Python library of algorithms that implements various planning
algorithms written by Christopher MacLellan (http://www.christopia.net).
Generally, the system support algorithms for planning in first-order and
propositional representations using a variety of techniques.InstallationYou can install this software using pip:pip install -U py_planYou can install the latest version of the code directly from github:pip install -U git+https://github.com/cmaclell/py_plan@masterImportant LinksSource code:https://github.com/cmaclell/py_planDocumentation:http://py_plan.readthedocs.org
Package: pyplan-core
Pyplanis a Python development environment intended for easily creating and deploying data analytics apps. Different than a Jupyter Notebook, where code is structured as a list of sentences, in Pyplan code is contained in nodes that work as calculation steps, organized in a hierarchical influence diagram. Nodes can be evaluated, and its result inspected through a console output or rendered as a table or graph.Pyplan Coreis a Python library for using Pyplan models in any Python environment as for example a Jupyter Notebook.
It provides methods to open a model, set selectors values and get results of nodes.
This library expands the possibilities of using Pyplan models embedded in your own application.
Models still have to be created using the Pyplan Graphical IDE that you can download and use for free at www.pyplan.orgInstalling and running Pyplan CoreYou can install Pyplan Core in your computer following the instructions below:pip install pyplan_coreYou can use Pyplan Core following the instructions below:from pyplan_core.pyplan import Pyplan

pyplan = Pyplan()

#model_filename = "path/to/my_model_file.ppl"
model_filename = pyplan.sample_models.use_of_pyplan_core()  # for sample purposes
pyplan.openModel(model_filename)
value = pyplan.getResult("total_of_cases")
print(value)

pyplan.closeModel()
Package: pyplanekit
Getting StartedPlanekit helps you create powerful apps forfixed-wingUAVs. These apps run on a UAV’s Companion Computer, and augment the autopilot by performing tasks that are both computationally intensive and require a low-latency link.This documentation provides everything you need to get started with Planekit, including an overview of the API, quick start, guide material, a number of demos and examples, and API Reference.Install Planekitpip install planekitStart simulation anywhere or connect UAV:Plankit does not include any built-in simulation. Therefore, you must connect the planekit still or an arduplane installed UAV.A simple example of starting a still with Mission planarPlanekit supports other alternatives. (Mavproxy etc.)First connectionYou can see the first connection example below.import time

import planekit

vehicle = planekit.Connection("tcp:127.0.0.1:5762")
vehicle.wait_heartbeat()
print("connection is successful")See Docshttps://plane-kit.com/
Package: pyplanet
This repo contains the PyPlanet package.For installation, configuration and development instructions head towards our website:http://pypla.net/Git StructureMaster is always the latest development environment. We develop features in different branchesfeature/*orbugfix/*appending
with the issue key of GitHub.Crafting releases is done at therelease/1.1.xbranches. The branch is created from the master at the moment the freeze moment goes in.
Only bug fixes are accepted to be merged into the release/* or master branches (and merged into release again), name these branchesbugfix/ISSUE-ID.After releasing (from the release branch) it gets a version tag. From this point there is no way back, new bug releases will be crafted
from the release branch (release/0.1.xfor example).Visualization of our current release schedule can be found here:Release ScheduleVersioningAll PyPlanet versions bellow 1.0.0 are not using semantic versioning.
After 1.0.0, there is a strict semantic versioning (v2) versioning policy in use.ContributionsPull requests and issues are more then welcome.
Please open a ticket before a pull request if you are not yet sure how to solve or want opinions before your implementation. (optional).
Package: pyplanet-cup-manager
Cup ManagerA plugin forPyPlanet.This plugin will handle hosting a cup competition in Trackmania, Maniaplanet, and Shootmania. It provides a competition
host with the following:Manage mode scripts and settings to ensure consistent competitionsRecord player score results and sum totals across multiple mapsProvide player placement status information and podium resultsUse result totals to pay planets to players in batchExport results in multiple formats including Csv and DiscordThe following games and modes have been tested and shown to have some level of functionality. In general, this plugin
will work with any script mode which supports the scores callback.Trackmania - Timeattack, Rounds, Laps, MedalAttack, SpeedtrapManiaplanet - Timeattack, Rounds, LapsShootmania - Melee, Elite, Royal, Siege, Infection, ComboSeethe usage informationto get started
integrating with your PyPlanet instance and running your competition.
Package: pyplanet-currentcps
CurrentcpsPyPlanet cp tracker appDescriptionCurrentcps is an app forPyPlanet. It shows the progress of multiple players
on the current track. The players are ordered by their current CP and their time at that
CP.Finished playersPlayers that already finished the track are shown first, but only the fastest 5
finished players are shown. However, each finished player can always see themselves.RestartWhen a player starts to drive and they haven't reached any CP before, they are shown
with CP 0 and a time of 0:00.000. A player that has already reached a CP before and
decides to restart is shown with the old CP and time until they pass a CP. The same
happens with players that have already finished.SpectatingA player is automatically set to spectator mode when they click on a name in the
widget. Of course, the player will be spectating the player they clicked on.
Also, players that enter spectator mode via this or any other method, will be
removed from the current-CP-list. They will be re-added when they start to drive
again.InstallationInstallation of this app is handled by PyPi. To install it, simply activate your
virtual environment and typepip install -U pyplanet_currentcpsThe same command can also be used to update the plugin and any dependencies.If you have already installed a version from github, you'll have to remove or
rename it.
To activate the app, open your settings/apps.py and add 'teemann.currentcps'. The file should look somewhat like this:APPS = {
	'default': [
		'pyplanet.apps.contrib.admin',
		'pyplanet.apps.contrib.jukebox',
		'pyplanet.apps.contrib.karma',
		'pyplanet.apps.contrib.local_records',
		'pyplanet.apps.contrib.dedimania',
		'pyplanet.apps.contrib.players',
		'pyplanet.apps.contrib.info',
		'pyplanet.apps.contrib.mx',
		'pyplanet.apps.contrib.sector_times',
		'teemann.currentcps',
	]
}If pyplanet is still running, restart it.
Package: pyplanet-muffins
MuffinsA plugin forPyPlanet.The Muffins plugin allows you to bake, give, and eat muffins.InstallationInstall or update to the latest version with the following commandpython -m pip install --upgrade pyplanet-muffinsAdd the following to you pyplanet apps.py'skybaks.muffins',CommandsCommandDescription//muffinBakes a brand new muffin and gives it to the player specified by login or nickname. Only available to admins./muffin eatEat one of your muffins. Available to all players/muffin bragShow off one of your rarest muffins. Available to all players/muffin giveGive one of your muffins to the player specified by login or nickname. Available to all players.
Package: pyplanet-roll-dice
Roll DiceA plugin forPyPlanet.This plugin allows you to simulate dice rolls.InstallationInstall or update to the latest version with the following commandpython -m pip install --upgrade pyplanet-roll_diceAdd the following to your pyplanet apps.py'skybaks.roll_dice',CommandsCommandDescription/roll dieUse this command to simulate a dice roll. If the 'die' argument is omitted a 1d20 die will be rolled. The die argument can be any 2 integer numbers separated by the letter 'd'. The first number indicates the number of dice to roll and the second number indicates the max value of the die to roll.Examples of commands:$> /roll

Player rolls 1d20...
Dice: 19 Total: 19$> /roll 2d6

Player rolls 2d6...
Dice: 1, 4 Total: 5$> /roll 3d8

Player rolls 3d8...
Dice: 8, 6, 3 Total: 17
Package: pyplan-ide
Pyplanprovides a Python development environment intended for easily creating and deploying data analytics apps. Different than a Jupyter Notebook, where code is structured as a list of sentences, in Pyplan code is contained in nodes that work as calculation steps, organized in a hierarchical influence diagram. Nodes can be evaluated, and its result inspected through a console output or rendered as a table or graph. User interfaces are created dragging nodes on a canvas. Final apps can be shared with one click to general audience.Among its most prominent features you will find:Assisted drag and drop graphical programmingVisual Influence Diagram to represent logic flowEasy creation of interactive user interfacesEmpowered collaboration by one click publishing and sharingSecure and scalable with corporate standardsOn cloud or on-premise deploymenthttps://pyplan.orgRequirementspython 3.7Installing and running PyplanYou can install Pyplan in your computer following the instructions below. In order to publish your apps or run Pyplan online, you will need tocreate an account hereInstalling usingPIP:On Linux/Mac:Open the terminal and run this commands:# Install
python3.7 -m venv pyplan
. pyplan/bin/activate
pip install --upgrade pip
pip install pyplan-ide

# Run
. pyplan/bin/activate
pyplanOn Windows:Open the command line (CMD) and run this commands:# Install
python3.7 -m venv pyplan
pyplan\Scripts\activate.bat
pip install --upgrade pip
pip install pyplan-ide

# Run
pyplan\Scripts\activate.bat
pyplanUsingAnaconda Navigator:Install:1. Create and select new environment "pyplan-ide" for Python 3.7
2. Add pyplan and conda-forge channels
3. Find pyplan-ide app on Home section and click Install

Important:

  If doing an upgrade, first restart Anaconda Navigator in order to close any active Pyplan process.
  A message will appear, make sure that pyplan-ide is selected.Run:- Click launch on pyplan-ide appAlternatively you can also install it usingConda:# Install
conda config --append channels pyplan
conda config --append channels conda-forge
conda create -n pyplan-ide python=3.7
conda activate pyplan-ide
conda install pyplan-ide

# Run
conda activate
pyplanUser GuideFor User Guide please visitdocs.pyplan.orgCommunity SupportFor Community Support please visitcommunity.pyplan.org
Package: pyplanner
pyplannerThis is the official pyplanner repository.This lightweight application allows you to quickly schedule your activities.pyplanner keeps track of all your activities and notifies you when they are due.Getting StartedFork this repository.Clone the repository.git@github.com:<username>/pyplanner.gitGo to the directorycd pyplannerInstall all the dependencies.pip3 install -r requirements.txtRun the following commandpython3 -m pyplanner set_task <task-name> <time-scheduled>That's it! You have scheduled a task.System RequirementsThis app is supported in Linux as of now. So if you have any Linux distribution (Ubuntu, Fedora, Manjaro, etc.), you are good to go.Python (3.8 or higher) and pip (21 or higher)crontabif it is not installed.Visual Studio Code (install here)GitNote:The installation process differs in different Linux distributions.CommandsReset all the tasks or if anything goes wrong.python3 -m pyplanner resetDisplay list of tasks in command line.python3 -m pyplanner show_tasksSet a taskpython3 -m pyplanner set_task <task-name> <time-scheduled>PlansMake package of this appAdd / Remove Tasks usingTextualizeTUI library.Add test cases to validate before merging PR.ContributingMake sure you readcontributing guidelinesfirst.Follow ourcode of conduct. Violation of any rule will lead to disqualification from Hacktoberfest 2022.Follow PR template and issue template accordingly before creating any issue/PR.LicenseLicensedunder MIT LicenseCopyright (c) 2022 Subhendu Dash
Package: pyplanpro
PyPlanProUNDER CONSTRUCTIONThis project is currently under construction and is not yet ready for use. We are working hard to bring you a great project, and will update this README as soon as it's ready for use. Thank you for your patience!In the meantime, feel free to check out the project code and contribute if you'd like. We welcome any feedback or suggestions you may have.This Python program is a task scheduler that takes a set of tasks and assigns them to resources within their respective resource groups. The program uses Google OR-Tools library to build a constraint programming model and solve it, minimizing the makespan of the tasks.FeaturesDefine tasks with duration, priority, and resource groups
Define resources with availability slots
Schedule tasks to resources within their respective resource groups, minimizing the makespan
Output the optimal or feasible schedule if foundRequirementsTo run this program, you need to have the following packages installed:Python 3.6 or later
ortools (pip install ortools)InstallationpipinstallpyplanproUsageImport the necessary classes and functions:frompyplanproimportResource,ResourceGroup,Task,SchedulerDefine resources and resource groups:r1_availability_slots=[{"slot_id":0,"start":0,"end":4},{"slot_id":1,"start":5,"end":10}]r2_availability_slots=[{"slot_id":0,"start":0,"end":10}]resource1=Resource(id=1,availability_slots=r1_availability_slots)resource2=Resource(id=2,availability_slots=r2_availability_slots)resource_group=ResourceGroup(id=1,resources=[resource1,resource2])Define tasks with duration, and resource group:tasks=[Task(id=1,duration=3,resource_group=resource_group)]Set the scheduling horizon:horizon=50Call the Scheduler function with tasks and horizon:s=Scheduler()s.schedule(tasks,horizon=horizon)If a solution is found, the program will print the optimal or feasible schedule with makespan, resource assignments, task start and end times, and durations.Makespan = 8.0
Assigned to resource 2
Task (0, 0): starts: 0, end: 8, duration: 8
Package: pyplantuml
# pyplantuml![](docs/pyplantuml_packages.png)Creates UML diagrams (package and class structure) from Python source code.Build on top of pylint’s pyreverse to do the static code analysis and supports most of its original commandline interface.It basically outputs plantuml description as text files instead of .dot files. The plantuml code features a simple syntax and is a great base for manual extension, e.g. to sketch out ideas on how to evolve the data model.## InstallationFrom pypi:$ pip install pyplantumlFrom source:$ python setup.py developAfter installation it is available from the commandline as two commands, see below.## Dependencies[pylint](https://www.pylint.org/), for it includes [astroid](https://www.astroid.org/) and [pyreverse](https://www.logilab.org/blogentry/6883).[plantuml](http://de.plantuml.com/), to convert the resulting text files to images. It is enough to download theplantuml.jarand place it somewhere in a directory that is on your PATH, pyplantuml will then be able to find it.## Usage$ cd <parent-dir-of-package>$ pyplantuml [pyreverse-options] <package>If a plantuml.jar can be found on PATH, it will automatically be
called afterwards to convert the text files to images.$ pyplantuml-web [pyreverse-options] <package>Will use the online form on www.plantuml.com for conversion and
display the result in your default browser. Do not use for sensitive data!## Examplespyplantuml is a great way to visualize the data structure of an existing package. It can be used on custom packages as well as builtins, as some of the examples below illustrate.### ast
![](docs/ast_classes.png)### logging
![](docs/logging_classes.png)### maxjob
![](docs/maxjob_packages.png)
![](docs/maxjob_classes.png)### pluggy
![](docs/pluggy_classes.png)### re
![](docs/re_classes.png)### setuptools
![](docs/setuptools_classes.png)### SocketServer
![](docs/SocketServer_classes.png)### tokenize
![](docs/tokenize_classes.png)### tox
![](docs/tox_classes.png)### urllib
![](docs/urllib_classes.png)### webbrowser
![](docs/webbrowser_classes.png)
Package: pyplater
Buildhtmlcomponent with python.frompyplaterimport*# import all tagdocuments=html(head(meta(charset="utf-8"),link(rel="stylesheet",href="./style.css"),title("Documents"),),body(h1("The title"),p("lorem ipsum"),),)print(documents.render())ContributingWhether reporting bugs, discussing improvements and new ideas or writing
extensions: Contributions to Pyplaterr are welcome! Here’s how to get started:Check for open issues or open a fresh issue to start a discussion around
a feature idea or a bugForkthe repositoryon Github,
create a new branch off themasterbranch and start making your changes
(known asGitHub Flow)Write a test which shows that the bug was fixed or that the feature works
as expected to cover your changeSend a pull request and bug the maintainer until it gets merged and
published ☺
Package: pyplater-cli
in developmentPyPlater is a Python CLI Tool to generate, build, and create boilerplate code for python projects Including linting, formatting, unit testing, and package managing from prebuilt and your own custom templatesGet SetupInstall PyPlater$ pip install pyplater-cliCommandsPyPlater CLI supports two templating types:template: a project file structure using the cookiecutter librarysnippet: a small directory literal for commonly used modulesPyplater SaveSave project directorys as snippets or templatesOptionsType: template/snippetDirectory: the directory you with to copyName: the name of the new template/snippetExampleSave a template$ pyplater save template path/to/folder <name>Save a snippet$ pyplater save snippet path/to/folder <name>PyPlater InsertAdd snippet files to existing projects or generate not template projectOptionsType: template/snippet-n/--name: namee of template/snippetExampleInsert a template$ pyplater insert template -n <custom_name> -t <saved_template>Insert a snippet$ pyplater insert snippet -n <saved_snippet>PyPlater GitInitialize a git repository to hold your templates/snippets that you can then push an pull fromOptionsActions: push/pullOptions: template/snippet-n/--name: template/snippet nameExamplesInitialize Git Repository (Personal access token is not stored)$ pyplater git init -u <github_username> -t <personal_access_token>Push templates to repository$ pyplater git push all

or

$ pyplater git push snippet -n <snippet_name>Pull templates from repository$ pyplater pull all

or

$ pyplater pull snippet <snippet_name>PyPlater ViewView all saved snippets/templates or view a specific snippet's/template's file structureOptions[Type]: (snippets, templates)--name: specific tamplate or snippetExamples$ pyplater view snippets

$ pyplater view templates --name your_projectPyPlater EditOpen your template and snippets in vs codeOptionsTypes: template/snippet-n/--name: name of template or snippetExamples$ pyplater edit snippet -n <name>PyPlater RunDefine commands in the pyproject.toml to run your custom scripts with pyplater$ pyplater run script
$ pyplater run testpyproject.toml[pyplater.scripts]
script = "python ./main/script/main.py"
test = "python -m unittest:discover tests/"PyPlater RemoveRemove Templates and/or Snippets from your deviceOptions[Name]: name of the template/snippet--type: (template, snippet)Example$ pyplater remove your_project --type template
Package: pyplates
IttyTwittyHaving a basic way to tweet and interact with Twitter from the command line is a simple but handy set of actions. This project provides this functionality with the least amount of configuration.It just works!Installation# install script ..../setup.shContributingPlease feel free to offersuggestions and changes.I have been coding for many years, but mostly as a side activity ... as a tool to assist me in other endeavors ... so I have not had the 'hard time' invested of constant coding that many of you have. Suggestions/improvements
welcome!AuthorCopyright © 2018-2020Michael Treanor
Package: pyplatform
Pyplatform is a data analytics platform built around Google BigQuery. This package provides wrapper functions for interacting with cloud services and creating data pipelines using Google Cloud, Microsoft Azure, O365, and Tableau Server as source and destination.The platorm architecture:enables fast and scalable SQL datawarehousing serviceabstracts away the infrastuture by builiding data pipelines with serverless compute solutions in python runtime environmentssimplifies development environment by using jupyter lab as the main toolInstallationpipinstallpyplatformSetting up development environmentgit clone https://github.com/mhadi813/pyplatform
cd pyplatform
conda env create -f pyplatform_dev.ymlAuthentication and environment variablesCredential file path can be set a environment varible in conda env activation script or bash profiles. Please referenceconda documentationfor enviroment variables and environment activation scriptimportos# if env activation script not created: update path to credential files# see ``secrets`` folder for credential tamplates# see functions ``docstring`` for authentication methods when calling a functionos.environ['GOOGLE_APPLICATION_CREDENTIALS']='./secrets/dummy_gcp_service_account_credentials.json'os.environ["AZURE_CREDENTIALS"]='./secrets/dummy_ms_azure_credentials.json'os.environ['TABLEAU_SERVER_CREDENTIALS']='./secrets/dummy_tableau_server_credentials.json'os.environ['PIVOTAL_CREDENTIALS']='./secrets/dummy_pivotal_credentials.json'os.environ['DATASET']='default_bigquery_dataset_name'os.environ['STORAGE_BUCKET']='default_storage_bucket_id'Usagecommon usage patterns:- Http sources- On-prem sources with VPN requirement- Bigquery integration with Azure Logic Apps- Event driven ETL process- Streaming pipelinesExploring the modulesfrompyplatform.commonimport*show_me()importpyplatformaspypshow_me(pyp)
Package: pyplatform-common
Pyplatform-common package provides utility, file management and authentication functions for interacting with APIs and compute services.Installationpipinstallpyplatform-commonAuthentication and environment variablesRefer tomain pagefor documentation on authenticationExploring the modulesfrompyplatform.commonimport*show_me()importpyplatform.datawarehouseasdwshow_me(dw)Usagecalling Google catalog-api with core python packagefrompyplatform.common.utilsimport*importrequestsurl='https://cloudbilling.googleapis.com/v1/services'headers={'Authorization':gcp_get_auth_header(scope='https://www.googleapis.com/auth/cloud-platform'),'Content-Type':'Application/json'}response=requests.request('GET',url,headers=headers)response.status_codedownloading deployed application code package from pivotal cloudfrompyplatform.common.pivotal_cloudimport*cf_download_package(app_name='hello_app')