Saravanan666/pypi-org huggingface dataset:
Package: golicense-classifier
GoLicense-ClassifierA Python package to find license expressions and copyright statements in a codebase.Based onGoogle LicenseClassifer V2, GoLicense-Classifier (orglcfor short) focuses on performance without compromising with accuracy.InstallationNote: Currently, this package only supports Linux Platform. Work is in progress for Windows and Mac.Installing GoLicense-Classifier is as simple aspipinstallgolicense-classifierOr, you can build the package from source asgitclonehttps://github.com/AvishrantsSh/GoLicense-Classifier.git
makedev
makepackageUsageTo get started, importLicenseClassifierclass from the module asfromLicenseClassifier.classifierimportLicenseClassifierNote: Work on Copyright Statement is still in beta phase. Expect some issues, mostly with binary filesThe class comes bundled with some handy functions, each suited for a different task.scan_directoryThis method is used to recursively walk through a directory and find license expressions and copyright statements. It returns a dictionary object with keysheaderandfiles.Usageclassifier=LicenseClassifier()res=classifier.scan_directory('PATH_TO_DIR')Optional Parametersmax_sizeMaximum size of file in MB. Default is set to 10MB. Setmax_size < 0to ignore size constraintsuse_buffer(Experimental)Set toTrueto use buffered file scanning.max_sizewill be used as buffer size.use_scancode_mappingSet toTrueif you want to use Scancode license key mappings. Default is set toTrue.scan_fileThis method is used to find license expressions and copyright statements in a single file.Usageclassifier=LicenseClassifier()res=classifier.scan_file('PATH_TO_FILE')Optional Parametersmax_sizeMaximum size of file in MB. Default is set to 10MB. Setmax_size < 0to ignore size constraintsuse_buffer(Experimental)Set toTrueto use buffered file scanning.max_sizewill be used as buffer size.use_scancode_mappingSet toTrueif you want to use Scancode license key mappings. Default is set toTrue.Further CustomizationYou can set custom threshold for scanning purpose that best suits your need. Simply change the parameterthresholdduring object creation asclassifier=LicenseClassifier(threshold=0.9)ContributingContributions are what makes the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.To get started, read theContributing Guide.ReferencesGoogle LicenseClassfifer V2https://github.com/google/licenseclassifier/Ctypeshttps://docs.python.org/3/library/ctypes.html
Package: golive-django-openapi
青橄榄Django OpenAPI框架框架简述在django的基础上，保留django的便利ORM，以开发RESTful风格的接口为目标，构建一个支持输出openapi文档的框架。最早本框架只用于OA的开发，因为数据平台相关开发类似，为避免重复维护框架代码，故而把框架代码抽象出来单独成库。功能点输出RESTful风格的openapi接口文档。支持Django原生的Model，兼容大部分常用字段类型。接口输入输出的类型校验+转换，使接口与文档定义一致。内置redoc，可直接配置文档展示。接口URL路由根据目录结构自动索引，规避冗长的url.py配置文件。多项核心附加工具：可输出的状态机，支持结构定义的JSONField等等。核心依赖DjangoPydantic
Package: gollama
go/llamago/llama is an opensource solution to golinks often seen in tech companies.
I recently started working at a company that does not have support for golinks so I decided to write my own.Getting StartedPrerequisitesPython3Installingpythonsetup.pyinstallUsageEdit local host file to resolve DNSgoto127.0.0.2.Windows: C:\Windows\System32\drivers\etc\hostsMac: /private/etc/hostsLinux: /etc/hostsYourhostsfile should look something like this...
127.0.0.1 localhost # example
127.0.0.2 go
...cdgollama
pythonmanage.pymigrate
pythonmanage.pyrunserver127.0.0.2:80NOTE: On macOS you will need to perform the followingsudo ifconfig lo0 alias 127.0.0.2 upin order to add127.0.0.2to the loopback address.Once this is setuphttp://goshould route you to the home dashboard where you can create new links.To  use these links just typehttp://go/{SHORTHAND}ContributingFeel free to open any pull requests in the github page, I will review them as they come in.LicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for detailsAcknowledgmentsgo/links, for hooking me up and never letting me goBen, for debugging with meMaryann, the Llama artist
Package: golm
# Golem chatbot frameworkGolem is a python framework for building chatbots for Messenger, Telegram and other platforms.What it can do:- __Receive messages__ from __Messenger__ and __Telegram__ (Actions on Google coming soon)- __Extract entities__ from these messages using [Wit.ai](http://wit.ai)- e.g. "Show me the best concert" -> *intent:* recommend, *query:* concert- __Keep track of the history__ of all entity values in the *context*- __Move between different states__ of the conversation based on intent and other entities- Call your functions for each state and return messages (images and lists too)- It supports any language supported by Wit (English is recommended)- Golem now has its own __web GUI__ for chattingWhat it can NOT do:- It does not pre-train Wit, you have to do that yourself- It does not use Wit stories, only entity recognition- It's not built for AI conversational bots (you can try though :P)# DocsIt's very easy to get started!Find out how to make your own bot on the **[Wiki](https://github.com/prihoda/golem/wiki)**.Made @ [FIT CTU](https://fit.cvut.cz/en) in Prague.
Package: golocity
SummaryGolocity is a young project and while there is testing,
there still may be bugs. Be sure and test thoroughly prior to use in a production environment.Golocityis an easy to use CLI execution manager for the Golem Network.
It aims to convert and deploy your dockerized project on the Golem Network in
as little time as possible. It is perfect for developers who want to deploy
their preexisting projects on the Network or those who need a starting point
to harness all of the Network’s features.InstallationGolocity is available onPyPI. This will install the latest stable version.To install Golocity, simply usepip:pip install --user golocityGetting StartedBuilding the imagesBefore your project can be deployed on the Network, we must first build the docker
image as well as the Golem virtual machine image. Before issuing the command, make
sure you have Docker installed and running on your computer.To do so, use thebuildcommand:golocity build /path/to/your/projectThis will build the requisite images as well as create a.golocitydirectory in your projects directory. This directory holds configuration files needed
by Golocity as well as logs.The build command also pushes the Golem virtual machine image to the Network’s public
repository. To preform a dry-run, append the--infoflag to the command.Under the hood, Golocity parses your Dockerfile forENTRYPOINTandCMDcommands.
These commands currently are not supported in the Golem virtual machine format, so
Golocity removes them and manually calls them from within thedeploycommand. Don’t
worry, Golocity will not alter your project files, it only operates on temporary copies.Deploying to the NetworkOnce you have successfully built and pushed the images, you are ready to deploy your
project on the Network! First, make sure you have theyagnadaemon running on your
machine, for more information, refer to theGolem Handbook.Now, deploying is one line away!golocity deploy [budget]Replacebudgetwith the limit of what to spend while running the project. From here
Golocity will handle the rest. It will find the best provider and handle the output.ContributingPoetryWe usepoetryto manage dependencies, to
get started follow these steps:git clone https://github.com/davidstyers/golocity
cd golocity
poetry install
poetry run pytestPre-CommitWe have a configuration forpre-committo add the hook run the
following command:pre-commit install
Package: golog
Copyright (c) 2021 Lorenzo CoacciPermission 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: # Welcome!Keywords: logging,monitoring,alerts
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Description-Content-Type: text/markdown
Package: golomb-coding
Python package implementing Golomb coding.How do I install this package?As usual, just download it using pip:pipinstallgolomb_codingTests CoverageSince some software handling coverages sometime get slightly different results, here’s three of them:Usage examplesThe coding available from this package aregolomb_coding,bernoulli_golomb_codingandoptimal_golomb_coding.
The following examples are usages of Golomb coding.fromgolomb_codingimportgolomb_codinggolomb_coding(0,3)# 10golomb_coding(1,3)# 110golomb_coding(2,3)# 111golomb_coding(3,3)# 010golomb_coding(4,3)# 0110golomb_coding(5,3)# 0111golomb_coding(6,3)# 0010golomb_coding(7,3)# 00110golomb_coding(8,3)# 00111golomb_coding(9,3)# 00010golomb_coding(10,3)# 000110golomb_coding(11,3)# 000111golomb_coding(12,3)# 000010golomb_coding(13,3)# 0000110golomb_coding(14,3)# 0000111golomb_coding(15,3)# 0000010
Package: golos
Python 3 library for Golos!InstallationInstall withpip:$ sudo apt-get install libffi-dev libssl-dev python-dev
$ pip3 install golosManual installation:$ git clonehttps://github.com/GolosChain/python-goloslib$ cd python-goloslib
$ python3 setup.py install –userUpgrade$ pip install –user –upgradeAdditional dependenciesgolosapi.golosasyncclient:asyncio==3.4.3pyyaml==3.11DocumentationThanks to readthedocs.io, the documentation can be viewed
[online](http://python-goloslib.readthedocs.io/en/latest/)Documentation is written with the help of sphinx and can be compile to
html with:cd docs
make html
Package: golosdata
## Golos Data
This is fork of the SteemData project.
The goal of the GolosData project is to make data from the
GOLOS blockchain more accessible to developers, researchers and 3rd party services.This repo contains utilities for parsing GOLOS blockchain, retrieving price feeds and some extra helpers.### Contribute
Needless to say, PR’s are welcome :)### License
This project is [MIT](https://github.com/Chainers/golosdata) Licensed.
Package: golos-lib-python
golos-lib-pythonОфициальная библиотека Golos для Python. Форк библиотекиgolodranets. Актуально на HF 26 и находится в активной разработке.Включает в себя все необходимое для работы с GOLOS: формирование, подписывание и отправка транзакций, получение данных от API, работа с криптографией. Кроме того, присутствует BIP38-кошелек для шифрования приватных ключей.Подходит для торговых ботов, скриптов, автоматических шлюзов, для SSR и микросервисов на Python. Может применяться в десктопных и мобильных приложениях (Kivy).УстановкаКак обычный пакет:pipinstallgolos-lib-pythonИли можно собрать из исходников:cdgolos-lib-python
poetryinstall
poetrybuildДля запуска тестов:poetryrunpytestСборка для macOSПеред сборкой выполните:brewinstallopensslexportCFLAGS="-I$(brew--prefixopenssl)/include$CFLAGS"exportLDFLAGS="-L$(brew--prefixopenssl)/lib$LDFLAGS"
Package: golosscripts
golos-scriptsThis is a python scripts collection for golos blockchain network.For documentation on reusable parts, pleasee seedocumentation on reathedocs.donation.py- make a donation for postchange_password.py- change all account keys using random generated password or user-providedcalc_vesting_reward.py- calculate profit from vesting holdingsclaim.py- claim balance from accumulative to tip or vestinginflation.py- calculate current inflation or model long-term inflationgenerate_keypair.py- just generate private and public keypairtransfer.py- transfer some money to another accounttransfer_to_vesting.py- transfer GOLOS to vesting balance (Golos Power)get_balance.py- display account balancesget_balance_multi.py- display balances of multiple accountsestimate_median_price.py- look up current witnesses price feeds and calculate new expected median priceestimate_gbg_debt.py- script to estimate system debt in GBG, seeESTIMATE_GBG_DEBTget_post.py- get and print post/commentget_props.py- script to display global propertiesget_median_props.py- script to display current votable parametersget_voting_power.py- calculate current voting power of specified accountget_bandwidth.py- calculate used bandwidth of the account. Can be used in scripting as monitoring tool (-w 75 -q)get_vesting_withdraws.py- find all vesting withdrawals with rates and datesget_conversion_requests.py- find all GBG conversion requestsget_feed_history.py- script to obtain GBG price feed historyget_miner_queue.py- script to display miner queueget_median_voting.py- get witnesses voting for a particular chain paramget_inflation_voting.py- show voting for inflation targets propertiesget_witness.py- script to obtain current info for specified witnessget_witnesses.py- script to display known witnesses, sorted by votespost.py- publish post to the blockchainsea_biom.py- print Golos Power for each sea habitant levelcreate_account.py- create child accountfind_transfers.py- scan account history to find transfersupvote.py- upvote/downvote post or commentwithdraw_vesting.py- withdraw from vesting balance of one account to specified accountwithdraw_vesting_multi.py- withdraw from vesting balance of multiple accounts to specified accountdelegate_vesting_shares.py- script to delegate vesting shareswitness_approve.py- vote for witnesswitness_disapprove.py- remove vote from witnessupdate_witness.py- script to manipulate witness data in the blockchain, seeUPDATE_WITNESSRequirementsgolos node 0.18+Installation via poetryInstallpoetryRunpoetry installto install the dependenciesCopycommon.yml.exampletocommon.ymland change variables according to your needsNow you're ready to run scripts:poetry shell
./script.pyInstallation via pipWith pip you can installgolosscriptspackage, which provides various functions and helpers:pip install golosscriptsHow to usePrepare working environment using virtualenv (see above)Copycommon.yml.exampletocommon.ymland change variables according to your needs
Package: golpy
GoLPyGoLPy is an efficient Conway's Game of Life implemented in Python using NumPy.Example OutputThe following GIF can be generated using the command:life--demoglidergun--outglider_gun.gif--ppc10--posTL-W60-H40Installationpip install golpyUsageusage: life [-h] (-i GRID_INPUT | -d DEMO) [-o FILE | --debug-print]
            [-W WIDTH] [-H HEIGHT] [-M MAX_GEN] [--ppc PIXELS] [-P POSITION]
            [-p]

optional arguments:
  -h, --help            show this help message and exit
  -i GRID_INPUT, --in GRID_INPUT
                        Parse the initial grid from <GRID_INPUT>
  -d DEMO, --demo DEMO  Try one of the provided demos: one of 'glidergun' and
                        'glidergen'
  -o FILE, --out FILE   Place the output into <FILE>
  --debug-print         Print the generated frames directly to the terminal,
                        instead of saving them

  -W WIDTH, --width WIDTH
                        Width of the grid
  -H HEIGHT, --height HEIGHT
                        Height of the grid

  -M MAX_GEN, --max-gen MAX_GEN
                        Number of generations to simulate
  --ppc PIXELS          Set the width and the height of each cell to <PIXELS>
  -P POSITION, --pos POSITION
                        One of 'C', 'T', 'B', 'L', 'R', 'TL', 'TR', 'BL', and
                        'BR'

  -p, --profile         Measure the performanceInput Format........................O
......................O.O
............OO......OO............OO
...........O...O....OO............OO
OO........O.....O...OO
OO........O...O.OO....O.O
..........O.....O.......O
...........O...O
............OOUse.for a dead cell,O(chr(79)) for a live cell.LicenseMIT
Package: gols
golsFree software: BSD licenseInstallationpip install golsDocumentationhttps://gols.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog1.1.2 (unreleased)Change login process to new API0.1.0 (2017-09-06)First release on PyPI.
Package: golumn
Golumn is a desktop CSV viewer to replace thecolumncommand. Thinkcolumnwith a “g”. It behaves similar to thecolumncommand, but with a graphic user interface. It bridges the command line and desktop divide by allowing us to present tabular data outside the confines of the terminal.It is challenging without this tool to manage a bunch of tabular output within only a terminal window. It’s difficult to maintain context when long scrolling text and we’re often executing the same statements to bring up previous results.A typical workflow without this tool is chain together commands:# psql
#   -X :: ignore ~/.psqlrc
#   -A :: remove whitespace
#   -c :: run the SQL statement
# column
#   -t :: table-ize
#   -s :: set delimiter
# less
#   -S :: Scroll horizontally (enables left/right arrows)psql-X-A--psetfooter-c'select * from actors_list'dvdrental|column-ts'|'|less-SWhen you’re done viewing the data it disappears. Leaving you to remember what you saw as you’re building the next statement. We could (and probably should) manage our terminal windows better with splits and tabs, but there’s limits which desktop GUI’s have solved. Entergolumn.Usage# Open a CSV file:golumndata.csv&# Pipe in the data:catdata.csv|golumn&# Show Query Results:psql-X-A--psetfooter-c'select * from actors_list'dvdrental|golumn&InstallationRequires Python3. Please makes sure it’s installed property on target OS with Pip package manager.This package is available viahttps://pypi.python.org/pypi. To install on the target system try:pip3installgolumn--upgrade--user# --upgrade ensures you get the latest version
# --user install only for your userOn OSX Python with GUI support is required. Install using the following:condainstallpython.appFor more info on install pip packages see:https://pip.pypa.io/en/stable/quickstart/Make surepip3binaries are available in your$PATH:ContributingBug reports and pull requests are welcome on GitHub athttps://github.com/ddrscott/golumnLicenseThe gem is available as open source under the terms of theMIT License.
Package: gom
gomgomis a CLI tool that displays a human-readable table with GPU usage information. Thinknvidia-smi, but minimalist and pretty.It also shows per-container GPU usage information if Docker is installed.InstallationUse the package managerpipto installgom.Usagegom showdisplays a table with GPU usage information.gom watchdisplays a table with GPU usage information and updates it every second.ScreenshotsCompare the output ofgom showandnvidia-smi. I hope you'll agree thatgomproduces more clear and helpful output (ex. it breaks usage down across the 4 running Docker containers), whilenvidia-smiis long and complex (I couldn't even screenshot the whole thing).TroubleshootingYou may need to install a different version ofpynvmldepending on your CUDA version.
Package: goma
Python librarygomagoma - generic object mapping algorithmA library for easy implementing complex mappings procedures.Development VersionThe latest development version can be installed directly from GitHub:$pipinstall--upgradegit+https://github.com/sonntagsgesicht/goma.gitContributionsIssuesandPull Requestsare always welcome.LicenseCode and documentation are available according to the Apache Software License (seeLICENSE).
Package: gomaps
The-Gomaps-Python-PackageGomaps! A Google Maps web scraper for querying places on Google Maps and scraping the metadata of that search (No API key needed). This package also does geocoding, reverse geocoding and address validation! It's essentially a lite version of the Google Maps Places API. Results of a query include the following:Place NamePlace Google Maps URLPlace AddressPlace Coordinates (lattitude/longitude)Place WebsitePlace Phone NumberPlace Star RatingPlace Open HoursPlace Popular TimesThat's right! This can also scrape Google MapsPopular Timesdata!
For more information about Google's popular times data, refer to this support post:https://support.google.com/business/answer/6263531?hl=en.Documentation:https://gomaps.readthedocs.io/en/latest/Quickstart:To start, import the functions from the *gomaps* package.fromgomapsimportmaps_searchresults=maps_search("Tops Diner")# Returns a list of GoogleMaps objects# GoogleMapsResults([<gomaps.GoogleMaps object; Place-Name: Tops Diner>])results[0].get_values()# Populates the object's attributes & returns a dictionary'''{'title': 'Tops Diner','url': 'https://www.google.com/maps/place/Tops+Diner/@40.7506065,-74.1639023,17z/data=!4m2!3m1!1s0x89c2547b4ec3235b:0x7342f11f69197f92!8m2!3d40.7506065!4d-74.1639023','address': '500 Passaic Ave, East Newark, NJ 07029','coords': ('40.7506065', '-74.1639023'),'website': 'https://www.thetopsdiner.com/','phone_number': '(973) 481-0490','rating': 4.6,'open_hours': {'Currently': 'Closed - Opens 8AM','Hours': {'Friday': '8AM–11PM', 'Saturday': '8AM–11PM', 'Sunday': '8AM–11PM','Monday': '8AM–11PM', 'Tuesday': '8AM–11PM', 'Wednesday': '8AM–11PM', 'Thursday': '8AM–11PM'}}'popular_times': {'Sunday': ['0% busy at 6 AM', '0% busy at 7 AM', '19% busy at 8 AM', '35% busy at 9 AM', '48% busy at 10 AM','52% busy at 11 AM', '49% busy at 12 PM', '44% busy at 1 PM', '45% busy at 2 PM', '49% busy at 3 PM','52% busy at 4 PM', '52% busy at 5 PM', '57% busy at 6 PM', '70% busy at 7 PM', '78% busy at 8 PM','66% busy at 9 PM', '39% busy at 10 PM', '0% busy at 11 PM'],'Monday':  ...}}'''CopyrightCopyright (c) 2024 The Python Packaging Authority. Released under the MIT License.
Package: gome-scraper
TitleGome ScraperDescrptionWith gome Scraper you can scrape search results and extract the contents produced by the search result.In gome scraper it will scrape the data present of the website and give json data which contains the details of the contents on the website.The gome scraper will have all the data from the website such as link of the items inside website, text related to link etc.JSON sample data{"Scraper_repeat_data_0":[{"column_8":[{"link":"//item.gome.com.cn/9140059322-1130765898.html","text":"   \u7c73\u5bb6\u58f0\u6ce2\u7535\u52a8\u7259\u5237T100  \u5475\u62a4\u7259\u9f88 IPX7\u9632\u6c34 \uffe535.00 \u7acb\u5373\u8d2d\u4e70  "},{"link":"//item.gome.com.cn/9140056902-1130548362.html","text":"   \u5c0f\u7c73AI\u97f3\u7bb1 \u4eba\u5de5\u667a\u80fd\u97f3\u54cd \uffe5176.00 \u7acb\u5373\u8d2d\u4e70  "}Download full sample dataRun Scraperfromgome_scraperimport*link="https://prom.gome.com.cn/html/prodhtml/topics/201808/31/4889195497.html?intcmp=sy-1000060873-5"data=run_gome_scraper(link)How it works?It takes URL of gome page with a search keyword to scrape the data.It generates the json data which contains the information of the gome search result.ExamplesBelow are some of the examples of URLs using which you can scrape:Example 1Example2Queries/ FeedbackIf you have some queries or feedback please contact us at followingTelegramEmail
Package: gomill
Gomill is a suite of tools, and a Python library, for use in developing and
testing Go-playing programs. It is based around the Go Text Protocol (GTP) and
the Smart Game Format (SGF).The principal tool is the ringmaster, which plays programs against each other
and keeps track of the results.There is also experimental support for automatically tuning program parameters.Download:https://mjw.woodcraft.me.uk/gomill/download/gomill-0.8.3.tar.gzDocumentation:https://mjw.woodcraft.me.uk/gomill/download/gomill-doc-0.8.3.tar.gzOnline Documentation:https://mjw.woodcraft.me.uk/gomill/doc/0.8.3/Changelog:https://mjw.woodcraft.me.uk/gomill/doc/0.8.3/changes.htmlGithub:https://github.com/mattheww/gomill