Saravanan666/pypi-org huggingface dataset:
Package: gurunudi
Gurunudiis a Python library for accessing theGurunudi Artificial Intelligence Chatbot API.
Gurunudi (AI as a Service) provides a wide range ofArtificial Intelligence based API solutions(See below).💫Version 2.0.3 out now!💫 TestGurunudi chatbotonline.
💫 Get your API key today to use Gurunudi AI API in your own chatbot.
💫 Contact us if you need to train and deploy your own model with Gurunudi as the base model.
💫 For commercial use (an affordable, pay as you go pricing model),Contact usorTweet us.📖 InstallationOperating systemmacOS / OS X, Linux, WindowsPython version2+, 3+Package managerspipvia pippipinstallgurunudiWhen using pip it is generally recommended to install packages in a virtual environment to avoid modifying system state:venv.envsource.env/bin/activatepipinstallgurunudiUpdatingpipinstallgurunudi--upgrade💬 Where to ask questionsThe Gurunudi project is maintained by@gurudevrao. Please use the below listed forums for any support requests.Bug ReportsGitHub Issue TrackerUsage QuestionsStackOverflow,Gitter ChatGeneral DiscussionGitter ChatFeatures of GurunudiNot just English, support exists for an ever growing list of languages.Pre-trained models that are continuously updated for better accuracy and to support more languages.Automatic Language Detection enables Gurunudi to converse in any supported language without any additional setup.Custom model training to deploy your own chatbot to answer your customer queries.Gurunudi is language agnostic - Train once in one language, and Gurunudi will reply in any of the supported languages.Knowledge Graph - continuously updated to provide latest and accurate information.More cutting edge AI features are being added continuously📖 DocumentationBasicsfromgurunudiimportAIai=AI('your_gurunudi_api_key')AI is the class that abstracts API calls to Gurunudi AI Platform. Create an AI object as shown above. The only argument to be passed to the constructor is your Gurunudi API Key.response=ai.chat("father of Albert Einstein")#now response = {"text": "Hermann Einstein is the father of Albert Einstein."}Automatic Language DetectionAutomatic language detection means you do not have to change anything in your code, even if the language is not English.
In the below example, we pass “como estas” (meaning “how are you” in Spanish language) as input text. Gurunudi automatically replies in Spanish saying Estoy bien (meaning “I am fine” in Spanish).response=ai.chat(“como estas”)
#now response = {“text”: “Estoy bien”}Custom Model TrainingYou can also train your own custom model on top of Gurunudi. This can be useful if you want to deploy your own chatbot to answer queries from your customers about your products or services.
Since the model will be trained on top of Gurunudi, your customers will also be able to ask for generic information.
Package: gurux-common
See AnGuruxfor an overview.Join the Gurux Community or follow@Guruxfor project updates.gurux.common.python package implements interfaces that are needed for Gurux Media components and Gurux Device Framework.
Purpose of Gurux Device Framework is help you to read your devices, meters and sensors easier.For more info check outGurux.We are updating documentation on Gurux web page.If you have problems you can ask your questions in GuruxForum.You can get source codes fromhttp://www.github.com/guruxor intall package:pipinstallgurux-common
Package: gusregon
GUS (Główny Urząd Statystyczny) REGONInternet Database client which allows to get detailed information about company based on NIP, Regon or KRS number.It requires anAPI keyto theBIR1 service.Note:Currentlydjango-gusregonpackage is outdated and should be replaced bygusregon.QuickstartInstall the package viapip:pipinstallgusregonUsageReturns the business addressfromgusregonimportGUSgus=GUS(api_key='my_api_key')gus.get_address(nip='1112223344')output{
    'name': 'REGON SYSTEMS SPÓŁKA AKCYJNA',
    'street_address': 'ul. Tęczowa 14',
    'postal_code': '35-322',
    'city': 'Rzeszów'
}Returns PKD codesgus.get_pkd(nip='1112223344')output[
    {
        'code': '6201Z',
        'name': 'DZIAŁALNOŚĆ ZWIĄZANA Z OPROGRAMOWANIEM',
        'main': True
    },
    {
        'code': '6312Z':
        'name': 'DZIAŁALNOŚĆ PORTALI INTERNETOWYCH',
        'main': False
    },
    ...
]Returns all data from BIR1 servicegus.search(nip='1112223344')output{
    'adsiedzkraj_symbol': 'PL',
    'datazawieszeniadzialalnosci': '',
    'jednosteklokalnych': '0',
    'rodzajrejestruewidencji_symbol': '138',
    'adkorulica_nazwa': '',
    ...
    'adkorpowiat_symbol': '63',
    'datawpisudoregon': '2012-06-01',
    'rodzajrejestruewidencji_nazwa': 'REJESTR PRZEDSIĘBIORCÓW',
    'adsiedznumernieruchomosci': '14',
    'adkorkodpocztowy': '35322',
    'adsiedzkraj_nazwa': 'POLSKA',
    'adsiedzulica_symbol': '10013',
    'adsiedzkodpocztowy': '35322',
}Sandbox mode for testing:fromgusregonimportGUSgus=GUS(sandbox=True)gus.get_address(nip='1112223344')
Package: gustaf
gustafis a Python library to process and visualize numerical-analysis-geometries;
gustaf currently supports the following elements:points,lines,triangle,quadrilateral,tetrahedron, andhexahedron.Installationgustafonly hasnumpyfor its strict dependency. The minimal version can be installed usingpip.pip install gustafTo install all theoptional dependenciesat the same time, you can use:# quotation marks required for some shells
pip install "gustaf[all]"For the latest develop version of gustaf:pip install git+https://github.com/tataratat/gustaf.git@mainQuick StartThis example shows how to create volume elements and plot data on them.
For visualization, gustaf usesvedoas main backend.To begin we need to import the needed libraries:importgustafasgusimportnumpyasnpCreate a tetrahedronNow we create our first volume. It will be just a basic cube. Even here we can
already choose between using a tetrahedron and a hexahedron-based
mesh. TheVolumesclass will use tetrahedrons if the volumes keyword is made
up of a list of 4 elements (defining the corners of the tetrahedron), if 8
elements are in each list hexahedrons are used (defining the corners of the hexahedron in the correct order).# create tetrahedron mesh using Volumes# it requires vertices and connectivity info, volumestet=gus.Volumes(vertices=[[0.0,0.0,0.0],[1.0,0.0,0.0],[0.0,1.0,0.0],[1.0,1.0,0.0],[0.0,0.0,1.0],[1.0,0.0,1.0],[0.0,1.0,1.0],[1.0,1.0,1.0],],volumes=[[0,2,7,3],[0,2,6,7],[0,6,4,7],[5,0,4,7],[5,0,7,1],[7,0,3,1],],)# set line color and widthtet.show_options["lc"]="black"tet.show_options["lw"]=4tet.show(background="grey")hexa=gus.Volumes(vertices=[[0.0,0.0,0.0],#0[1.0,0.0,0.0],#1[0.0,1.0,0.0],[1.0,1.0,0.0],#3[0.0,0.0,1.0],[1.0,0.0,1.0],[0.0,1.0,1.0],#6[1.0,1.0,1.0],],volumes=[[0,1,3,2,4,5,7,6],],)hexa.show_options["lc"]="black"hexa.show_options["lw"]=4hexa.show(background="grey")Basic visualizationAs just shown, it is really easy to show the objects by just calling theshow()function on the object. But that is just the beginning of the
possibilities in vedo. You can plot multiple objects next to each other:# show multiple items in one plot# each list will be put into a separate subplot.gus.show(["Tetrahedron",tet],["Hexahedron",hexa])Now let's add a color map to the object for the norm of the
coordinate, and let us also add at each vertex an arrow with random direction
and length.# let's visualize some scalar data and vector data defined on verticestet.vertex_data["arange"]=np.arange(len(tet.vertices))# scalartet.show_options["data"]="arange"tet.vertex_data["random"]=np.random.random((len(tet.vertices),3))# vectortet.show_options["arrow_data"]="random"tet.show(background="grey")Are you interested in splines?
Please checkoutsplinepy!Optional DependenciesPackageDescriptionnumpyFast array data operations.vedoDefault renderer / visualization core of gustaf.scipyCreate k-d trees and simple rotation matrices.napfFast k-d tree build / query based on nanoflann. Supersedes scipy if it is importable.funiA different method to find unique float array rows. But faster than k-d trees!meshioSupports loading/exporting numerous mesh formats.
Package: gustavo
Get-Url-Status (GUS) Text-As-Visual-Output (TAVO)GUS is a command line tool that searches a file for all HTTP URLs and generates a report of their status.Usage$ python gus [-f FILENAME]Optional command line argumentsDescription-f FILENAME, --file FILENAMElocation of source file to be checked-t, --telescopecheck recent posts indexed by Telescope-a, --alloutput includes all results (this is default)-g, --goodoutput includes only [GOOD] results-b, --badoutput includes only [FAIL] results-r, --rtfoutput as colourized rich text file-j, --jsonoutput as JSON-h, --helpshow information on how to use the tool and exit-v, --versionshow program's version number and exit-i FILENAME, --ignore FILENAMElocation of file with list of domains to ignoreResultsGUS makes an HTTP connection for each URL in the source file.The header is requested and the response code determines which label will be applied:[GOOD] = 2xx series[FAIL] = 4xx series[UNKN] = all other code seriesGUS can generateoutput.rftas a list of results colourized as follows:[GOOD] = green[FAIL] = red[UNKN] = greySetupFor information on system requirements and how to contribute, check outCONTRIBUTING.md
Package: gutcli
Gut-CLIGithub repo discovery and management.The primary benefits of usinggutcliare:Consistent aliases to navigate to a Github directory, regardless of the path on each team member's machine.Quick access to a project's Github repo in your browser.FeaturesFeatureCommandDescriptionList Aliases$ gut -aList all GutRepo aliases.GutRepo Alias$ gut.[YOUR_GITHUB_REPO_NAME]Navigate to your GutRepo with an alias. (SeeList Aliasesto find your aliases)Open Github Repo$ gut -rOpens the Github repo link in your browser of the GutRepo configured in your current directory.GutRepo Configuration$ gut -cConfigure the current directory as a GutRepo. Thismustbe a Github repo directory.Auto Configuration$ gut --auto-configureThis command will discovery Github repos within the current directory up to 5 layers deep and configure a GutRepo.InstallationInstall$ pip install gutcliUpgrade$ pip install --upgrade gutcliFAQsWhat is a GutRepo?GutRepos are the resource created for a Github repository within thegutcliecosystem to manage metadata including the alias.
Package: gutec
GuteCompilerOverviewThis is a compiler built from scratch using Python3.
The language used is followsthis grammar specification.RequirementsPython3.7Running the CompilerIn a terminal or command line, navigate to the directory of the projectGive executable permissions to the setup.sh file withchmod +x setup.shto make life easy for youRun the command. ./setup.shfor a quick Python3.7 version check, and installationAfter all that magic, you're ready to use my compilerTypegutec path_to_a_fileto compile a fileTo exit the virtual environment, typedeactivateAs of now, the compiler can only perform lexical analysis but more will come...
Package: gutefrage
An unofficialgutefrage.netAPI made for Python.Featuresget question by name/url/idget newest questionslike questionsreply to questionsTODO: post questionsTODO: reply repliesGet startedAn short explenation of the basic features. You can find the full documentationhereInstallationGutefrage API can be installed like every other python package:pip install gutefrageBasic usageIn this example we are going to mark a question from gutefrage.net as liked.
First we have to create a new client with username and password:importgutefrageasgfgfclient=gf.gutefrage("username","password")To interact with an specific question we need itsid. To get the id we need itsstripped_title. The stripped_title can be found in the last part of its url called like this:The Url:https://www.gutefrage.net/frage/wie-berechnet-man-die-quadratwurzel-aus-625stripped_title:wie-berechnet-man-die-quadratwurzel-aus-625To get the questions id we can use.convert_to_id(string):title="wie-berechnet-man-die-quadratwurzel-aus-625"id=gfclient.convert_to_id(title)print(id)What now is printed in the console is the question's id! For this question it's57753709.
Now we have the id we can get the question by id:id=57753709question=gf.question(id)Now we've got the question, we can get lot of information about it:information=question.info()And we can finally give it a like!question.likeDocumentationYou can find the full documentationhere
Package: gutenberg2kindle
Gutenberg2KindleA small Python tool to download and send ebooks from Project Gutenberg to a Kindle email address via SMTPWhat's this?gutenberg2kindleis a small command-line interface tool that aims to automatically download an.epubbook fromProject Gutenberg's library of free books in the public domain, and then send the ebook's file to a Kindle email address (although, generally, it can be sent to any email address), with just one command.The book is sent through a SMTP server with TLS, requiring the user to configure the server settings beforehand via tool commands.InstallationYou can use your Python package manager (e.g.pip) to installgutenberg2kindle.pipinstallgutenberg2kindleUsagegutenberg2kindlecomes with a command-line interface; its help text can be accessed via:gutenberg2kindle--helpYou can check the tool's current configuration via:# will print all config variables with their current valuesgutenberg2kindleget-config# will print only the value for the key you're specifyinggutenberg2kindleget-config--name<keyname>You can set a value for any of the settings via:gutenberg2kindleset-config--name<keyname>--value<keyvalue>Or you can do it all at once interactively, being able to check (and modify, if needed) the current config, just by running:gutenberg2kindleinteractive-configFinally, once you're done configuring your project, you can send any ebook via its Project Gutenberg book ID (with flags-bor--book-id):gutenberg2kindlesend-b<bookidasaninteger,e.g.1>You can send multiple books at the same time in the same run, the-b/--book-idflag accepts multiple arguments. Book will be downloaded and sent one by one, and if the download fails at some point execution will stop. In case you want to skip books that couldn't be downloaded, consider adding the-i/--ignore-errorsflag.gutenberg2kindlesend-b<firstbookid>[<secondbookid><thirdbookid>...]gutenberg2kindlesend-i-b<firstbookid>[<secondbookid><thirdbookid>...]Note that, if using Gmail as your SMTP server, you might need to set up anApp Passwordto use instead of your regular password.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Contributions for issues that are already open by maintainers are welcome and encouraged.Please make sure to update tests as appropriate; a minimum coverage of 75% is expected (and enforced by Github Actions!).LicenseThis project is licensed under theGNU Affero General Public License v3.0.
Package: gutenberg2zim
A scraper that downloads the whole repository of [Project Gutenberg]
(http://www.gutenberg.org) and puts it into a locally browsable
directory and then in a ZIM file (http://www.openzim.org), a clean and
user friendly format for storing content for offline usage.DependenciesUbuntu/debianpython-pippython-devlibxml2-devlibxslt-devadvancecompjpegoptimpngquantp7zip-fullgifsiclemacOSbrewinstalladvancecompjpegoptimpngquantp7zipgifsicleUsagegutenberg2zimBy default (no argument), it runs all the steps: download, parse, export and zim.-h--helpDisplaythishelpmessage-y--wipe-dbDonotwipetheDBduringparsestage-F--forceRedostepeveniftargetalreadyexist-l--languages=<list>Comma-separatedlistoflangcodestofilterexportto(preferablyISO639-1,elseISO639-3)-f--formats=<list>Comma-separatedlistofformatstofilterexportto(epub,html,pdf,all)-m--mirror=<url>UseURLasbaseforalldownloads.-r--rdf-folder=<folder>Don'tdownloadrdf-files.tar.bz2anduseextractedfolderinstead-e--static-folder=<folder>Use-as/Write-tothisfolderstaticHTML-z--zim-file=<file>WriteZIMintothisfilepath-t--zim-title=<title>SetZIMtitle-n--zim-desc=<description>SetZIMdescription-d--dl-folder=<folder>Foldertouse/write-todownloadedebooks-u--rdf-url=<url>Alternativerdf-files.tar.bz2URL-b--books=<ids>Executetheprocessesforspecificbooks,separatedbycommas,ordashesforintervals-c--concurrency=<nb>Numberofconcurrentprocessfordownloadandparsingtasks-x--zim-title=<title>CustomtitlefortheZIMfile-q--zim-desc=<desc>CustomdescriptionfortheZIMfile--checkCheckdependencies--prepareDownload&extractrdf-files.tar.bz2--parseParseallRDFfilesandfill-uptheDB--downloadDownloadebooksbasedonfilters--exportExportdownloadedcontenttozim-friendlystaticHTML--devExports*just*Home+JS+CSSfiles(overwrittenby--zimstep)--zimCreateaZIMfile
Package: gutenberg-cleaner
![](https://i.ibb.co/sCJXhmz/header-sp.png)
![](https://img.shields.io/apm/l/vim-mode.svg)# gutenberg-cleanera python package for cleaning Gutenberg books and dataset.### Prerequisites
nltk package### Installing` [sudo] pip installgutenberg-cleaner`## How to use it?it has two methods called “simple_cleaner” and “super_cleaner”.
### simple_claner:
Just removes lines that are part of the Project Gutenberg header or footer.
Doesnt go deeply in the text to remove other things like titles or footnotes or etc…` simple_cleaner(book: str)->str `### super_cleaner:
Super clean the book (titles, footnotes, images, book information, etc.). may delete some good lines too.` super_cleaner(book: str, min_token: int = 5, max_token: int = 600)->str `min_token: The minimum tokens of a paragraph that is not “dialog” or “quote”, -1 means don’t tokenize the txt (so it will be faster, but less efficient cleaning).
max_token: The maximum tokens of a paragraph.it will mark deleted paragraphs with: [deleted]## AuthorPeyman Mohseni kiasari## LicenseThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
Package: gutenbergPasswordGenerator
This module leverages thegutenbergpylibrary to retreive the text
of classic novels from the Gutenberg Project, a collection of open-source ebooks. It then returns 5 secure password candidates
in a listInstallationpipinstallgutenbergPasswordGeneratorTo UseimportgutenbergPasswordGeneratorgutenbergPasswordGenerator.generate_passwords()DevelopingThis project utilizesblackandflake8to format and lint code, and leveragespre-commitfor enforcement.To configure your personal environment/commit hooks:pipinstallblackflake8pre-commitpre-commitinstallReleasesReleases are published whenever a tag is pushed to Github# set version numberexportRELEASE=x.x.x# create tagsgitcommit--allow-empty-m"Release$RELEASE"gittag-a$RELEASE-m"Version$RELEASE# push
git push upstream --tags
Package: gutenhaiku
Guten HaikuA Commandline tool to mine haiku poems from text80's cli interface withcolorsWorks great with gutenberg books thx to a builtin cleaner script fromPeyman Mohseni KiasariReconstructs punctuation of haikus usingdeepcorrectAppends json haiku's to a fileInstall$pipinstallgutenhaikuThen you need to download the models in cache:$gutenhaikusetupUsage$gutenhaiku-ffrankenstein.txt-a'mary shelley'-t'frankenstein'-d'1818-01-01'Wat?GutenHaikoletsyouextracthaikupoemsfromtext
Usage:gutenhaiku\-ffrankenstein.txt\-a'Mary Wollstonecraft Shelley'\-t'frankenstein'\-d'1818-01-01'Optionalparams:--commandfile[-cf]afilewithcommaseperatedvaluesforf,a,t,dparams--outputfile[-o]theoutputfilepath[defaulthaiku.json--eighties[-e]eightiesmode[default1]Advancedusage:gutenhaiku\-ffrankenstein.txt\-a'Mary Wollstonecraft Shelley'\-t'frankenstein'\-d'1818-01-01'\-fdracula.txt\-a'Bram Stoker'\-t'dracula'\-d'1897-05-26'setup:gutenhaikusetupdownloadsAImodelsOutput formatexample fromassets{"page":261,"word_number":65407,"haiku":["He pointed towards.","The corpse of my wife I rushed.","Towards the window."],"author":"mary shelley","title":"frankenstein","date":"1818-01-01T00:00:00"}DevRun tests with$poetryrunnox
Package: gutentag
GutenTag is an interactive, user-editable genetic sequence database tool,
targeted at research groups, which facilitates flexible information labeling and
sharing, that is simple-to-use and easy-to-install.Our tool is Web 2.0-flavoured, allowing users to do more than just retrieve
information. Its focus on user-editability is supported by the use of tags
(metadata) associated with genetic sequences. Several methods of retrieving
stored data are available including tag-clouds, BLAST and keyword searches.
Also, sequence tags related to HGNC gene names, conserved domains (CDD) and GO
terms can be automatically generated given sequence data. The tool is
constructed using the high-level Python web framework, Django, with a SQLite3
backend.
Package: gutools
GUToolsUniveral Tools for programingFree software: MIT licenseDocumentation:https://gutools.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-03-20)First release on PyPI.0.1.4 (2020-07-01)Move to Py3 and upload to PyPI for better distribution.
Package: gutsygit
Gutsy GitMakes git usage extremely fast by making some gutsy assumptions.Assumptions:You work in a development environment based on pull request, avoiding pushing to your main branch.
Commit messages are not always very relevant due to squashing. Your .gitignore is set up well enough to routinely add all changes.Installationpip install gutsygitUsagegg <any number of single letter commands> [<arguments>]Commands:b [<name>]: Create a new branch from origin/main with generated or given name, stashing and applying uncommitted changes if needed.If the branch exists, adds a numeric suffix to the name.s <name>: Switch to existing branch.c [<*message>]: Commit changes.Ensures you are not on your protected branches by creating a branch if needed.Add all changes, including untracked files, and commit them with a generated or given commit message.If aborscommand remains after, argument(s) are assumed to be for the branch name, and the message is always generated.Retries once on failure to automatically commit changes resulting from pre-commit hooks.C [<*message>]: Same asc, but bypasses pre-commit hooks on the second try using--no-verify.p: Push commits.Potentially pulls from remote if needed.Sets tracking for the remote branch with the same name on the first push.P: same asp, but opens a web browser if an url is returned by git, as GitHub does for pull requests.l: PullExamplesgg cP: Commit and push changes with a generated commit message, and open a pull request page if suggested by the remote.gg bcp newbranch some description: Create a new branch named "newbranch", commit, and push any changes that were not committed before this with the commit message "some description".gg Csl othertask: Commit current changes regardless of commit hooks status, switch to 'othertask' branch and updates it.SettingsSettings are retrieved fromgit configwith thegutsygit.[setting]key:SettingDefault valueExplanationprotectedbranches"main,master"comma-separated list of branch names to avoid pushing to. Also used to branch from for a new clean branch, taking the first entry found that exists in the remote.outputlevel"0"verbosity level (-1: debug, 1: headers/warnings/errors only)