Saravanan666/pypi-org huggingface dataset:
Package: giggity
Giggity - grab hierarchical data about a github organization, user, or repoGet information about an organization, user, or repo on github. Stores all data in a json file, organized in a tree of dictionaries for easy database transfer or data analysis. All done through the github api, with or without authentication (authentication highly recommended).Setuppip3 install giggityor clone the repository and run:pip3 install -r requirements.txtOperationgiggity.py [-h] [-v] [-a] [-u] [-o] [-O OUTPUT] path

positional arguments:
  path                  name of organization or user (or url of repository)

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         increase output verbosity
  -a, --authenticate    allows github authentication to avoid ratelimiting
  -u, --user            denotes that given input is a user
  -o, --org             denotes that given input is an organization
  -O OUTPUT, --outfile OUTPUT
                        location to put generated json fileExample of Scraping a Userpython3 giggity.py -a -O needmorecowbell.json -v -u needmorecowbellThis will ask for authentication credentials, put the program into verbose mode, scrape github for the user needmorecowbell, then put the results into needmorecowbell.jsonExample of Scraping an Organizationpython3 giggity.py -a -o github -O github.jsonThis will ask for authentication, scrape the github organization on github, then put out the results in github.jsonGiggity as a Modulegiggity can also be used as a module -- all data is stored within orgTree as a nested dict.fromgiggityimportgiggityg=giggity("username","password")data=g.getUsers("organization-name",followers=True)print("List of users in organization: ")foruser,infoindata.items():print(user)data=g.getEmails("username",verbose=True)# Get any emails foundOther examples of how to use giggity are available in the util folder.Example OutputWhenpython3 giggity.py -a -u geohot -O output.jsonis used..output.json contains:{"emails":["george@comma.ai","other emails taken out of example"],"names":["Charles Ellis","George Hotz"],"repos":{"ORB_SLAM2":{"created_at":"2017-04-08T00:21:13Z","description":"ORBSLAM2 running on Mac OS X cause I was on a plane and bored and maybe useful for someone?","fork":true,"name":"ORB_SLAM2","updated_at":"2018-10-22T23:51:28Z","url":"https://github.com/geohot/ORB_SLAM2"},{Manymorerepositoriescutoutfortheexample},"xnu-deps-linux":{"created_at":"2013-10-02T00:36:29Z","description":"Mig/cctools for Linux combo makefile thingy","fork":true,"name":"xnu-deps-linux","updated_at":"2016-05-01T16:04:45Z","url":"https://github.com/geohot/xnu-deps-linux"}}}
Package: gignore
Table of contentsOverviewCLIUsageSupported Python VersionsInstallationAuthorsLicenseOverviewgignoreGet.gitignorefiles fromgithub/gitignore.CLIgignorecomes with a Command Line Interface and works just like any
other unix based command line application.The output ofgignorewill be echo out to command line and can be simply
pipe to other applications.UsageCLI$ gignore Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
....Backend>>> from gignore import Gignore
>>> gig = Gignore('Python')
>>> gig.get_gitignore_file()
>>> print(gig.get_file_content())
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
# ....
>>>Supported Python Versionsgignorecurrently can be run on multiple python versions:Python 2 (2.7)Python 3 (3.2, 3.3, 3.4)PyPyInstallationgignoreis available on pypihttp://pypi.python.org/pypi/gignoreSo easily install it bypip$ pip install gignoreOr byeasy_install$ easy_install gignoreAnother way is by cloningpython-gignore’sgit repo$ git clone git://github.com/Alir3z4/python-gignore.gitThen install it by running:$ python setup.py installAuthorsgignorewas originally created in the late 2014 at home,
the bedroom division of the Alireza’s place somewhere on planet earth maybe.The PRIMARY AUTHORS are (and/or have been):Alireza Savand <alireza.savand@gmail.com>François‎And here is an inevitably incomplete list of MUCH-APPRECIATED CONTRIBUTORS –
people who have submitted patches, reported bugs, added translations, helped
answer newbie questions, and generally madegignorethat much better:Alireza Savand <alireza.savand@gmail.com>A big THANK YOU goes to:François‎ for convincing Alireza to start the project.Guido van Rossum for creating Python.Licensegignoreis distributed under the terms of BSD license.
Package: gigrator
GigratorGit 代码仓批量迁移Startgitclonehttps://github.com/k8scat/gigrator.gitcdgigrator
pip3install-rrequirements.txt# 迁移前需在配置文件(settings.py)中配置 SOURCE_GIT 和 DEST_GIT# 配置参考: settings_example.pypython3gigrator.pyDevelop# Base classclassGit:pass# Other GitServer class should inherit GitclassOtherGit(Git):passSupportGiteeGitLabGitHubGiteaCodingGogs腾讯工蜂BitbucketNote:不支持迁移至Coding, 可从 Coding 迁移至其他Git服务器由于Coding的升级, 其基础API不再是https://coding.net, 而改为:https://{username}.coding.net迁移前请确认已在Git服务器上添加SSH Key只能迁移指定用户下的仓库, 即{username}/{repo_name}, 不包括参与的或者组织的仓库迁移包括commits、branches和tags, 不包括issues、pr和wikiEnvironmentGitPython开发环境:git version 2.20.1 (Apple Git-117)+Python 3.7.2DependenciesRequestsReferencesGitLabGitLab API DocsGitLab Create RepoProject visibility levelGitLab GraphQL APICan not create a project!It will co-exist with the current v4 REST API. If we have a v5 API, this should be a compatibility layer on top of GraphQL.Introduction to GraphQLGraphQL API ResourcesGitHub REST API v3GitHub Create RepoGitHub Personal Access TokenGitHub GraphQL API v4GraphQL resource limitationsForming Calls with GraphQLGiteeGitee OpenAPIGitee Personal Access TokenGiteaGitea APIGet a repoCreate a repoList the repos that the authenticated user owns or has access toGogsgogs/docs-apiDemo siteCodingOpen APIGF (腾讯工蜂)Open APIGraphQL ClientsgqlcLicenseMIT
Package: gigsebook
GiGS-eBooka python library to search free eBooks online usingLibrary Genesis's databaseInstallationpip3 install gigsebookTODOBetter error handlingUSAGEimport the class FetchDatafrom gigsebook import FetchDatainitialize an instance ofFetchDatawith the queryoutput = FetchData('your_query')nowoutput.datashould be filled with the returned info, use it to your needs. e.g.print(output.data)should provide you with:[
    {
        'title': 'dummy',
        'author': 'dummy, dummy2',
        'year': '0000',
        'publication': 'dummy',
        'pages': '0',
        'language': 'dummy',
        'size': '0 Bytes',
        'extention': 'none',
        'links': ['https://example.example',
                  'https://example2.example']
    },

    {
        'title': 'dummy',
        'author': 'dummy, dummy2',
        'year': '0000',
        'publication': 'dummy',
        'pages': '0',
        'language': 'dummy',
        'size': '0 Bytes',
        'extention': 'none',
        'links': ['https://example.example',
                  'https://example2.example']
    },

    .
    .
    .
]Note that the output above is not JSON, It's just a list of dictionaries. The representation is just to make it readable.NOTESI DO NOT RECOMMEND PIRACY OF ANY CREATION, BUY THE ORIGINAL COPIES TO SUPPORT THE AUTHOR. THIS CODE IS FOR EDUCATIONAL PURPOSES. FOR OTHER USES, YOU ARE RESPONSIBLE FOR WHAT YOU DO.LICENSELicensed under MIT LicenseCopyright (c) 2020 Gaurav Kumar YadavHead over to theLICENSEfor details
Package: gigya-server-lib
Notice: This work is not sponsored or otherwise acknowledged by Gigya Inc in any way shape or form.Gigya Server Lib (gslib) is a python adaptation of theGigya Server SDKto python.Typical UsageProperly initialized, gslib is very simple to use:# Make a request to gigya (retrieve a user's data from GCS)
gslib.Request('gcs.getUserData',
              params={"UID": '<user UID>', "fields": "*"},
              use_https=True).send()

# Verify an event's signature (gigya_dict contains a json response
# loaded to a dict with json.loads)
# See: http://bit.ly/NZ2Bpc
gslib.SigUtils.signature_validate(gigya_dict['signatureTimestamp'],
                                    gigya_dict['UID'],
                                    gigya_dict['UIDSignature'])InstallationTo install Gigya Server Lib, simply:$ pip install gigya-server-libOr, if you’re running on an old and busted environment:$ easy_install gigya-server-libInitializationIf used inside a django application gslib will automatically look for the following settings:settings.GIGYA_API_KEY
settings.GIGYA_SECRET_KEYIf used inside a flask application, initialization can be done by callinggslib.initialize_app, gslib will expect similar keys on the flask app’s config (GIGYA_API_KEYandGIGYA_SECRET_KEY).Otherwise the api key and secret key can be sent as arguments to the constructor of agslib.Request.History0.1.6 (2013-03-14)Who would’ve guessed, changing requests to be versionless has indeed bit me in the ass.0.1.3 (2012-08-26)changed requests’ installed_requires to be versionless (this will probably never bite me in the ass, nope, not at all)first working version successfully published to PyPI0.1.2 (2012-08-26)removed import from setup.py and manually added data to prevent importing requests library when doing the setup0.1.1 (2012-08-26)added newlines to LICENSE.txt0.1.0 (2012-08-20)Initial release.
Package: giig
gitignorePython 3 gitignore fetcher based ongitignore.ioInstall# pip3 install giigUsageusage: giig [-h] [--list] [--search SEARCH] [--file [FILE]] [lang [lang ...]]

Download .gitignore files from gitignore.io

positional arguments:
  lang                  language, IDE or OS to include in the .gitignore file

optional arguments:
  -h, --help            show this help message and exit
  --list, -l            list all language, IDE or OS options
  --search SEARCH, -s SEARCH
                        search list of options and print matches
  --file [FILE], -f [FILE]
                        specify which file to write toPrint listPrint list of all possible options for gitignore.iogiig -lSearchSearch for specific term (e.g. python)giig -s pythonPrint to stdoutgiig pythonWrite .gitignore filegiig -f -- pythonUse custom filegiig -f custom-file.txt pythonUse as libraryimportgiig# get list of languages, IDEs, etc.giig.get_list()# get list of languages, IDEs, etc.giig.search(term)# get gitignore for one/several languages, IDEs, etc.# where options is a list of termsgiig.get_ignore(options)Todomake giig print to stdout without-fadd cache (don't need to query gitignore.io everytime)
Package: giigd
gitignore cli python(giig)milestonegitignore api 호출해서 gitignore 출력gitignore api 호출해서.gitignore파일 생성검색 기능리스트 출력 기능default 추가 기능installationgitclonehttps://github.com/ksundong/gitignore-cli-py.git
python3setup.pyinstall또는pip3installgiigdupdatepip3 install giigd --upgradehow to usegiig [-h|--help]로 도움말을 볼 수 있습니다.$giig--help
Usage:giig[OPTIONS]COMMAND[ARGS]...

Options:-v,--versionShowversion-h,--helpShowthismessageandexit.

Commands:listShowalistoftheignorableitemsmakeMake.gitignoresearchFuzzysearchinignorableitemsshowShowapiresultsoption-h,--help옵션은 도움말을 보여줍니다.-v,--help옵션을 사용하면 버전을 알 수 있습니다.commandlist이 커맨드는 gitignore.io의 적용가능한 목록들을 불러옵니다. (출력 엄청 많음)search이 커맨드는 검색 키워드(1개)를 인자로 받아 관련성이 높은 item들을 보여줍니다.$giigsearchpy
Finding...py['jupyternotebooks','pycharm','pycharm+all','pycharm+iml','pydev']show이 커맨드는 인자로 item들을 받아서 터미널에 내용을 출력해줍니다.$giigshowjava# Created by https://www.toptal.com/developers/gitignore/api/java# Edit at https://www.toptal.com/developers/gitignore?templates=java### Java #### Compiled class file*.class# Log file*.log# BlueJ files*.ctxt# Mobile Tools for Java (J2ME).mtj.tmp/# Package Files #*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xmlhs_err_pid*# End of https://www.toptal.com/developers/gitignore/api/javamake이 커맨드는 인자로 item들을 받아서.gitignore파일을 만들어줍니다.$giigmakemacoskotlinintellij
Making...['macos','kotlin','intellij']Done!!['macos','kotlin','intellij']make option-a로 기존 파일에 덧붙일 수 있습니다.
Package: giji-rtwo
giji-rtwo 0.1.1A unified interface into multiple cloud providers.Fork from cyverse/rtwo----giji-rtwo====[![Build Status](https://travis-ci.org/CCI-MOC/giji-rtwo.svg?branch=master)](https://travis-ci.org/CCI-MOC/giji-rtwo)A unified interface into multiple cloud providers.Built on top of Apache libcloud with support for modern OpenStack. Also supports legacy Eucalyptus 2.x and AWS.# Install #```bashpip install giji-rtwo```## Or from source ##```bashpip install -e git://github.com/CCI-MOC/giji-rtwo#egg=giji-rtwo```# Use #```pythonIn [1]: import giji_rtwoIn [2]: from giji_rtwo.provider import OSProviderIn [3]: from giji_rtwo.identity import OSIdentityIn [4]: from giji_rtwo.driver import OSDriverIn [5]: from giji_rtwo.accounts.openstack import AccountDriverIn [6]: osp = OSProvider()In [7]: ad = AccountDriver()In [8]: ad.create_account("awesomeo")Out[8]:(<User {u'email': u'awesomeo@iplantcollaborative.org', u'tenantId': u'97dfaaebb0d943baa0cfa7cbd3bf24d5', u'enabled': True, u'name': u'awesomeo', u'id': u'3d3ca254e7054fdcaa54f473e4d5b59f'}>,'yourpassword',<Tenant {u'enabled': True, u'description': None, u'name': u'awesomeo', u'id': u'97dfaaebb0d943baa0cfa7cbd3bf24d5'}>)In [9]: osi = OSIdentity(osp, key=OPENSTACK_ADMIN_KEY, secret=OPENSTACK_ADMIN_SECRET, user="awesomeo", auth_url="http://openstack-server.org:port/v2.0", password=ad.hashpass("awesomeo"), region_name="ValhallaRegion", ex_tenant_name="awesomeo", username="awesomeo")In [19]: osdriver = OSDriver(osp, osi)In [11]: sizes = osdriver.list_sizes()In [12]: machines = osdriver.list_machines()In [13]: osdriver.create_instance(name="Lame.", image=machines[-1], size=sizes[1])Out[13]: <class 'giji_rtwo.instance.OSInstance'> {'name': 'Lame.', 'ip': None, 'machine': {'alias': '7819f88b-b335-449d-b17f-ed3af350c918', 'provider': 'OpenStack', 'id': '7819f88b-b335-449d-b17f-ed3af350c918', 'name': 'Ubuntu 12.04 NoGui 4GB 64-bit bare'}, 'alias': '2b3a1021-aaed-439f-a6b6-5e6f1a9d1fd5', 'provider': 'OpenStack', 'id': '2b3a1021-aaed-439f-a6b6-5e6f1a9d1fd5', 'size': {'alias': '2', 'bandwidth': None, 'disk': 10, 'name': 'm1.small', 'price': 0.0, 'ram': 2048, 'id': 'm1.small', 'cpu': 1}}In [14]: osdriver.list_instances()Out[14]: [<class 'giji_rtwo.instance.OSInstance'> {'name': 'Lame.', 'ip': None, 'machine': {'alias': '7819f88b-b335-449d-b17f-ed3af350c918', 'provider': 'OpenStack', 'id': '7819f88b-b335-449d-b17f-ed3af350c918', 'name': 'Ubuntu 12.04 NoGui 4GB 64-bit bare'}, 'alias': '2b3a1021-aaed-439f-a6b6-5e6f1a9d1fd5', 'provider': 'OpenStack', 'id': '2b3a1021-aaed-439f-a6b6-5e6f1a9d1fd5', 'size': {'alias': '2', 'bandwidth': None, 'disk': 10, 'name': 'm1.small', 'price': 0.0, 'ram': 2048, 'id': 'm1.small', 'cpu': 1}}]```# LicenseSee LICENSE file.----For more information, please see: https://github.com/CCI-MOC/giji-rtwo
Package: gilbert
GilbertAnother static site generator.https://en.wikipedia.org/wiki/William_Gilbert_(astronomer)This README contains a brief introduction to the project. Full documentationis available here.Quick StartInstall gilbert:$ pip install gilbertCreate a gilbert project:$ gilbert --root mysite init(You can omit--rootif it's the current directory.)Create page files in mysite/pages/Render your site:$ gilbert --root mysite renderHave gilbert serve your site:$ gilbert --root mysite serveServe your site and re-render on changes:$ gilbert --root mysite serve --watchFinally, list all loaders and plugins:$ gilbert --root mysite pluginsInstallation requirementsGilbert current requires Python 3.7 or greater.
Package: gild
Gild is collection of tools and basic plugin to ease the development of plugin
based application within the Enaml framework.Most of Gild was first developed as part of Exopy and have been extracted when
it appeared clear they could be useful in other applications.InstallationGild relies on the Qt backend of Enaml and like Enaml itself it supports both
Qt5 and Qt6 using either PyQt or PySide bindings. Which bindings to use has to be selected at installation time:pip install gild[qt5-pyqt]
pip install gild[qt5-pyside]
pip install gild[qt6-pyqt]
pip install gild[qt6-pyside]
Package: gileum
gileumInstallingPython: >= 3.7python -m pip install gileumBasic Usagegileumis a loader of configuration scripts written in Python. Ongileum, a configuration can be implemented as a subclass ofgileum.BaseGileum.gileum.BaseGileumis a light-weight wrapper ofpydantic.BaseModel, so you can easily implemented the subclass in almost same way aspydantic.Developer-sideIn source code of something like web application, a developer can implement a gileum class as below, which will be the interface to launch the app:fromtypingimportLiteralfromgileumimportBaseGileumclassSampleGileum(BaseGileum):app_name:strhostname:strport:intglm_name:Literal["main","test"]Note that all subclasses ofgileum.BaseGileummust have the fieldglm_namewhose type must be Literal of some strings. The field may be used as a flag and the developer may judge the flag to determine how the app should work.After the implementaion is done, the developer can invokegileum.load_glms_at()specifying path of a configuration file for users to create:fromgileumimportload_glms_atload_glms_at(path_to_config)Note that the default suffix of configuration files is.glm.py, e.g.config.glm.py. There is also another function namedgileum.load_glms_in(), which loads all the configuration files in specified directory.Fianlly, the developer can access to theSampleGileumobjects loaded by callinggileum.get_glm()function:fromgileumimportget_glmconfig_main=get_glm("main",SampleGileum)config_test=get_glm("test",SampleGileum)# Now you can access to the fields of the SampleGileum objects.assertconfig_main.glm_name=="main"assertconfig_test.glm_name=="test"User-sideA user of the app above needs to create a configuration file and generate twoSimpleGileumobjects. The location of the configuration file depends on apps the user uses. Now, let's assume that the name of the app package issample_app, and in the app, the location is user's working directory. For example, the user can create a configuration file namedconfig.glm.pyand generate theSimpleGileumobjects:# config.glm.pyfromsample_appimportSimpleGileumgileum_main=SimpleGileum(app_name="sample_app",hostname="example.com",port=443,glm_name="main")gileum_main=SimpleGileum(app_name="sample_app@test",hostname="localhost",port=8000,glm_name="test")That's it!! Now what you have to do the next is just to execute the app. The way of it depends on the app.
Package: gilfoyle
GilfoyleGilfoyle is a report generation tool for Python which makes it quick and easy to create stylish looking reports or presentations using data.InstallationYou can install Gilfoyle by enteringpip3 install gilfoylein your terminal.UsageGilfoyle can be used within a regular Python script or from inside a Jupyter notebook. See theexample.pyfile for some working examples.# Load packagesimportpandasaspdfromgilfoyleimportreport# Define output filenamepdf=report.Report(output='example.pdf')# Set report titlepdf.set_title('Monthly ecommerce report')# Create payloadpayload=pdf.get_payload()# Add a cover slidepayload=pdf.add_page(payload,page_type='cover',page_title='Monthly report',page_subheading='Matt Clarke')# Fetch your datadf=pd.read_csv('data.csv',skiprows=1,names=['Period','Entrances','Sessions','Pageviews','Transactions','Conversion Rate','AOV']).head(13)payload=pdf.add_page(payload,page_type='report',page_layout='simple',page_title='Organic search',page_dataframe=df)# Save to PDFpdf.create_report(payload,verbose=True,output='pdf')DependenciesGilfoyle is written in Python 3 and uses the Jinja 2 templating engine, the Bulma HTML and CSS framework, and the Weasyprint PDF generator package. Gilfoyle is compatible with Pandas and can automatically turn your dataframes into tables.
Package: gilgamesh
gilgameshInstallation instructions for Raspbian BusterInstall Packagesyou may want to install dependencies via apt:sudo apt install python3-zmq python3-blosc python3-ujson
# optional
sudo apt install python3-aiohttp python3-paho-mqtt python3-psycopg2sudo apt install python3-pip
sudo pip install gilgameshif you want to use TimescaleDB and the builtin mqtt bridge and did not
install the dependencies via apt:sudo pip install gilgamesh[timescaledb,mqtt]Setup/Configurationto setup a gilgamesh instance run the following:sudo gilgamesh installthe first command copiesggm@.serviceto /etc/systemd/system and installs
basic configuration templates to /etc/gilgameshyou may want to edit /etc/gilgamesh/paths.json (e.g. to delete or modify the app path)sudo nano /etc/gilgamesh/paths.jsoncreate a device_idsudo gilgamesh gen-id
# or edit by hand
sudo nano /etc/gilgamesh/device_idgenerate some curvezmq certificates (as user!)gilgamesh gen-cert server
gilgamesh gen-cert clientthen start with:sudo systemctl start ggm@gatewayContributingThis project usesC4(Collective Code Construction Contract)process for contributions.
Package: gillespie
Gilles... what?TheGillespie algorithmis commonly used to simulate stochastic
processes. Even though it was developed in the context of chemical reactions, this algorithm can be applied to many
fields of research, e.g. chemistry, biology, epidemiology, ...InstallationAvailable onpypi.org, install via pip:pipinstallgillespieUsageFirst you must define in what states the populations of your system can be. Then you model your system using three
domains:1. Initial valuesA list of initial values for your states:initials=[290,10,0]Here we have three states in our population.2. PropensitiesA list of functions that, given the values of your current states, compute the transition rate of a reaction:propensities=[lambdas,i,r:2*s*i/300,lambdas,i,r:0.5*i]Here we have two reactions that each take the three current states as input.3. StoichiometryA list of incremental/decremental values for each reaction for each state:stoichiometry=[[-1,1,0],[0,-1,1]]Here the first reaction would decrement the first state and increment the second one. The second reaction would
decrement the second state and increment the third.4. Run simulationimportgillespietimes,measurements=gillespie.simulate(initials,propensities,stoichiometry,duration=15)Times contains all the time steps where a reaction occured. And measurements is a list of triplets with the SIR measurements in this case.ExamplesSeeexamples.To run the examples yourself thegillespiepackage is not needed to be installed. However, you will need to installmatplotlib:pipinstallmatplotlibThen, clone the repo and run an example from the project root directory e.g. via:pythonexamples/epidemics/sir.pyThe output plot will then be created in your working directory.
Package: gilly-utilities
Gilly UtilitiesGilly Utilities is a bespoke extension package used in the Python programming language. There is no specific theme for this package, but rather extends some of the functionality of Python. Alot of these modules are based on using NumPy, SciPy, Pandas and Statsmodels.I adore you to have a look around at the code and find something that you'll find useful! If needs be, fork this repository and use Gilly Utilites are your very own python package!Citing Gilly Utilities couldn't be easier. How about a DOI?Python 3 CompatabilityGilly utilities works for python 3 now. Most functions work, but not all