Saravanan666/pypi-org huggingface dataset:
Package: pygoenv
[![Build Status](https://travis-ci.org/pwoolcoc/goenv.svg)](https://travis-ci.org/pwoolcoc/goenv)# goenv - Set up a Golang environmentI got tired of manually setting my GOPATH when I went from one project to another,
so I wrote a small utility to set up my environment for me. It is similar in spirit to Python’svirtualenv, though it does less, and does it a little differently.The main difference is that instead of an ‘activate’ script that sets up your environment,
this opens up a new subshell for you to work in. It will also download
and install the version of Go that you want it to.## InstallationCurrently goenv is written in python, so installation is a simplepip
installaway:$ sudo pip install pygoenv## Usage$ cd /path/to/project
$ echo $GOPATH# simplest usage
$ goenv
Downloadinghttp://go.googlecode.com/files/go1.2.linux-amd64.tar.gzExtracting /home/user/.cache/goenv/go1.2.linux-amd64.tar.gz to /home/user/.config/goenv/dists/1.2
(golang-1.2) $ echo $GOPATH
/path/to/project:/path/to/project/pkg/somepkg
^D
$# You don’t have to download a new go tarball every time…
$ goenv
Using existing tarball
Go version 1.2 already exists, skipping extract
(golang-1.2) $
^D
$# specify Golang version
$ goenv –go-version 1.1
Downloadinghttp://go.googlecode.com/files/go1.1.linux-amd64.tar.gzExtracting /home/user/.cache/goenv/go1.1.linux-amd64.tar.gz to /home/user/.config/goenv/dists/1.1
(golang-1.1) $## Contactemail:paul@woolcock.ustwitter: @pauldwoolcockjabber:pauldwoolcock@dukgo.comirc: duncan @ irc.mozilla.org
Package: pygofile
pygofileAsynchronous Python Wrapper for the GoFile API (Unofficial).Installation :pip3installpygofileUsage :>>frompygofileimportGofile>>gofile=Gofile(token='<YOUR_TOKEN>')# <YOUR_TOKEN> is your GoFile token# or>>gofile=Gofile()# as a guest# to upload>>data=awaitgofile.upload(file='/path/to/file.ext')>>print(data){'downloadPage':'https://gofile.io/d/OF8ctM','code':'OF8ctM','parentFolder':'7a5cd11e-6fa34dda-44-bab5-c57d74d28d','fileId':'e72b3dab-9190-48a0-9abe-89e45d1c0','fileName':'file.ext','md5':'0aff68c0c302e07a52f4a1fbc5a687b','directLink':'https://srv-store5.gofile.io/download/e72b3ab-9abe-8901c45d1c0/file.ext','info':'Direct links only work if your account is a donor account. Standard accounts will have their links redirected to the download page.'}>>download_url=data['downloadPage']>>awaitgofile.delete_content(content_id='e72b3dab-9190-48a0-9abe-89e45d1c0')Credits: ⚡GautamKumar(me)forNothing
Package: pygogogate2
Copyright (c) 2018 David BroadfootPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.Description: UNKNOWN
Platform: UNKNOWN
Package: pygohcl
pygohclPython wrapper forhashicorp/hcl(v2).RequirementsThe following versions are supported - 3.8, 3.9, 3.10, 3.11, 3.12.SetuppipinstallpygohclUsage>>>importpygohcl>>>pygohcl.loads("""variable "docker_ports" {...   type = list(object({...     internal = number...     external = number...     protocol = string...   }))...   default = [...     {...       internal = 8300...       external = 8300...       protocol = "tcp"...     }...   ]... }"""){'variable':{'docker_ports':{'default':[{'external':8300,'internal':8300,'protocol':'tcp'}],'type':'list(object({internal=numberexternal=numberprotocol=string}))'}}}Building locallyYou can use the following commands to build a wheel for your platform:pipinstallwheel
pythonsetup.pybdist_wheelThe wheel will be available in./dist/.
Package: pygohome
pygohome: Python, Let’s Go Home. Quickly.pygohomeis a 100% personal route optimizer in a known environment based on experience.You walk/ride/drive frequently between known locations (home, work, school, shops, family, friends, …) using different routes, but would like to knowthe optimal route, that should takeyouthe least time possible?pygohomeuses your recorded GPS tracks to build a route network ofyourworld with estimation on how longyouneed to get from A to B using the mean of transport of your choice.How it worksYou track all your tripsA simple GPS track with 1 or 2 seconds interval works well. Just walk/ride/drive as you are used to, stop at lights, don’t speed. You may start tracking before you leave and stop it after you arrive.You identify your points of interest (and crossroads)pygohomedoes not use any map data, so you’ll have to help it. First, you identify all points of interest (home, work, school, shop, family, friends, pub, club, beach, …) and name them.In the current version, you’ll also have to identify all forks and crossroads where your individual GPS tracks cross, split, or join.You letpygohomebuild your worldIt will build a route network with your nodes (named POIs and identified intersections) and edges (automatically generated lists of timedeltas you needed to get between the nodes).You can find the fastest route from A to BYou can choose anywhere between “I’m feeling lucky” (i.e. Sunday 7am, sunny) and “I’d like to make sure I get there in time” (i.e. Friday 5pm, blizzard).
Package: pygoko
Goko, a Geometric Analysis LibraryThis is a covertree library with some modifications to make it more suitable for real data. Currently it only implements thefast covertree, which is an extension of the original covertree(pdf). There are plans to enable support for fullgeometric multi-resolution analysis(GMRA, where the library get it's name from) andtopological data analysis. Help is welcome! We'd love to collaborate on more cool tricks to do with covertrees or coding up the large backlog of planned features to support the current known tricks.Project Layout & DocumentationData Access is handled through thepointcloudlibrary. Seehereforpointcloud's documentation. This is meant to abstract many files and make them look like one, and due to this handles computations like adjacency matrices. The covertree implementation is inside thegokolibrary, it's the bread and butter of the library. Seeherefor it's documentation.Thepygokolibrary is a python & numpy partial wrap aroundgoko. It can access the components ofgokofor gathering statistics on your trees. Once we settle on how this is implemented we will publish the documentation somewhere.LicenseLicensed under ofApache License, Version 2.0.Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
be licensed as above, without any additional terms or conditions.
Package: pygol
Game Of LifeThis program is build to demonstrate Conway's game of life.The game has several specific rules that cells obey. The color of the cell is depended on these rules.
The rules specify how many alive or dead neighbors a cell can have to stay alive, die or give birth.Although the rules in Conway's game of life are very specific, this program will give the user the option to experiment
with these rules. The default rules in the program are based on Conway's Game of Life.Changing the rules will give a radical change to way the cells interact, this program can be used to demonstrate the
balance and see what happens if it gets disrupted.The game can be installed in the terminal/shell using: pip install pygolTo start the game use: pygol.rungame()To close the game use the close button in the game
Package: py-goldsberry
A Python Package for easily acquiring NBA Data for analysisWhat ispy-Goldsberry?py-Goldsberryis designed to give the user easy access to data
available from stats.nba.com in a form that facilitates innovative
analysis. With a few simple commands, you can have access to virtually
any data available on the site in an easy to analyze format. In fact,
some of the data is in a less summarize form giving you the opportunity
to work with the most raw data possible when you are attempting to
answer questions that interest you.Why was it built?I attended the 2015 Sloan Sports Analytics conference and had the
fortunate opportunity to listen toKirk Goldsberryaddress the crowd
regarding the state of analytics in sports (You can watch the talkhere). One of the questions he addressed at the end was related to
the availability of data (or lack thereof in some instances). Basically,
he concluded that the lack of availability of some of the newest data is
actually hindering the progression of analytics in sports. Innovation is
now restricted to those with access to data instead of to the entire
community of interested parties. I wrote (am writing) this package in an
attempt to help address this issue in whatever small way I can.This package is a work in progress. As the NBA continues to make more
data available, I will do my best to updatepy-Goldsberryto reflect
these additions. Currently, there is almost a cumbersome amount of data
available from the NBA so dealing with what is there is a bit of a
challenge.UPDATE:The NBA has apparently masked some of the tables that were previously available. The log level data is no longer available. This is disappointing as there was a multitude of research opportunities availble with the use of the data. Hopefully, the NBA will make this data available again in the near future.Getting startedTo get started withpy-Goldsberry, you need to install and load the
package. From your terminal, run the following command:pip install py-goldsberryOnce you have the package installed, you can load it into a Python
session with the following command:importgoldsberryimportpandasaspdThe package is designed to work withpandasin that the output of
each API call to the NBA website it returned in a format that is easily
converted into a pandas dataframe.Getting a List of PlayersOne of the key variables necessary to fully utilizepy-Goldsberryisplayerid. This is the unique id number assigned to each player by
the NBA.py-Goldsberryhas a top-level classPlayerList()built-in to give you quick access to a list of players and numbers.players2010=goldsberry.PlayerList(Season='2010-11')players2010=pd.DataFrame(players2010.players())players2010.head()If you want a list of every game during the current season use theGameIDs()class:games=goldsberry.GameIDs()games=pd.DataFrame(games.game_list())games.head()As you get started withpy-goldsberry, TAB completion in either Jupyter or IPython is going to be your best friend. I’m working on documetation, but there is a great deal of it to do and I don’t have that much time.
Package: pygolf
PyGolfPyGolf is a python code shortener.PyGolf takes a valid python code as input and outputs an equivalent code with fewer characters.You can find examples of reduced code in the foldercode_example. These examples mainly come fromCodinGame's Clash of Code game.Getting StartedInstallingYou can install this project directly from pypi withpip install pygolfHow to use itYou can call it using eitherpygolforpython -m pygolf.You can:Give some code with-c,pygolf -c "print( 2 )"Give an input and output file,pygolf -i input_file -o output_fileShorten code in clipboard withpygolf -cb(usefull while doing a clash of code)To modify the clipboard,pygolfrequirespyperclip. You might have some issues such asCould not find a copy/paste mechanism for your system. If so, refer topyperclip guidelines.How does it workPyGolfusesastroidto parse and apply transformations on the abstract syntax tree (AST).PyGolfparses and unparses the AST several times throughphases. Each phase comes withrules.If you want to contribute, please refer to theCONTRIBUTING.mdfile.
Package: pygom
A generic framework for ode models, specifically compartmental type problems.This package depends on:dask
matplotlib
enum34
pandas
python-dateutil
numpy
scipy
sympyand they should be installed if not already available.  Alternatively, the easier way
to use a minimal (and isolated) setup is to usecondaand
create a new environment via:conda env create -f conda-env.ymlInstallation of this package can be performed via:$ python setup.py installand tested via:$ python setup.py testA reduced form of the documentation may be found onReadTheDocs.You may get the full documentation, including the lengthy examples by locally
building the documentation found in the folder:$ docNote that building the documentation can be extremely slow depending on the
setup of the system.  Further details can be found at it’s own read me:$ doc/README.rstPlease be aware that if the module tests fails, then the documentation for the
package will not compile.Please be aware that there may be redundant files within the package as it is
under active development.ContributorsThomas Finnie (Thomas.Finnie@phe.gov.uk)Edwin TyeHannah WilliamsJonty CarruthersMartin GrunnillVersion0.1.7 Add Approximate Bayesian Computation (ABC) as a method of fitting to data0.1.6 Bugfix scipy API, pickling, print to logging and simulation0.1.5 Remove auto-simplification for much faster startup0.1.4 Much faster Tau leap for stochastic simulations0.1.3 Defaults to python built-in unittest and more in sync with conda
Package: pygon
A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.Key FeaturesModern Pythonic API usingasyncandawait.Proper rate limit handling.Optimised in both speed and memory.InstallingPython 3.8 or higher is requiredTo install the library without full voice support, you can just run the following command:# Linux/macOSpython3-mpipinstall-Upygon# Windowspy-3-mpipinstall-UpygonOtherwise to get voice support you should run the following command:# Linux/macOSpython3-mpipinstall-U"pygon[voice]"# Windowspy-3-mpipinstall-Upygon[voice]To install the development version, do the following:$gitclonehttps://github.com/Code-ParagonX/pygon$cdpygon$python3-mpipinstall-U.[voice]Optional PackagesPyNaCl(for voice support)Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g.apt,dnf, etc) before running the above commands:libffi-dev (orlibffi-develon some systems)python-dev (e.g.python3.6-devfor Python 3.6)Quick ExampleimportpygonclassMyClient(pygon.Client):asyncdefon_ready(self):print('Logged on as',self.user)asyncdefon_message(self,message):# don't respond to ourselvesifmessage.author==self.user:returnifmessage.content=='ping':awaitmessage.channel.send('pong')client=MyClient()client.run('token')Bot Exampleimportpygonfrompygon.extimportcommandsbot=commands.Bot(command_prefix='>')@bot.command()asyncdefping(ctx):awaitctx.send('pong')bot.run('token')You can find more examples in the examples directory.LinksDocumentationOfficial Discord ServerDiscord API
Package: pygoo
PyGooPyGoo is an object-mapper for graph databases, such asNeo4j.
It achieves the same goal as other object-mappers such as SQLAlchemy,
but uses graph databases as its backend.
It can also work as standalone mode, where there is no synchronization
with an underlying database but all the data is kept in memory.Note: at the moment there is still no backend available, only in-memory graphs
are allowedNews0.1.4Release date: 25-May-2011Fixed a few more small bugs0.1.3Release date: 22-Jan-2011Fixed a few bugs, should now allow to run Smewt 0.2.0.1.2Release date: 5-Dec-2010Fixed NEWS.rst file so that PyPI page doesn’t look like crap.0.1.1Release date: 3-Dec-2010Fixed previous release which somehow managed to not get the
mentioned fixes…0.1Release date: 1-Dec-2010first release that allows to have Smewt working. Still lots of
issues to fix (esp. regarding performance), but it works!0.1a1Release date: 26-Sep-2010first released development version; still not-so-nice codebase, but
has the minimum required to run Smewt without apparent bugs
Package: pygoodwe
pygoodweA command line tool and python library to query the GOODWE SEMS Portal APIs.API DocsAuto-generated documentation is here:https://yaleman.github.io/pygoodwe/InstallationYou need to have Python 3 and pip installed. Then:python -m pip install pygoodweDetermine the Station ID from the GOODWE site as follows. Open theSems Portal. The Plant Status will reveal the Station ID in the URL. Example:https://www.semsportal.com/powerstation/powerstatussnmin/11112222-aaaa-bbbb-cccc-ddddeeeeeffffThen the Station ID is11112222-aaaa-bbbb-cccc-ddddeeeeeffff.To use example.py or the other examples, copy config.py.example to config.py and add your details.ContributionsPlease feel free to lodge anissue or pull request on GitHub.ThanksOriginally based off the work ofMark Ruys and his gw2pvo software- I needed something more flexible, so I made this.DisclaimerGOODWE access is based on the undocumented API used by mobile apps. This could break at any time.Example CodePlease check out test.py in the base of the repository for some simple example code.
Package: pygoogleanalytics
## PyGoogleAnalyticsWrapper for Google Analytics API python calls### SetupFirst and foremost you need a google analytics api service account.Details are available here see https://developers.google.com/analytics/devguides/reporting/core/v4/ for more detailsInstructions are available here https://developers.google.com/analytics/devguides/reporting/core/v4/quickstart/service-py```$ pip install git+ssh://git@github.com/ademilly/pygoogleanalytics.git```### Usage```pythonimport pygoogleanalytics# Inputs for standard google analytics reporting apiapi = pygoogleanalytics.APICaller(['https://www.googleapis.com/auth/analytics.readonly'],('https://analyticsreporting.googleapis.com/$discovery/rest'),PATH_TO_P12_SECRET_FILE,SERVICE_ACCOUNT_ADDRESS)# prepare a dimensionFilterClauses with a 'and' operatorrequest_filter = pygoogleanalytics.RequestFilter('and').add_filter({"dimensionName": "some_dimension","operator": "some_operation","expressions": "some_expression"}).add_filter({"dimensionName": "some_dimension","operator": "some_operation","expressions": "some_expression"})some_kpi = pygoogleanalytics.Requester(api).build_request().for_view('some_view_id').between('some_start_date', 'some_end_date').for_variables(['var1', 'var2', ...]).with_filter_clause(request_filter).run_request().get_value('metrics')print some_kpi```output:```['some_value', ...]```
Package: pygoogleapps
pygoogleappsThe pygoogleapps package (googleapps module) is a Python library that provides an object-oriented abstraction to the Google(tm) Python-eligible APIs, as per here:https://console.cloud.google.com/apis/library. This package provides simpler credentialing and a more pythonic interface than currently available through Google's offerings in the idea of standalone programs and scripts running for a single user. This is not intended for building platforms in which many users are using the application simultaneously.pygoogleapps and its developers have no relationship with Google, Alphabet, or the Google Cloud Platform. We are merely building modules that interface with the services provided.StabilityThe current release is alpha software.  It has been released for broader use among a group of colleagues. Your mileage may vary. The interface will certainly change, and a much more dynamic and responsive version is in the works - if you are interested in this work, stay tuned for that.DistributionGitLab ProjectPyPI Distribution PageProject StatusCurrently, pygoogleapps has been used in practice but is shallowly vetted condition and should be consideredalphasoftware.InstallationUse the package managerpipto install pygoogleapps.pipinstallpygoogleappsUsagecoming soonContributingContributions are collaboration is welcome. For major changes, please contact me in advance to discuss.Please make sure to update tests for any contribution, as appropriate.AuthorKevin Crouse. Copyright, 2021.LicenseApache 2.0Acknowledgementspygoogleapps and its developers have no relationship with Google, Alphabet, or the Google Cloud Platform.
Package: pygooglechat
pygooglechatpython 으로 Googlechat webhook 보내주는 친구Python 개발자를 위한Googlechat webhook연동 패키지입니다.주의 사항이용 중 발생할 무서운 문제는 없지만 책임도 지지 않습니다.비동기를 지원하지 않습니다. Celery , asyncio 에 의존하는 것은 아주 간단하지는 않기에 추후 다른 방법으로 시도하겠습니다.비동기를 지원하지 않는 requests 모듈을 사용합니다. 요청 pending 을 피하기 위해 얄팍한 트릭을 제공합니다.제공하는 것Googlechat webhook 을 아주 조금 더 쉽게 보낼 수 있는 클래스를 제공하고 추가로 제공하는 대단한 것은 없습니다.라이브러리에서 Exception 을 처리하도록 옵션을 넣을 수 있습니다. (opt : raise_exception)http request 의 timetout 을 이용한 유사 비동기 옵션을 제공합니다.Requirementspython3 이상이면 가능합니다. fstring 만 제거해도 버전을 많이 낮출 수 있네요.python--version

--or--

python3--versionInstallation$pipinstallpygooglechatGet googlechat webhook url구글챗 웹훅 url 발급받기사용법아주쉽게frompygooglechatimportGooglechat# webhook_url 으로 챗봇 객체를 만듭니다.chat_bot=Googlechat(webhook_url='"https://chat.googleapis.com/blablablablabla...',)# 챗봇한테 명령합니다.chat_bot.send_chat("안녕 나는 챗봇이야")제공하는 옵션classGoogleChat:def__init__(self,webhook_url:str,timeout:int=None,raise_exception:bool=False,ignore_timeout:bool=False):timeout : number(default None)http request 에 timeout 옵션을 넣습니다. 채팅을 보내는 것이 비즈니스 로직의 뒷편이라면 (중요도가 낮은, 즉 오지 않아도 크리티컬하지 않는 메세지라) 굳이 response 를 얻기 위해 기다리지 않아도 되겠죠.Default 는 none 이며 이는 구글챗의 http response 를 받을 때 까지 기다림을 의미합니다.response 가 필요 없을 때 이상적인 timeout면 은 개발자의 요청이 구글챗에 닿을때까지의 시간입니다. 제 경우에는 0.2초로도 충분하네요. 0.2초 타임아웃은 send_something 을 실행하는 로직이 0.2초+a 걸린다는 의미입니다.조금 더 쉽게 말해, 0.2초만에 채팅 전송에 성공하지만 성공했다는 메세지를 구글 서버로부터 응답받기에는 2초 정도 걸리니, 1.8초를 아끼기 위한 동작이에요버하지만 구글 서버로부터의 응답 시간보다 짧은 timeout 을 걸었을 경우 pygooglechat 은 Exception 을 발생시켜요. 이를 피하기 위해선 하기에 있는 ignore_timeout 옵션 설명을 읽어주세raise_exception : bool(default False):구글챗의 응답에 따라 예외를 발생시키고 싶을 수 있습니다. 200 번대의 응답이 아니라면 우리의 챗봇은 예외를 발생시켜 줍니다.ignore_timeout : bool(default False)구글챗 서버로의 요청에 timeout 예외가 발생했을 경우 해당 에러를 try-except 구문으로 라이브러리에서 처리해줍니다. timeout 옵션과 같이쓰면 좋겠죠.
Package: pygoogleearth
NOTE: This library is not an official google library!  It is a pythonic
wrapper around the COM32 API provided by Google.PyGoogleEarth is a pythonic wrapper around the Google Earth
COM Interface documented here:http://earth.google.com/comapi/.  It
maps the functionality provided by the API to python objects and reduces
the barrier-to-entry put up by using win32com.  In addition to wrapping
the COM API it also provides some nice additions which make it easier
to manipulate Google Earth from python.
Package: pygoogle-image
pygoogle_imagePygoogle_image extracts images from google image, allowing you to download as many images as you like with just one keyword. Let's exemplify how to download images from google images for you.first import the packagepip install pygoogle-imagein the example below we will pass on the keyword 'cat' and we will limit the number of images to be downloaded to only 10from pygoogle_image import image as pi

pi.download(keywords='gatos', limit=10)if you don't specify a directory, pygoogle_image will create a folder called image at the root of the project. if you wish you can save it in a specific directorypi.download(keywords='gatos', limit=10, directory='c:\image')