Saravanan666/pypi-org huggingface dataset:
Package: gguf-core
GGUF coreThis package is a GGUF (GPT-Generated Unified Format) file caller.install the caller via pip/pip3 (once only):pip install gguf-coreupdate the caller (if not in the latest version) by:pip install gguf-core --upgradeuser manualThis is a cmd-based (command line) package, you can find the user manual by adding the flag -h or --help.gguf -hcheck current versiongguf -vcli connectorwith command-line interfacegguf cgui connectorwith graphical user interfacegguf ginterface selectorselection menu for connector interface(s) abovegguf imetadata readerread model metadata for detail(s)gguf rGGUF file(s) in the current directory will automatically be detected by the caller.get featureget GGUF from URL; clone/download it to the current directorygguf get [url]sample model listYou can either use the get feature above or opt a sample GGUF straight from the sample list by:gguf spdf analyzor (beta)You can now load your PDF file(s) straight into the model for generating digested summary; try it out by:gguf pwebpage (alpha)https://gguf.uspaste it (gguf.us) to browser instead of cmd console
Package: gguf-llama
gguf_llamaProvides a LlamaAI class with Python interface for generating text using Llama models.FeaturesLoad Llama models and tokenizers automatically from gguf fileGenerate text completions for promptsAutomatically adjust model size to fit longer prompts up to a specific limitConvenient methods for tokenizing and untokenizing textFix text formatting issues before generatingUsagefromllama_aiimportLlamaAIai=LlamaAI("my_model.gguf",max_tokens=500,max_input_tokens=100)"Generate text by calling infer():text=ai.infer("Once upon a time")print(text)"Installationpipinstallgguf_llamaDocumentationSee theAPI documentationfor full details on classes and methods.ContributingContributions are welcome! Open an issue or PR to improve gguf_llama.
Package: ggui
gGui: gPhoton glue user interface.gGui is a data-analysis software written to visualize astronomical data, specifically time-tagged lightcurves, coadds, and cubes. gGui serves as the primary data visualization tool forgPhoton, the data reduction pipeline for GALEX.Please see our full documentation at:https://ggui.readthedocs.io/gGui is written atop theGlue Python Library for Dataset Visualization.Installation Instructions:Install Python 3.6+Upgrade pippython -m pip install --upgrade pipInstall gGui via pippip install gguiSample Usageggui --target_list /path/to/ggui.ymlwill automatically load a specific target list into a new gGui session.ggui --yaml_selectwill open a file-select dialog to select your target list(s). After which, gGui will load these targets.Major Revision History2019-12-22: Version 1.2 posted to GitHub/PyPI2019-11-02: Version 1.1 posted to GitHub/PyPI2019-06-20: Version 1.0 posted to GitHub/PyPI2019-06-11: Uploaded first test of b0.3.5 to PyPI2017-06-26: v0.3.0 Tag Created
Package: ggv.utils
# A sample Python projectA sample project that exists as an aid to the [Python Packaging User
Guide][packaging guide]’s [Tutorial on Packaging and Distributing
Projects][distribution tutorial].This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.[The source for this project is available here][src].Most of the configuration for a Python project is done in thesetup.pyfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written using
[reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md
use]. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What’s New” section for the most recent version
may be appropriate.[packaging guide]:https://packaging.python.org[distribution tutorial]:https://packaging.python.org/en/latest/distributing.html[src]:https://github.com/pypa/sampleproject[rst]:http://docutils.sourceforge.net/rst.html[md]:https://tools.ietf.org/html/rfc7764#section-3.5“CommonMark variant”
[md use]:https://packaging.python.org/specifications/core-metadata/#description-content-type-optional
Package: ggwave
Tiny data-over-sound library.# generate audio waveform for string "hello python"waveform=ggwave.encode("hello python")# decode audio waveformtext=ggwave.decode(instance,waveform)FeaturesAudible and ultrasound transmissions availableBandwidth of 8-16 bytes/s (depending on the transmission protocol)Robust FSK modulationReed-Solomon based error correctionInstallationpip install ggwaveAPIencode()encode(payload,[protocolId],[volume],[instance])Encodespayloadinto an audio waveform.Output ofhelp(ggwave.encode):built-in function encode in module ggwave

encode(...)
    Encode payload into an audio waveform.
    @param {string} payload, the data to be encoded
    @return Generated audio waveform bytes representing 16-bit signed integer samples.decode()decode(instance,waveform)Analyzes and decodeswaveforminto to try and obtain the original payload.
A preallocated ggwaveinstanceis required.Output ofhelp(ggwave.decode):built-in function decode in module ggwave

decode(...)
    Analyze and decode audio waveform to obtain original payload
    @param {bytes} waveform, the audio waveform to decode
    @return The decoded payload if successful.UsageEncode and transmit data with sound:importggwaveimportpyaudiop=pyaudio.PyAudio()# generate audio waveform for string "hello python"waveform=ggwave.encode("hello python",protocolId=1,volume=20)print("Transmitting text 'hello python' ...")stream=p.open(format=pyaudio.paFloat32,channels=1,rate=48000,output=True,frames_per_buffer=4096)stream.write(waveform,len(waveform)//4)stream.stop_stream()stream.close()p.terminate()Capture and decode audio data:importggwaveimportpyaudiop=pyaudio.PyAudio()stream=p.open(format=pyaudio.paFloat32,channels=1,rate=48000,input=True,frames_per_buffer=1024)print('Listening ... Press Ctrl+C to stop')instance=ggwave.init()try:whileTrue:data=stream.read(1024,exception_on_overflow=False)res=ggwave.decode(instance,data)if(notresisNone):try:print('Received text: '+res.decode("utf-8"))except:passexceptKeyboardInterrupt:passggwave.free(instance)stream.stop_stream()stream.close()p.terminate()MoreCheck outhttp://github.com/ggerganov/ggwavefor more information about ggwave!DevelopmentCheck outggwave python package on Github.
Package: ggwp
ggwp: Prepare Fast, Analyze FasterWhat is ggwp?ggwpis a Python package for fast and easy data analytics.It aims to make a data model that can be applied for some use casessuch as customer analytics. The data model created by ggwp is designeddirectly from my personal experiences, which will be more and more data modelsin the future. In addition,ggwpnow has some new features forlogging, modeling and evaluating your models, which of these can speed up your workflowFOR REAL!!Main FeaturesHere are current features available inggwpfrom ggwp.EzDataModel import *Example codes ->DataModel: prepare your raw data for a general data modelRFMT: create RFMT datasetCohort: create Cohort datasetCustomerMovement: create Customer Movement datasetBasketEvolving: create Basket Evolving datasetfrom ggwp.EzModeling import *Example codes ->Check: check your data quality and moreLog: log your data, its status and your remark, so you know what you've done for each stageEvaluation: evaluate your model using traditional (R2, RMSE, F-1, ACC, ROC) and practical metrics (Cost&Benefit, Lift)BenchMark: benchmark your models' performances giving you some intuitionfrom ggwp.EzPipeline import *Example codes ->GroupImputer: impute your value with multiple subsets (as you desire)ConvertVariables: convert all of your columns in one commandColumnAssignment: adding a new column in your pipeline is now availableOneHotTransformer: the brand-new One-Hot-Encoding is now at your serviceDataFrameTransformer: write your own function and use it along with your pipeline seamlesslyWhere to getggwpThe source code is currently hosted at GitHub:https://github.com/datanooblol/ggwpThe latest version is available atPython Package Index (PyPI)# pippipinstallggwpDependenciesnumpypandassklearnxgboostDisclaimerggwpis now in devoping phase. Hence, if you experience any inconveniences, please be patient...
Package: gh0st
gh0st_      ____      _
      | |    / __ \    | |
  __ _| |__ | | /  |___| |_
 / _` | '_ \| |//| / __| __|
| (_| | | | |  /_| \__ \ |_
 \__, |_| |_|\____/|___/\__|
 /\_/ |
 \___/A top-down stealth and hacking game implemented in python cursesPlayable in 256-color terminal emulators to monochrome tty and everything in betweenFiles.
├──gh0st/
│├──__init__.py
│├──__main__.py
│└──packages/
│├──aart/------------------------# ascii art wrapper││├──aart.py
││├──aart.txt
││├──cursed.py
││└──__init__.py
│├──__init__.py
│├──keymap/----------------------# keymap class for input││├──__init__.py
││└──keymap.py
│└──menu/------------------------# menu classes for curses│├──__init__.py
│├──menu.py
│├──OLD/---------------------# may incorporate these as base classes│└──option.py
├──icons/-------------------------------# various icons for game├──LICENSE
├──README.md
├──setup.py
└──tests/-------------------------------# tests of various future featuresDownload and Play$pipinstallgh0st
$gh0stTODOKey[+] feature to be added[x] change in code[-] bug to be removed[?] uncertain how to proceedTasks[+] add badges to gitlab <3[+] upload to PyPI├──write working demo└──tag first release[+] SE logic needs to be fuzzy, contradictable, and maybe not all revealed, but able to reveal by prodding/getting skill/familiarity?└──SE demo?[+] Need to keep better track of window size to prevent errors from making and using windows that are larger[+] match window size on create&resize[+] use old option&menu as base class?[x] keymap needs to accept any and all curses chars
Package: gh-action-poc-pssingh21
Hello world docker actionThis action prints "Hello World" or "Hello" + the name of a person to greet to the log.Inputswho-to-greetRequiredThe name of the person to greet. Default"World".OutputstimeThe time we greeted you.Example usageuses: actions/hello-world-docker-action@v2
with:
who-to-greet: 'Mona the Octocat'
Package: ghana
GHANIAN COUNTRIES INFORMATIONSStep 1: Install The Package Via PipVia Pippip3installghanaStep 2: Initialize#IMPORTimportghanaGetting data# Using the print() function to print the data outprint(ghana.country_data)print(ghana.regions)print(ghana.capitals)Getting clip art# Initialize clip art functionghana.region_art()ghana.capital_art()ghana.ghana_art()
Package: ghanashops-scraper
Ghana Online Shops ScraperA simple unofficial python package to scrape data fromTonaton,JumiaGH.
Affiliated toBank of Ghana Fx RatesGhanaNews-Scraper.How to installpipinstallghanashops-scraperExample Google Colab NotebookClick Here:OutputsAll outputs will be saved in a.csvfile. Other file formats not yet supported.Format:["product_description", "price", "location", "photo", "page_url"]UsageScrape shop data fromTonatonExample of search queries: cars, laptops, phones, vehicles, rent, houses, tablets, shoes, refrigeratorfromtonaton.scraperimportTonatonsearch_query="iphones"tonaton=Tonaton(query=search_query)tonaton.download()Limiting the number of pages to scrape.Note: some pages may take longer depending on the count. Recommendlimitingyour pages.fromtonaton.scraperimportTonatonsearch_query="laptops"tonaton=Tonaton(query=search_query,limit_pages=10)tonaton.download()Using AsyncioDO NOT USE IN JUPYTER NOTEBOOKS OR GOOGLE COLAB. OTHER WAYS ARE ACCEPTEDimportasynciofromtonaton.scrapyimportTonatonsearch_query="buses"tonaton=Tonaton(query=search_query,limit_pages=10)if__name__=='__main__':asyncio.run(tonaton.get_data())tonaton.download()BuyMeCoffeeCreditsTheophilus SiamehFollow me on Twitter
Package: ghanaweb-scraper
GhanaWeb ScraperA simple unofficial python package to scrape data fromGhanaweb. Affiliated tobank-of-ghana-fx-ratesHow to installpipinstallghanaweb-scraperWarning: DO NOT RUN IN ONLINE JUPYTERNOTEBOOKS eg. ColabsGhanaWeb Urls:urls = [
    "https://www.ghanaweb.com/GhanaHomePage/regional/"	
    "https://www.ghanaweb.com/GhanaHomePage/editorial/"
    "https://www.ghanaweb.com/GhanaHomePage/health/"
    "https://www.ghanaweb.com/GhanaHomePage/diaspora/"
    "https://www.ghanaweb.com/GhanaHomePage/tabloid/"
    "https://www.ghanaweb.com/GhanaHomePage/africa/"
    "https://www.ghanaweb.com/GhanaHomePage/religion/"
    "https://www.ghanaweb.com/GhanaHomePage/NewsArchive/"
    "https://www.ghanaweb.com/GhanaHomePage/business/"
    "https://www.ghanaweb.com/GhanaHomePage/SportsArchive/"
    "https://www.ghanaweb.com/GhanaHomePage/entertainment/"
    "https://www.ghanaweb.com/GhanaHomePage/africa/"
    "https://www.ghanaweb.com/GhanaHomePage/television/"
]Usagefromghanaweb.scraperimportGhanaWeburl='https://www.ghanaweb.com/GhanaHomePage/politics/'# url = 'https://www.ghanaweb.com/GhanaHomePage/health/'# url = 'https://www.ghanaweb.com/GhanaHomePage/crime/'# url = 'https://www.ghanaweb.com/GhanaHomePage/regional/'# url = 'https://www.ghanaweb.com/GhanaHomePage/year-in-review/'# web = GhanaWeb(url='https://www.ghanaweb.com/GhanaHomePage/politics/')web=GhanaWeb(url=url)# scrape data and save to `current working dir`web.download(output_dir=None)scrape list of articles fromGhanaWebfromghanaweb.scraperimportGhanaWeburls=['https://www.ghanaweb.com/GhanaHomePage/politics/','https://www.ghanaweb.com/GhanaHomePage/health/','https://www.ghanaweb.com/GhanaHomePage/crime/','https://www.ghanaweb.com/GhanaHomePage/regional/','https://www.ghanaweb.com/GhanaHomePage/year-in-review/']forurlinurls:print(f"Downloading:{url}")web=GhanaWeb(url=url)# download to current working directory# if no location is specified# web.download(output_dir="/Users/tsiameh/Desktop/")web.download(output_dir=None)Scrape data fromMyJoyOnlinefrommyjoyonline.scraperimportMyJoyOnlineurl='https://www.myjoyonline.com/news/',print(f"Downloading data from:{url}")joy=MyJoyOnline(url=url)# download to current working directory# if no location is specified# joy.download(output_dir="/Users/tsiameh/Desktop/")joy.download()frommyjoyonline.scraperimportMyJoyOnlineurls=['https://www.myjoyonline.com/news/','https://www.myjoyonline.com/entertainment/','https://www.myjoyonline.com/business/','https://www.myjoyonline.com/sports/','https://www.myjoyonline.com/opinion/']forurlinurls:print(f"Downloading data from:{url}")joy=MyJoyOnline(url=url)# download to current working directory# if no location is specified# joy.download(output_dir="/Users/tsiameh/Desktop/")joy.download()BuyMeCoffeeCreditsTheophilus Siameh
Package: gh-announce
gh-announceTwitter bot that posts a tweet each time you make a release on github!SynopsisI happen to maintain a lot of python projects on github such asdistroverifyandvtscan, and each time I make a tagged release, I have to make a status tweet to let people know. This tool is for automating this process,read this article to know more details.Installationpip install gh_announceUsageFirst time only to configure your github username & twitter api details:> gh_announce --configTesting the app:> gh_announce
  successfully updated status for repo: prahladyeri/distroverify, tag: 1.0.4Result:Set as a cron job by runningcrontab -e:* 12 * * * gh_announce
Package: gh-api
ghLow-level GitHub API request interface. With caching.It's similiar to the officialhub api, but:onlyGETcommands supportedautomatic caching byETagandCache-Controlwill speed up repeat queries and won't burn your rate limitbased on PythonSynopsisgh repos/dvershinin/lastversion/license # outputs JSON with license of a given repoInstallpip install --user gh-api
Package: ghapi-client
Python client for GitHub APIQuick TourInteracting with Pull RequestThis project usesGitHub APIto fetch information from GitHub using a Python wrapper.You can find the exhaustive list of supported features in thedocumentation. For instance, you can retrieve basic information about your pull request as follows:fromghapi.pullsimportRepository,PullRequestpr=PullRequest(Repository("frgfm","torch-cam"),187)# Get the PR informationpr.get_info(){'title': 'fix: Fixed zero division for weight computation in gradient based methods',
 'created_at': '2022-09-18T17:08:50Z',
 'description': 'This PR introduces an `eps` to all divisions in gradient methods to avoid NaNs.\r\n\r\nCloses #186',
 'labels': [{'id': 1929545961,
   'node_id': 'MDU6TGFiZWwxOTI5NTQ1OTYx',
   'url': 'https://api.github.com/repos/frgfm/torch-cam/labels/type:%20bug',
   'name': 'type: bug',
   'color': 'd73a4a',
   'default': False,
   'description': "Something isn't working"},
  {'id': 1929975543,
   'node_id': 'MDU6TGFiZWwxOTI5OTc1NTQz',
   'url': 'https://api.github.com/repos/frgfm/torch-cam/labels/ext:%20tests',
   'name': 'ext: tests',
   'color': 'f7e101',
   'default': False,
   'description': 'Related to test'},
  {'id': 1929975788,
   'node_id': 'MDU6TGFiZWwxOTI5OTc1Nzg4',
   'url': 'https://api.github.com/repos/frgfm/torch-cam/labels/module:%20methods',
   'name': 'module: methods',
   'color': 'f7e101',
   'default': False,
   'description': 'Related to torchcam.methods'}],
 'user': 'frgfm',
 'mergeable': None,
 'changed_files': 3,
 'additions': 15,
 'deletions': 8,
 'base': {'branch': 'main', 'sha': '0a5e06051440e27de6027ec382517a2c71686298'},
 'head': {'repo': 'frgfm/torch-cam',
  'branch': 'grad-nans',
  'sha': 'd49f4a3d847e130e99c3d20311e1450f074fd29f'}}If you're interested in reviewing the pull request, you might be interested in the code diff:# Retrieve the code difffull_diff=pr.get_diff()# Print the first diff sectionprint(full_diff["torchcam/methods/gradient.py"][0]["text"])which yields:-    def _get_weights(self, class_idx: Union[int, List[int]], scores: Tensor, **kwargs: Any) -> List[Tensor]:
+    def _get_weights(
+        self, class_idx: Union[int, List[int]], scores: Tensor, eps: float = 1e-8, **kwargs: Any
+    ) -> List[Tensor]:SetupPython 3.6 (or higher) andpip/condaare required to installghapi.Stable releaseYou can install the last stable release of the package usingpypias follows:pipinstallghapi-clientor usingconda:condainstall-cfrgfmghapi-clientDeveloper installationAlternatively, if you wish to use the latest features of the project that haven't made their way to a release yet, you can install the package from source:gitclonehttps://github.com/frgfm/ghapi.git
pipinstall-eghapi/.What elseDocumentationThe full package documentation is availableherefor detailed specifications.ContributingFeeling like extending the range of supported API feature? Or perhaps submitting a new feature idea? Any sort of contribution is greatly appreciated!You can find a short guide inCONTRIBUTINGto help grow this project!LicenseDistributed under the Apache 2.0 License. SeeLICENSEfor more information.
Package: ghapi-conversion
GHAPI-conversionCLI to replace HTTP GET on GitHub API with clones.WhyIn GitHub Actions the macOS machines share the same IP range, meaning that users will come against the GitHub quota often.https://github.com/actions/virtual-environments/issues/602To overcome this issue, use this tool instead ofpip install -r. This toolclones rather thanGETs:https://api.github.com/repos/<org>/<repo>/zipball#egg=<package_name>https://raw.githubusercontent.com/<org>/<repo>/<branch>/<file>Additionally, it reuses already cloned repos.Install packagePyPipip install ghapi-conversionDevelopmentInstall dependenciespip install -r requirements.txt
# On Python 2.7, `pip install mock` in order to run the tests without errorInstall packagepip install -e .Usage$ python -m ghapi_conversion --help

usage: __main__.py [-h] [--version] (-r FILE | -l LINK)

CLI to replace HTTP GET on GitHub API with clones

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -r FILE, --requirement FILE
                        Install from the given requirements file. This option
                        can be used multiple times.
  -l LINK, --link LINK  Clone instead of HTTPS GET a
                        `https://api.github.com/repos/<org>/<repo>/zipball` or
                        `https://raw.githubusercontent.com/<org>/<repo>/<branch
                        >` link.AlternativesManually replace current setup with clones, non GitHub API—or authed—hosted alternativesPack dependencies and download and extract this archive from non GitHub API—or authed—hosted alternativeSeamlessly do whatghapi_conversiondoes, by self-hosting a proxy serverLicenseCC0.ContributionUnless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the CC0 license, shall be
licensed under CC0, without any additional terms or conditions.
Package: gharar
ghararA modern, easy to use, feature-rich, and async ready API wrapper for Gharar written in Python.Free software: MIT licenseDocumentation:https://gharar.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-04-05)First release on PyPI.
Package: gharchive
py-gh-archiveOverviewPython SDK to access Github ArchiveGetting StartedInstallgharchive:pip install gharchiveOr, for multi-processing in extracting archives:pip install gharchive[mgzip]A simple example:fromgharchiveimportGHArchivegh=GHArchive()data=gh.get('6/8/2020','6/10/2020',filters=[('repo.name','bitcoin/bitcoin'),('type','WatchEvent')])LinksSee thedocumentation here.AuthorCreated by Nick DeRobertis. MIT License.
Package: ghasedak
Ghasedak-pythonGhasedak sms webservicepython package.installationYou can simply install ghasedak python package withpip:pipinstallghasedakusageimportghasedaksms=ghasedak.Ghasedak("Your APIKEY")sms.send({'message':'hello, world!','receptor':'09xxxxxxxxx','linenumber':'xxxx','senddate':'','checkid':''})sms.bulk1({'message':'hello, world!','receptor':'09xxxxxxxxx,09xxxxxxxxx,09xxxxxxxxx','linenumber':'xxxx','senddate':'','checkid':''})licenseReleased under the MIT License.
Package: ghast
Graylog HTTP Alert Script Triggerer (ghast)!A simple server for triggering a script on a Graylog HTTP alert callback!RequirementsPython 3.5+Installationghast can be installed via pip:pipinstallghastExample UsageTo start and enable ghast to trigger the script./foo.shwhen a
Graylog HTTP alert callback is sent to the urlhttp://localhost:8000/barrun the following command:ghast--alert-url/bar--alert-script./foo.shTo get additional usage help on ghast run the following console command:ghast--help