Saravanan666/pypi-org huggingface dataset:
Package: gopen
Provides thegopen.readable()andgopen.gread()functions.readable(source)supportswithstatements for readable file objects:>>> with gopen.readable(source) as f:
>>>     <read from f>gread(source)returns an iterator over input lines:>>> from gopen import gread
>>> lines = gread(source)
>>> lines
<generator object gread at 0x7f45752ebf10><source>can be:a readable file object,a file descriptor anda file pathname.gzip and bzip2-compressed files will be decompressed on the fly.
No side effects: ifsourceis a file descriptor or a file handle,
it will not be closed.Example:>>> f = open('txt', 'r')
>>> for source in ['txt', 'txt.gz', 'txt.bz2', f]:
...     print('%r (%r)' % (list(gread(source)), source))
...
['Simple is\n', 'better than complex.'] ('txt')
['Simple is\n', 'better than complex.'] ('txt.gz')
['Simple is\n', 'better than complex.'] ('txt.bz2')
['Simple is\n', 'better than complex.'] (<_io.TextIOWrapper name='txt' mode='r' encoding='UTF-8'>)
>>> f.closed
FalseChanges0.6 (2019-05-27)Python3 only (>= 3.4)
Package: goPEST
goPESTgoPEST is a set of utilities used to interface PEST with Waiwera and (AU)TOUGH2 simulators.InstallThe easiest way to install goPEST is:python -m pip install gopestInput filesUser needs to prepare a few files for goPEST to work:goPESTconfig.toml, this file contains all settings/configurations related to the running of goPEST.  It is written in TOML file format.  The file should be placed in the project folder, where user runs gopest commands from.  It is possible to let goPEST generate one with default values.  The file tries to be self-explanatory with comments.goPESTpar.listis where user specifies model parameters for PESTgoPESTobs.listis where user specifies model observations for PESTBasic usageThe main CLI scriptgopestis to be followed by COMMAND and associated arguments:gopest COMMAND [ARGUMENTS]To get a list of supported COMMANDs, typegopest help.Development notesgeneralised model sequence runner? now loads user goPESTuser.py, but internal needs to generalise to have more than two run sequencein run_ns_pr, code shouldn't worry about nesi/cluster related things, maybe
not running local vs nesi eitherremove obsreref rekated things, use pest_hp nowI have checked a few PEST related Python libraries.  I am looking for something small and pure for basic editing of PEST control file.  But these are too big for my liking.  I should reconsider about using them.
Package: gopher
Download randomly generated gopher image fromgopherize.me.InstallpipinstallgopherUsageUsage:gopher[OPTIONS]Options:-o,--outputTEXTOutputfilename(png).-w,--overwriteOverwriteifthesamenamefilealreadyexists.-s,--simpleGetsimplegopher.--helpShowthismessageandexit.LICENSEMIT
Package: gopher-enrich
gopherGene ontology enrichment analysis using protein expression.Gopher uses a Mann-Whitney U Test to look for enriched gene ontology terms that are present when proteins are ranked by a quantitative value, such as the difference between two conditions or the abundance of the protein.InstallationGopher can be pip installed directly from GitHub:pipinstallgit+https://github.com/TalusBio/gopher.gitUsageGopher can be used within Python.
Currently, Gopher is pretty slow---we recommend making use of thego_subsetargument to limit the number of GO terms considered by Gopher.
Here is an example:# Import packagesimportgopherimportmatplotlib.pyplotaspltimportseabornassns# Only test a few cellular compartment GO terms:terms=["nucleus","nuclear chromosome","nucleoplasm","euchromatin","heterochromatin","protein-DNA complex","transcription regulator complex","inner mitochondrial membrane protein complex","mitochondrial nucleoid","cell surface","ER to Golgi transport vesicle membrane","organelle membrane","lysosome","cytoplasm",]# Read data from an EncyclopeDIA output:proteins=gopher.read_encyclopedia("RESULTS-quant.elib.proteins.txt")# Peform the GO enrichment analysis:results=gopher.test_enrichment(proteins=proteins,aspect="cc",go_subset=terms,progress=True,)# Format for plotting:long_df=results.melt(["GO Accession","GO Name","GO Aspect"],var_name="Run",value_name="pvalue",)long_df["neglogpval"]=-np.log10(long_df["pvalue"])# Create a plot:plt.figure(figsize=(8,3))sns.barplot(data=long_df,x="GO Name",y="neglogpval",hue="Run")plt.ylabel("$-\log_{10}$ p-value")plt.xticks(rotation=90)plt.tight_layout()plt.show()
Package: gophient
GophientGophient is client library for the Gopherspace. It doesn't require any dependencies and is easy to use.Features:Browse the GopherspaceFollow linksDownload contentExamplesGet weather from Floodgapimportgophientclient=gophient.Gopher()weather=client.request('gopher.floodgap.com','groundhog/ws')print(weather)Search by Veronicaimportgophientclient=gophient.Gopher()results=client.request('gopher.floodgap.com','v2/vs',query='plan 9')print(results)Download filesimportgophientclient=gophient.Gopher()apk=client.request('gopher.floodgap.com','overbite/files/OverbiteAndroid025.apk')withopen('app.apk','wb')asapk_file:apk_file.write(apk)
Package: gopipexample
go pip exampleSimple example showing packaging of go binaries in pipFree software: Apache Software License 2.0Documentation:https://gopipexample.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-08-14)First release on PyPI.
Package: go-pkg
Test Pip Install with GoThis is a simple project demonstrating how to package a Go binary along with a Python wrapper and make it installable using pip.Getting StartedGo BinaryThe Go binary in this project prints "Hello from Go!".Python WrapperThe Python wrapper script (wrapper.py) executes the Go binary and prints its output.TestsThe python file (wrapper_test.py) executes one tests to test the output of the golang binary.InstallationYou can install this package using pip:pipinstallgo-pkg
Package: goplus-py
Python SDK for GOPLUSPLATFORM=============================`GOPLUSPLATFORM <http://goplusplatform.com>`is a cloud based platform that helps young developers to connect different types of IoT devices and create smart services in real time. The platform provides an intuitive user interface for adding and managing devices, simple event-driven logig rules and API for third-party developers. IoT developers can utilize GOPLUSPLATFORM as the backend infrastructure throughout the entire service development cycle, from prototyping to product launch.This Package provide functions for connecting IoT devices (such as Raspberry Pi or Intel Edison) to platform.
Package: gopm
Godot Package ManagerA python script to download and update Git-based packages and their dependencies.InstallationpipinstallgopmUsageRungopm.pyin the game directory. Usegopm -hto show the usage:Usage: gopm [COMMAND] [-v]  ...u / updateUpdate all packagess / upgradeUpgrade all packages to the latest versioni / installInstall a package from a git
URI or search and install a package from Githubr / removeUninstall the specified package-v / --verboseEnable verbose logging-h / --helpShow this help messageInstalled addons will be put in theaddonsfolder.Note that you still need to enable some plugins in the project settings.Creating PackagesAn installable package needs to have anaddonsfolder with one or multiple folders inside, and optionally agodotmodules.txtfile with dependencies.
Package: goppy
OverviewGopPy (Gaussian Online Processes for Python) is a pure Python module providing
a Gaussian process implementation which allows to add new data efficiently
online. I wrote this module because all other Python implementations I knew did
not support efficient online updates.The feature list:scikit-learncompatible interface.Efficient online updates.Prediction of first order derivatives.Estimation of the log likelihood and its derivative.Well documented.Good test coverage.MIT license.DocumentationThe documentation can be found athttps://goppy.readthedocs.io/en/latest/.InstallationYou can install GopPy with pip:pip install goppy
Package: goprocam
GoPro API for PythonUnofficial GoPro API Library for Python - connect to GoPro cameras via WiFi.Compatibility:HERO3HERO3+HERO4 (including HERO Session)HERO+HERO5 (including HERO5 Session)HERO6Fusion 1HERO7 (Black)HERO8 BlackMAXHERO9 BlackInstallationFrom PyPi:pip install goprocamGit (unstable):gitclonehttp://github.com/konradit/gopro-py-apicdgopro-py-api
pythonsetup.pyinstallTested on Python 3.6.0--works on Linux and Windows and MacQuick start:Connect your camera to your computer via WiFi (WiFi on the camera must be on!)fromgoprocamimportGoProCamera,constantsgoproCamera=GoProCamera.GoPro()goproCamera.shoot_video(10)Examples:Seeexamplesfor examples on how to use this API.Documentation:Documentation is available:docsVideo screencap:HERO4 Black:https://vimeo.com/209079783HERO4 Session:https://vimeo.com/209129019HERO3 Black:https://vimeo.com/209181246HERO5 Black:https://vimeo.com/235135652HERO7 Black:https://www.youtube.com/watch?v=i-X4fPVfoW0
Package: goprohero
goproheroA Python library for controlling GoPro cameras over http.DescriptionThis package includes a both a library and a command line interface that
can interface with GoPro HERO3, HERO3+, and HERO4 cameras over http.The library can be used to set any of the configurable options of the
camera and can also interpret the camera’s status details. OpenCV (if
installed) is used to open the live stream and save a single frame.The command line interface utilizes thewirelesslibrary to
control one or more cameras from a single command.For more advanced management of multiple cameras, check out theGoProControllerandGoProControllerUIpackages which allow for command queuing and status history as well as
an interface to view the live stream image captures.Requirements:GoPro HERO3, GoPro HERO3+, or GoPro HERO4A computer with a wireless card(optional) OpenCVDocumentationDocumentation is available onreadthedocs.org.
Package: go-project-cli
go-project-cliGolang Project Folder and File Creation CLICommandnewcreate package with Controller, Service, Model, Repositoryprojectcli new [package name]projectclinew[packagename]Examples of executions.
  └── package_name/
    ├── controllers/
    │   └── controller.go
    ├── services/
    │   └── service.go
    ├── repositories/
    │   └── repository.go
    └── models/
        └── model.gogeneratecreate semantic folders and files such as controllers, services, and modelsprojectcli generate [schematic] [package name]Examples of executionsprojectcli generate co [package name].
  └── controllers/
    └── controller.gosemanticsnamealiasdescriptioncontrollercoGenerate a controller declaration.servicesGenerate a service declaration.modelmGenerate a model declaration.repositoryrGenerate a repository declaration.
Package: gopro-overlay
Create video overlays from GoPro Videos or any GPX/FIT fileDiscuss onGitHub DiscussionsOverlaying exciting graphics onto GoPro videos with super-exact synchronizationCreate videos from any GPX or FIT file - no GoPro requiredSupport multiple resolutions, most GoPro models, normal, timelapse & timewarp modesSupport GPUs to create movies at up to 17x realtimeConvert GoPro movie metadata to GPX or CSV filesCut sections from GoPro movies (including metadata)Linux, Mac, Windows!ExamplesAn Example of 'overlay only' mode, which generates movies from GPX filesExample fromexamples/layoutMap StylesAlmost 30 different map styles are supported! - Seemap stylesfor moreRequirementsPython3.10 (development is done on Python3.11)ffmpeg (you'll need the ffmpeg program installed)libraqm (needed byPillow)More InformationSee:-https://github.com/time4tea/gopro-dashboard-overlay
Package: gopro-renamer
GoPro Chaptered Video File RenamerThis script alters the naming convention of chaptered videos created by older GoPro
HERO3 to HERO 2018 cameras (seehttps://gopro.com/help/articles/question_answer/GoPro-Camera-File-Naming-Convention)
into a more user-friendly format.In these older cameras, chaptered video files are named such that they don't
appear next to each other when ordered. To illustrate this, take for example
two sets of videos (892 and 893) that were broken up into chapters by
the camera and one single video (891):GOPR0891.mp4    <- single video 891
GOPR0892.mp4    <- multi-video 892-1
GOPR0893.mp4    <- multi-video 893-1
GP010892.mp4    <- multi-video 892-2
GP010893.mp4    <- multi-video 893-2
GP020893.mp4    <- multi-video 893-3gopro_renameraddresses this by renaming your files so that they are grouped
together when ordered:GOPR0891.mp4 -> GOPR0891_1.mp4
GOPR0892.mp4 -> GOPR0892_1.mp4
GP010892.mp4 -> GOPR0892_2.mp4
GOPR0893.mp4 -> GOPR0893_1.mp4
GP010893.mp4 -> GOPR0893_2.mp4
GP020893.mp4 -> GOPR0893_3.mp4InstallationInstall viapip:pip install gopro_renamerTo install manually, clone this repository and run:cd gopro_renamer
pip install .UsageIf desired, make a backup of your files before proceeding as your files will be
irrevocably renamed. A dry run can also be performed by including the-tflag.To run the app:gopro-renamer <gopro_directory>The app will search inside the specified folder formp4files that follow
GoPro's naming convention, and rename them accordingly.Non-chaptered videos will be renamed as well.A log of changes will be saved in the file<gopro_directory>/gopro-renamer.log.A set of dummy test files are provided in the foldertest_inputsto perform a
trial run:gopro-renamer test_inputsOptionsFor additional options, run:> gopro-renamer -h

usage: renamer.py [options] folder_containing_gopro_videos

Rename GoPro video files. Renaming cannot be undone. Use at your own risk. To perform a test
run, use option -t.

positional arguments:
  gopro_dir             GoPro video directory

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -s STARTNUM, --start STARTNUM
                        Starting chapter number [1]
  -p PREFIX, --prefix PREFIX
                        Prefix of renamed files [GOPR]
  -t, --test            Perform dry run for testing (no renaming will take place) [False]
  -n SIZE               Number of leading zeroes for chapter number (e.g. if -n
                        is 2, then chapters will be 01, 02, etc.) [3]
  -e EXT, --ext EXT     Extension of files to rename (case insensitive) [MP4]DisclaimerThis is a personal project and not affiliated with GoPro. Use at your own risk
(seeLICENSE).AcknowledgementsThank you to allcontributorswho have helped improve this tool!
Package: gopro-sync
GoPro SynchronizerTired ofGoPro Cloudnot working?Did you miss the oldGoPro softwareto sync videos?This tool is what you're searching for (if you're a sheel enjoyer)InstallationThe tool can be downloaded directly fromPyPi.pipinstallgopro-syncUsageYou can see the help,-h, man to know all the possibile commands.gopro-sync-h
Package: gopro-video-sync
GoPro Video SyncA tool to determine the offset between videos from two jointly mounted GoPros based on a combination of audio, accelerometer, and gyroscope data.InstallationInstallgopro-video-syncfrom PyPI:pipinstallgopro-video-syncOr from the source on GitHub:pipinstall"gopro-video-sync @ git+https://github.com/evoth/gopro-video-sync"The package will be installed with the module namegopro_video_sync.Usage examplePrint the required adjustment to sync videos from two jointly mounted GoPros:fromgopro_video_syncimportgopro_offsetvideo_1="GOPR1569.MP4"video_2="GOPR0105.MP4"offset,source_1,source_2=gopro_offset(video_1,video_2)ifoffsetisNone:print("Could not determine offset between the given videos.")else:offset=round(offset,3)ifoffset>0:print(f"Trim the first{offset}seconds of{video_1}to sync the videos.")elifoffset<0:print(f"Trim the first{-1*offset}seconds of{video_2}to sync the videos.")else:print("Videos are already synced.")How it worksSince I had wanted to sync videos from two GoPros that were mounted together, I realized that the gyroscope and accelerometer information from each should be identical. GoPros store sensor data inside MP4 files in a format calledGPMF, developed by GoPro for this very purpose. So, this program extracts the GPMF data from each video file and usescross-correlationto attempt to line up the videos.If the individual offsets obtained from the gyroscope and accelerometer data do not agree, then the audio data is used in an attempt to verify one of the sensor offsets. If this does not work, then the offset can not be determined.
Package: gopup
gopup (python3)建议安装方法pip install gopup升级方法pip install gopup --upgradeGoPUP 支持Python 3.7+，旨在使获取数据尽可能方便，主要用于学术研究目的。GoPUP 项目所采集的数据皆来自公开的数据源，不涉及任何个人隐私数据和非公开数据。 同时本项目提供的数据接口及相关数据仅用于学术研究，任何个人、机构及团体使用本项目的数据接口及相关数据请注意商业风险。部分接口需要TOKEN，官网注册获取TOKEN文档：中文文档快速开始import gopup as gp
df = gp.weibo_index(word="疫情", time_type="1hour")
print(df)数据仓库指数数据微博指数数据百度指数数据百度搜索数据百度资讯指数百度媒体指数百度需求图谱百度人群画像年龄分布百度人群画像性别分布百度人群画像兴趣分布算数数据算数指数数据算数相关性分析算数地域分析算数城市分析算数年龄分析算数性别分析算数用户阅读兴趣分类谷歌指数数据谷歌指数数据谷歌事实查证搜狗指数数据搜狗指数趋势数据宏观数据中国宏观数据中国宏观杠杆率数据国内生产总值数据居民消费价格指数(CPI)工业品出厂价格指数(PPI)采购经理人指数(PMI)存款准备金率数据货币供应量数据外汇储备数据货币汇率数据工业增加值增长财政收入社会消费品零售总额信贷数据外商直接投资数据(FDI)利率数据Shibor数据Shibor报价数据Shibor均值数据LPR数据新经济公司千里马公司独角兽公司倒闭公司商业特许经营公司KOL数据微博数据账户基本数据微博信息信息数据新闻联播文字稿历史上的今日百度风云榜百度实时热点榜百度今日热点榜百度百科热词榜微博热搜榜微博热搜榜微博新时代榜微信热词榜微信热词榜微信热门榜知乎热搜榜知乎热搜榜知乎热榜豆瓣排行榜豆瓣新片榜豆瓣一周口碑榜中国电竞价值排行榜俱乐部排行榜选手排行榜生活数据老黄历中国油价数据汽柴油历史调价信息调价日的地区油价历史数据百度迁徙数据迁入与迁出地详情迁徙规模诗词数据唐代诗人唐诗数据火车数据车站信息车次时刻表影视数据实时电影票房数据单日电影票房数据单日影院票房数据实时电视剧播映指数实时综艺播映指数艺人商业价值艺人流量价值全国高校全国普通高等学校名单全国成人高等学校名单全国高等学校详情数据疫情数据网易疫情数据丁香园疫情数据疫情历史数据百度疫情数据版本更新0.3.8 
指数数据：迭代百度指数

0.3.6
生活数据: 老黄历
信息数据: 中国电竞价值排行榜 

0.3.5
生活数据: 车站信息、车次时刻表

0.3.4
信息数据: 历史上的今日、百度风云榜、微博热搜榜、微信热词榜、知乎热搜榜、豆瓣排行榜

0.3.3 
指数数据：搜狗指数趋势数据

0.3.2 
中国宏观数据： 工业增加值增长、财政收入、社会消费品零售总额、信贷数据、外商直接投资数据(FDI)
迭代百度迁入与迁出地详情

0.3.1
迭代微博数据采集

0.3.0
中国宏观数据：国内生产总值数据、居民消费价格指数(CPI)、工业品出厂价格指数(PPI)、采购经理人指数(PMI)、存款准备金率数据、货币供应量数据、外汇储备数据

0.2.9.1
迭代百度指数解析问题

0.2.9
迭代头条指数改为算数指数，分为头条、抖音两套指数

0.2.8
全国高校：全国高等学校详情数据
百度迁徙数据：迁入与迁出地详情、迁徙规模

0.2.7
诗词数据：唐代诗人、唐诗数据
迭代百度搜索指数、百度资讯指数、百度媒体指数

0.2.6
中国油价数据：汽柴油历史调价信息、调价日的地区油价历史数据

0.2.5.1108
宏观经济：货币汇率数据

0.2.5
百度指数数据：百度需求图谱、百度人群画像年龄分布、百度人群画像性别分布、百度人群画像兴趣分布

0.2.4
全国高等学校名单：全国普通高等学校名单、全国成人高等学校名单

0.2.3
头条指数数据：头条指数数据、头条相关性分析、头条情感分析、头条地域分析、头条城市分析、头条年龄分析、头条性别分析、头条用户阅读兴趣分类
谷歌指数数据：谷歌指数数据、谷歌事实查证

0.1.9
影视数据：电影票房数据、影院票房、电视剧播映指数、综艺播映指数、艺人商业价值、艺人流量价值

0.1.8
新经济公司：千里马公司、独角兽公司、倒闭公司、商业特许经营公司

0.1.4
利率数据：Shibor数据、Shibor报价数据、Shibor均值数据、LPR数据

0.1.1
宏观经济：中国宏观经济

0.1.0 
规范说明文档格式
指数数据：微博指数、百度指数
疫情数据：网易疫情数据、丁香园疫情数据、百度疫情数据、百度迁徙数据、疫情历史数据
Package: gopy
Python Data Structures and AlgorithmsOne utilityto get all the algorithms fast and ready into your project, analyze theirvisualizationsfor your specific test case (not nature of increase but actual running time) andstudytheir implementation for academic purposes. :+1:This library is under active development. :star: Star the repo for updates.InstallationUsageApi DocsFor AnalysisList of ImplementationsContributeSupportApi DocsRead the full doumentation hereAPI DocsInstallpip3installgopyorpipinstallgopyUsageYou can test this by making a python filetest.pyExample:Bubble Sortfromgopy.sortingimportbubbleprint(bubble.sort([5,4,3,2,1]))Output:[1,2,3,4,5]Example:Linear Searchfromgopy.searchimportlsearchprint(lsearch.search(3,[5,4,3,2,1]))Output:2Example:Binary Searchfromgopy.searchimportbsearchprint(bsearch.search(30,[5,4,3,2,1]))Output:NotFoundFor AnalysisBuilding awesome visualizations for algorithmsAlthough on paper one algorithm might prove better than other but it's mostly based on nature of order of increase in
running time with respect to input size.
However, in practice an algorithm having higher runtime complexity than others may actually have a smaller runtime
for your specific test case.
With gopy, you can test each algorithm's behavior for your specific input and test case and compare actual running times in practice.eg:test for knuth_morris_prattfromgopy.profileimportprofilefromgopy.strings.knuth_morris_prattimportmatchprint(profile('match("ABCDAADDABCABAB","A")'))This will make in depth visualizations in your browser for the kmp algorithm.List of implementationssortingbubblesearchinglinear searchbinary searchContributingAny form of contribution is welcome :smile:SupportIf this project helps you, consider supportingORPaypal
Package: gor
Python library forGoReplay Middleware, API is quite similar toNodeJS libraryInstallationTo install GorMW, simply:$pipinstallgoror from source:pythonsetup.pyinstallGetting StartedInitialize a AsyncioGor based middleware and start it in the following way:fromgor.middlewareimportAsyncioGorproxy=AsyncioGor()proxy.run()Basic idea is that you write callbacks which respond to request, response, replay, or message events, which contains request meta information and actuall http paylod. Depending on your needs you may compare, override or filter incoming requests and responses.You can respond to the incoming events using on function, by providing callbacks:defon_request(proxy,msg,**kwargs):# do anything you want with msg# msg is a GorMessage objectpassproxy=AsyncioGor()proxy.on('request',on_request)proxy.run()You can provide request ID as additional argument to on function, which allow you to map related requests and responses. Below is example of middleware which checks that original and replayed response have same HTTP status code. Have a try with the following command and sample middleware.gor--input-raw:14000--middleware"/path/to/middleware.py"--output-http-track-response--input-raw-track-response--output-http"http://127.0.0.1:14001"# coding: utf-8importsysfromgor.middlewareimportAsyncioGordefon_request(proxy,msg,**kwargs):proxy.on('response',on_response,idx=msg.id,req=msg)defon_response(proxy,msg,**kwargs):proxy.on('replay',on_replay,idx=kwargs['req'].id,req=kwargs['req'],resp=msg)defon_replay(proxy,msg,**kwargs):replay_status=proxy.http_status(msg.http)resp_status=proxy.http_status(kwargs['resp'].http)ifreplay_status!=resp_status:sys.stderr.write('replay status [%s] diffs from response status [%s]\n'%(replay_status,resp_status))else:sys.stderr.write('replay status is same as response status\n')sys.stderr.flush()if__name__=='__main__':proxy=AsyncioGor()proxy.on('request',on_request)proxy.run()NoteSince the release v0.2.x, Python2.7 and Python3.4 are not supported any more, the minimum supported Python version is 3.5.2. Besides the release v0.1.x is still compatible with Python2.7 and Python3.4.Mutiple middleware choicesThis library provides multiple middleware to choice, currently includesAsyncioGor, implements based on python3 asyncioMultiProcessGor, implements based multi processing