Saravanan666/pypi-org huggingface dataset:
Package: goscalecms
GoScale CMSis an extension ofDjango CMS.It’s a set of unique plugins and useful tools for Django CMS that makes it very powerful by seamlessly integrating content from 3rd party websites like:Blogger and TumblrYoutube and VimeoPicasa and Google+Google Calendar and FormsAny RSS/Atom feedsBut it’s more than just content. GoScale plugins add some fancy functionality to make this content shine!It’s perfect for quickly building Mashups and Media heavy sites.Website:http://goscalecms.comGitHub repository:https://github.com/sternoru/goscalecmsDocumentationPlease, read ourdocumentationfor  the details on installing and using GoScale CMS and it’s plugins.Getting helpFeel free to file issues on github or write to ourmailing list.CreditsThis is a set of tools and plugins forDjango CMSProduct ofSterno.Ru.Developed and maintained under supervision ofEvgeny DemchenkoDeveloped withQuick startWe’re assuming you’re already running a functional version of Django CMS. If not, follow theirtutorialfirst:Install “goscalecms” using pip or easy_install:pip install goscalecmsAdd “goscale” and desired plugins to your INSTALLED_APPS in settings.py like this:INSTALLED_APPS = (
    ...
    'goscale',
    'goscale.plugins.videos',
    'goscale.plugins.pictures',
    'goscale.plugins.feeds',
    'goscale.plugins.forms',
    'goscale.plugins.calendar',
    'goscale.plugins.presentations',
)Add GoScale URL patterns to urls.py:urlpatterns = patterns('',
    url(r'^admin/', include(admin.site.urls)),
    url(r'^goscale/', include('goscale.urls')),
    url(r'^', include('cms.urls')),
)Sync your Database:python manage.py syncdb
python manage.py migrateGood to go!Now if you run you Django server you should have GoScale plugins available for your CMS placeholders.
Package: gosdk
gosdk - GenomOncology Software Development KitThis is a proprietary package that is available fromGenomOncologyand works
with ourKnowledge Management System.For more information about licensing please contact us at:info@genomoncology.comAdditional proprietary projects available for download via pypi include:GO VCF- GenomOncology Variant Call File "call" generatorGO CLI- GenomOncology Command Line InterfaceOur open source projects include:Related- Nested Object Models in Python with dictionary, YAML, and JSON transformation supportSpecd- Swagger v2 Specification DirectoriesRigor- HTTP-based DSL for for validating RESTful APIsOverviewThe GenomOncology Software Development Kit (SDK) is to be used with a running instance
of the GenomOncology Knowledge Management System. It is built on top of theSpecdproject
and currently provides access to the following functionality:Variant HGVS Calculation (g., p., c.)Variant Annotation (e.g. gnomAD, dbSNP, etc.)Variant Classification (e.g. ACGM or AMP Tiers)Gene and Protein InformationClinical Trial MatchingTherapeutic MatchingVariant Warehouse Loading and Queryingsync modeWhenasync_enabledis not passed in (default is False) then operation is in
"normal" synchronous mode.TOKEN="..."HGVS_G="NC_000007.13:g.140453136A>T"fromgosdkimportconstruct_sdksdk=construct_sdk(token=TOKEN)a_list=sdk.annotations.get_annotations(batch=[HGVS_G]).result()annotation=a_list.get_annotation(HGVS_G)assertannotation.canonical_c_dot=="NM_004333.4:c.1799T>A"async modeWhenasync_enabledis True you must then interact with the library using
the async/await paradigm.TOKEN="..."HGVS_G="NC_000007.13:g.140453136A>T"fromgosdkimportconstruct_sdksdk=construct_sdk(async_enabled=True,token=TOKEN,loop=loop)a_list=awaitsdk.annotations.get_annotations(batch=[HGVS_G]).result()annotation=a_list.get_annotation(HGVS_G)assertannotation.canonical_c_dot=="NM_004333.4:c.1799T>A"
Package: gosh
Global-SSH==========Description: Global-SSH webservice, application help connect SSH to computer via p2p network, use hole punching create TCP connect and use for SSHHow use Global-SSH:-------connect to machine:<!-- highlight:-d language:console -->$gosh [user@]hostnamehostname can use MAC addressoption:<!-- highlight:-d language:console -->Usage: gosh [options] [user@][hostname]Global SSH help connect SSH behind NATOptions:--version             show program's version number and exit-h, --help            show this help message and exitNetwork:-j, --join          Join a Domain-r, --register      Create new Domain-g *, --group=*     Join a Workgroup-c *, --create=*    [workgroup] create a Workgroup-d *, --delete=*    [workgroup] delete Workgroup-l, --logout        logout Domain or WorkgroupConnect:-D *, --bind=*      -D [bindport:]destport-L *, --tunnel=*    -L port:host:port-p *, --port=*      [user@]hostname -p port-i *, --identity=*  [user@]hostname -i identity_file-v, --verbose       [user@]hostname -v debugging modeInfomation:-I, --info          show infomation of machine-m *, --mac=*       -I -m hostname-n, --nat           check nat typeshow machines:<!-- highlight:-d language:console -->$ gosh [-l]connect to other service:<!-- highlight:-d language:console -->$ gosh hostname --port {port}this will return local portto connect use:<!-- highlight:-d language:console -->$ {service} [option] -p {port}How install:-------install gosh from pypi:<!-- highlight:-d language:console -->$ sudo pip install goshClone the repo global-sh:<!-- highlight:-d language:console -->$ git clone https://github.com/nthiep/global-ssh.gitdownload zip/tar.gz file then extract file.run setup tool:<!-- highlight:-d language:console -->$ sudo python setup.py installcheck service is running:<!-- highlight:-d language:console -->$ sudo service goshd statusAbout project-------This project will build a application tool to connect linux computer behind NAT use hole punching and multi hole punching for symmetric NAT.Our team: Nguyen Thanh Hiep and Nguyen Huu Dinh####View details at: https://gssh.github.io
Package: goshstore
django-goshstore field is a reusable Django field that allows you to get or set values from hstore fields.How to useAssuming you have a django model defined:fromdjango.dbimportmodelsfromgoshstoreimportGosHStoreFieldclassMyModel(models.Model):hstores=GosHStoreField(default={})@hstores.getter(key='foo',converter=Decimal)defget_foo(self,save=True,reset=False):returnmax(range(100))instance=MyModel()Callinginstance.get_foo()will returninstance.hstores[‘foo’]if‘foo’is ininstance.hstores. Otherwise, 100 will be stored intoinstance.hstores[‘foo’]andinstance.save(update_fields=[‘hstores’])will be called. To prevent callinginstance.save(), callinstance.get_foo(save=False).When callinginstance.get_foo(reset=True),max(range(100))will be
evaluated and returned regardless whether‘foo’is already ininstance.hstores.
Package: gosimplepack
simple heiiiioptgh packageusage examplefromgosimplepackimportcircle_areaans=circle_area(7)print(ans)153.93804002589985Other exampleAdditionfromgosimplepackimportadd,subtract,divideaddn=add(5,6)print(addn)11Subtractfromgosimplepackimportadd,subtract,dividesubn=subtract(10,6)print(subn)4multiplyfromgosimplepackimportadd,subtract,multiplysubn=subtract(10,6)print(subn)60dividefromgosimplepackimportadd,subtract,multiplydivn=divide(10,6)print(divn)1.6666666666666667made by3ekodomo.
Package: goslide-api-fork
GoSlide Open Cloud APIPython API to utilise the GoSlide Open Cloud JSON APIRequirementsPython >= 3.5.2UsageimportasynciofromgoslideapiimportGoSlideCloudloop=asyncio.get_event_loop()goslide=GoSlideCloud('email','password')login=loop.run_until_complete(goslide.login())iflogin:# Get the slide listslides=loop.run_until_complete(goslide.slidesoverview())ifslides:forslidedevinslides:print(slidedev['device_id'],slidedev['device_name'])print('   ',slidedev['device_info']['pos'])else:print('Something went wrong while retrieving the slide information')# Open slide with id 1result=loop.run_until_complete(goslide.slideopen(1))ifresult:print('Succesfully opened slide 1')else:print('Failed opened slide 1')# Close slide with id 1result=loop.run_until_complete(goslide.slideclose(1))loop.run_until_complete(goslide.logout())else:print('login failed')TODOTest with a real slide (awaiting delivery ;-))Expose more API functionsLicenseApache License 2.0
Package: gosling
gos 🦆gosis a declarative genomics visualization library for Python.
It is built on top of theGoslingJSON specification, providing a
simplified interface for authoring interactive genomic visualizations.InstallationThegosAPI is under active development. Feedback is appreciated and welcomed.pipinstallgosling[all]DocumentationSee theDocumentation Sitefor more information.Exampleimportgoslingasgosdata=gos.multivec(url="https://server.gosling-lang.org/api/v1/tileset_info/?d=cistrome-multivec",row="sample",column="position",value="peak",categories=["sample 1","sample 2","sample 3","sample 4"],binSize=5,)base_track=gos.Track(data,width=800,height=100)heatmap=base_track.mark_rect().encode(x=gos.X("start:G",axis="top"),xe="end:G",row=gos.Row("sample:N",legend=True),color=gos.Color("peak:Q",legend=True),)bars=base_track.mark_bar().encode(x=gos.X("position:G",axis="top"),y="peak:Q",row="sample:N",color=gos.Color("sample:N",legend=True),)lines=base_track.mark_line().encode(x=gos.X("position:G",axis="top"),y="peak:Q",row="sample:N",color=gos.Color("sample:N",legend=True),)gos.vertical(heatmap,bars,lines).properties(title="Visual Encoding",subtitle="Gosling provides diverse visual encoding methods",layout="linear",centerRadius=0.8,xDomain=gos.GenomicDomain(chromosome="1",interval=[1,3000500]),)Example GalleryWe have started agalleryof
community examples ingosling/examples/. If you are interested in contributing, please
feel free to submit a PR! Checkout theexisting JSON examplesif you are looking for inspiration.Developmentpipinstall-e'.[dev]'The schema bindings (gosling/schema/) and docs (doc/user_guide/API.rst) are
automatically generated using the following. Please do not edit these
files directly.# generate gosling/schema/*pythontools/generate_schema_wrapper.pyReleasegitcheckoutmain&&gitpull
gitcommit-m"v0.[minor].[patch]"gittag-av0.[minor].[patch]-m"v0.[minor].[patch]"gitpush--follow-tagsDesign & Implementationgos is inspired by and borrows heavily fromAltairboth in project philosophy
and implementation. The internal Python API is auto-generated from theGoslingspecification using code adapted directly from Altair to generateVega-Litebindings. This design choice guarantees that visualizations are
type-checked in complete concordance with theGoslingspecification, and that
the Python API remains consistent with the evolving schema over time. Special thanks toJake Vanderplasand others onschemapi.
Package: gosling-widget
gosling-widgetpip install gosling-widgetDevelopmentpipinstall-e.If you are using the classic Jupyter Notebook you need to install the nbextension:jupyternbextensioninstall--py--symlink--sys-prefixgosling_widget
jupyternbextensionenable--py--sys-prefixgosling_widgetNote for developers:the-epip option allows one to modify the Python code in-place. Restart the kernel in order to see the changes.the--symlinkargument on Linux or OS X allows one to modify the JavaScript code in-place. This feature is not available with Windows.For developing with JupyterLab:jupyter labextension develop --overwrite gosling_widgetReleasenpm version [major|minor|patch]
git tag -a vX.X.X -m "vX.X.X"
git push --follow-tags
Package: gosmscz
Send SMS messages through GoSMS API.Installationpip install gosmsczUsagefrom gosmscz import send_batch_sms

send_batch_sms(
    client_id: 'vaseId',
    client_secret: 'vasSecret',
    message: 'Sms zprava k odeslani',
    recipients: ['+420777000111', '+420777222333']
)
Package: gosnmp-python
gosnmp-pythonThis library bindsour forkofgosnmpfor use in Python3
usinggopy.VersionsAll versions 1.0.0 and up support Python 3 only! If you need Python 2 support, check out the following:https://github.com/ftpsolutions/gosnmp-python/tree/v0.91https://pypi.org/project/gosnmp-python/0.91/ConceptIn the early daysgopywas fairly limited in it's ability to track object allocation across the border of Go and Python.As a result, our implementation is fairly naive- we only pass primitive types from Go to Python (nothing that comes by reference).Session are managed entirely on the Go side and identified with an integer- here are a few function signatures to demonstrate:NewRPCSessionV2c(hostname string, port int, community string, timeout, retries int) uint64RPCConnect(sessionID uint64) errorRPCGet(sessionID uint64, oid string) (string, error)RPCClose(sessionID uint64) errorThe functions that return complex data do so in a special JSON-based format- at this pointgopydoes it's magic and those functions are
made available to Python.We then haveRPCSessionabstraction on the Python side that pulls things together in a class for convenience (saving you need the to keep
track of the identifiers and handling deserialisation).Weird gotchasWe're building for Python3 and we use apython-configscript for Python3 however we're using apython.pcfile from Python2.I dunno why this has to be this way, but it's the only way I can get the C Python API GIL lock/unlock calls to be available to
Go (C.PyEval_SaveThread()andC.PyEval_RestoreThread(tState)).So if you're wondering why Python2 still comes into it here and there- that's why. Doesn't seem to cause any problems.PrerequisitesMacOSCPython3.8+virtualenvpip install virtualenvpkgconfigbrew install pkg-configDockerInstall (from PyPI)python -m pip install gosnmp-pythonSetupvirtualenv -p $(which python3) venv
source venv/bin/activate
./fix_venv.sh
pip install -r requirements-dev.txtBuildsource venv/bin/activate
./native_build.shIf you're deep in the grind and want to iterate faster, you can invoke:./native_build.sh fastThis skips the setup (assuming you've already done that).
Package: gosnmp-traps-python
gosnmp-traps-pythonThis library bindsour forkofgosnmpfor use in Python3
usinggopy.VersionsAll versions 1.0.0 and up support Python 3 only! If you need Python 2 support, check out the following:https://github.com/ftpsolutions/gosnmp-traps-python/tree/v0.91https://pypi.org/project/gosnmp-traps-python/0.91/ConceptIn the early daysgopywas fairly limited in it's ability to track object allocation across the border of Go and Python.As a result, our implementation is fairly naive- we only pass primitive types from Go to Python (nothing that comes by reference).Session are managed entirely on the Go side and identified with an integer- here are a few function signatures to demonstrate:NewRPCSession(hostname string, port, timeout int, paramsJSON string) (uint64, error)RPCConnect(sessionID uint64) errorRPCGetNoWait(sessionID uint64) (string, error)RPCClose(sessionID uint64)The functions that return complex data do so in a special JSON-based format- at this pointgopydoes it's magic and those functions are
made available to Python.We then haveRPCSessionabstraction on the Python side that pulls things together in a class for convenience (saving you need the to keep
track of the identifiers and handling deserialisation).Weird gotchasWe're building for Python3 and we use apython-configscript for Python3 however we're using apython.pcfile from Python2.I dunno why this has to be this way, but it's the only way I can get the C Python API GIL lock/unlock calls to be available to
Go (C.PyEval_SaveThread()andC.PyEval_RestoreThread(tState)).So if you're wondering why Python2 still comes into it here and there- that's why. Doesn't seem to cause any problems.PrerequisitesMacOSCPython3.8+virtualenvpip install virtualenvpkgconfigbrew install pkg-configDockerInstall (from PyPI)python -m pip install gosnmp-traps-pythonSetupvirtualenv -p $(which python3) venv
source venv/bin/activate
./fix_venv.sh
pip install -r requirements-dev.txtBuildsource venv/bin/activate
./native_build.shIf you're deep in the grind and want to iterate faster, you can invoke:./native_build.sh fastThis skips the setup (assuming you've already done that).
Package: gosnomer
gosnomerНормализация для госномеров автомобилей и других транспортных средств РФ.
Автоматическое исправление ошибок ручного ввода госномера.Удаление пробеловПеревод в верхний регистрПеревод латиницы в кириллицуПроверка допустимости символовПроверка допустимости формата номераИсправление ошибок в заменой нуля на букву "О" и наооборотПроверка правильности трехзначного кода регионаПроверка, что числовые последовательности не состоят только из нулейИспользование:def normalize(no, prefer=None) -> str:
"""Берет на вход государственный регистрационный номер транспортного средства
с ошибками ручного ввода и возвращает исправленный госномер.Поднимает ValueError, если в номере, подаваемом на вход, содержатся ошибки, которые
невозможно исправить.

Args:
    no (str): строка с номером, которую требуется нормализовать / исправить.
    prefer (list[str]): перечень предпочитаемых форматов в порядке предпочтения.
        Нужно для случаев, когда номера можно истолковать по-разному.
        Например, `["X999XX999", "X999XX999"]` отдаст предпочтение
        трактовке номеров, как автомобильных (тип 1). А входящая строка "о001тр98"
        будет нормализована как "О001ТР98" (формат номера автомобиля),
        а не как "0001ТР98" (формат номера мопеда).

        Если не указано, то берется первый попавшийся из подошедших форматов.

Returns:
    str: исправленная, приведенная к стандарту строка с номером.

Raises:
    ValueError: если строку не удается исправить, т.е. она содержит символы,
        которым невозможно привести в соответствие один из стандартных,
        или вся строка имеет неправильный формат.Примеры использования:>>> normalize ('YY1239O')
'УУ12390'

>>> normalize (12340078)
'1234ОО78'

>>> normalize ('о123оо9о9')
'О123ОО909'

>>> normalize ('000100102')
'О001ОО102'

>>> normalize ('   оо12345  ')
'ОО12345'

>>> normalize("о001тр98", ["9999XX99", "XX99XX99", "X999XX99"])
'0001ТР98'

>>> normalize ('')
Traceback (most recent call last):
...
ValueError: Недопустимый формат: ""

>>> normalize ('000000000')
Traceback (most recent call last):
...
ValueError: Номер не может содержать числовые последовательности, состоящие только из нулей

>>> normalize ('000100001')
Traceback (most recent call last):
...
ValueError: Первая цифра трехзначного региона не может быть нулем

>>> normalize ('ГН99900')
Traceback (most recent call last):
...
ValueError: Недопустимый символ: "Г"

>>> normalize ('НН01ВВ67ОО78')
Traceback (most recent call last):
...
ValueError: Недопустимый формат: "XX*9XX99**99"

>>> normalize (12345678)
Traceback (most recent call last):
...
ValueError: Недопустимый формат: "99999999"

>>> normalize("о001тр98", ["99999999"])
Traceback (most recent call last):
...
ValueError: Параметр prefer содержит недопустимые форматы: {'99999999'}Модуль также содержит наборы ALLOWED_LETTERS, ALLOWED_NUMBERS, ALLOWED_SYMBOLS и ALLOWED_FORMATS:>>> 'Ю' in ALLOWED_LETTERS
False

>>> 1 in ALLOWED_NUMBERS
False

>>> '1' in ALLOWED_NUMBERS
True

>>> all([x in ALLOWED_SYMBOLS for x in ALLOWED_NUMBERS])
True

>>> 'Х999ХХ99' in ALLOWED_FORMATS
True
Package: gospl
gospl / Global Scalable Paleo Landscape Evolution  /gosplis an open source, GPL-licensed library providing a scalable parallelised Python-based numerical model to simulate landscapes and basins reconstruction at global scale.Build StatusLatest releaseDocumentationStatement of needSince the ’90s, many software have been designed to estimate long-term catchment dynamic, drainage evolution as well as sedimentary basins formation in response to various mechanisms such as tectonic or climatic forcing. These models rely on a set of mathematical and physical expressions that simulates sediment erosion, transport and deposition and can reproduce the first order complexity of Earth’s surface geomorphological evolution.Yet, we were still missing a tool to evaluate global scale evolution of Earth surface and its interaction with the atmosphere, the hydrosphere, the tectonic and mantle dynamics. gospl is the first model designed to address this gap. It can be used to better characterise many aspects of the Earth system ranging from the role of atmospheric circulation on physical denudation, from the influence of erosion and deposition of sediments on mantle convection, from the location and abundance of natural resources to the evolution of life.Interested?Check out the documentation:In short, it contains:an overview of the different ways toinstallthe code,sometechnicalnotes on the underlying physics and implementation,auser guidewith some notebook examples, andtheAPIreferences.Contributing to gosplContributions of any kind togosplare more than welcome. That does not mean new code only, but also improvements of documentation and user guide, additional tests (ideally filling the gaps in existing suite) or bug report or idea what could be added or done better.All contributions should go through our GitHub repository. Bug reports, ideas or even questions should be raised by opening an issue on the GitHub tracker. Suggestions for changes in code or documentation should be submitted as a pull request. However, if you are not sure what to do, feel free to open an issue. All discussion will then take place on GitHub to keep the development ofgospltransparent.If you decide to contribute to the codebase, ensure that you are using an up-to-date master branch. The latest development version will always be there, including the documentation (powered by sphinx).Details are available in the documentation.LicenseThis program is free software: you can redistribute it and/or modify it under the terms of the GNU  General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program. If not, seehttp://www.gnu.org/licenses/gpl-3.0.en.html.
Package: goss
# goss
Github Object Storage System 使用 Github 构建类似 oss 的对象储存工具，本工具可以很方便的管理 github 数据，可以很方便的搭建图床*暂不支持 windows 系统*创建仓库![goss1](https://raw.githubusercontent.com/wxnacy/image/master/blog/goss1.gif)上传本地图片![goss2](https://raw.githubusercontent.com/wxnacy/image/master/blog/goss3.gif)## 安装使用 pip 安装非常方便`bash $ pip install goss `更新`bash $ pip install--upgradegoss `## 快速开始goss 的命令格式基本遵守了 RESTful 风格### 登录`bash $goss-clilogin `配置`bash $goss-cliconfig repo.name<repo-name># 配置默认仓库名 $goss-cliconfig repo.path <path>      # 配置上传文件时默认的地址或目录，默认为根目录 `### 上传文件`bash $ goss <filepath|url>                   # 上传文件到默认的仓库和地址 $ goss <filepath|url>-r<repo-name># 指定一个仓库 $ goss <filepath|url>-p<path>         # 指定一个地址或目录 `### 仓库管理`bash $goss-clirepo                           # 查看仓库列表 $goss-clirepo<repo-name># 查看指定仓库 $goss-clirepo<repo-name>-mpost       # 创建仓库 $goss-clirepo<repo-name>-mdelete     # 删除仓库 `### 文件管理`bash $goss-clifile                     # 查看默认仓库根目录下所有文件 $goss-clifile <path>              # 查看指定文件详情或指定目录下文件列表 $goss-clifile-r<repo-name># 查看指定仓库 $goss-clifile <path>-mdelete    # 删除指定文件 `更多使用请使用帮助命令goss-cli –help或者goss-cli <cmd> –help