Saravanan666/pypi-org huggingface dataset:
Package: getllms
getllms - 1.2The LLMs index. Uses theLMStudio Catalog.$ pip install getllmsIn This VersionWhat's New0.5: Support for Notebooks0.4: Minor fixes1.1: Download updates1.2: Added CLIList All LLMs.List all LLMs available for use. Selected for you.importgetllmsmodels=getllms.list_models()Output[Model(name="Google's Gemma 2B Instruct",description='** Requires LM Studio 0.2.15 or new…',files=[…(1)]),Model(name='Mistral 7B Instruct v0.2',description='The Mistral-7B-Instruct-v0.2 Large …',files=[…(2)]),...]See Trained LLMs.Get the trained ones for a specific model. Select the one that meets your system requirements.# select Google's Gemma 2B Instructmodel=models[0]model.filesOutput & MoreOutputFileCollection(best=ModelFile(name='gemma-2b-it-q8_0.gguf',size=2669351840,url='https://huggingface.co/lmstudi…'),+0)MoreAdditionally, you can see all the available model files:model.files.all# [ ModelFile(...), ... ]Download LLMs.Download the LLM that's right for you.model.download("model.bin")Output0.0%━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━900.0KB/2.5GB(8.7MB/s)CLILearn how to use the CLI from the help command or refer to this page.$getllmsList Models.To list all models, use thegetllms listcommand. Note that this truncates down to showing only 5 models. If you wish to list all of them, usegetllms list allinstead.$getllmslistOutputGoogle's Gemma 2B Instruct

** Requires LM Studio 0.2.15 or newer ** Gemma is a family of lightweight LLMs built from the same research and technology Google used to create the Gemini models. Gemma models are available in two sizes, 2 billion and 7 billion parameters. These models are trained on up to 6T tokens of primarily English web documents, mathematics, and code, using a transformer architecture with enhancements like Multi-Query Attention, RoPE Embeddings, GeGLU Activations, and advanced normalization techniques.


Mistral 7B Instruct v0.2

The Mistral-7B-Instruct-v0.2 Large Language Model (LLM) is an improved instruct fine-tuned version of Mistral-7B-Instruct-v0.1. For full details of this model read MistralAI's blog post and paper.

(...)Download Models.To download a model, usegetllms <model name>:$getllms"Google's Gemma 2B Instruct"Specify model sizeIf you wish to specify the model's size (economical/best), just add the desired size inside of square brackets after the name of the model.$getllms"Google's Gemma 2B Instruct [economical]"© 2023 AWeirdDev. Catalog byLMStudio
Package: get-loggy
loggyA simple logging utility.InstallationTo install the package locally use the following:pip install get-loggyFeaturesColor supportCustom color support (advanced)Add additional logging levelsOptional log stream vs. log fileLog record formatPackage level loggingUsageLoggy exists as a simple interface for some standard logging in Python.
This is done at the package level, not by name.Basic instantiationA basic logger may look like this, defaulting to the "info" level logging.fromloggyimportloggylog=loggy.get_loggy()log.info("Something")>>>2022-06-2120:16:39PMPDT|INFO|Something|(<stdin>:1:<module>)|Using colorColors are supported as well, though not for use with log files. Color and
log files are mutually exclusive, as the color codes would clutter the logs.log=loggy.get_loggy(use_color=True)Writing to filesFile handlers are initiated using a dictionary of configurations for the file,
this gives more granular control over file based logging. This is passed
directly to theFileHandler()instantiation.The below example creates a log file with append mode.file_config = {"filename": "some-log-file.log", "mode": "a"}
log = loggy.get_loggy(log_file=file_config)Advanced usageCustom colors can be created or added along with custom logging levels.
See theconftest.pyfor an example of custom formatter
and'test_loggy.py'to see how the colors are added
for a custom logging level.Running testsPytestis used as the test runner. To install and run tests
use therequirements-dev.txtand execute withpytest.Note:Use a virtual environment. The steps to create one are left to the user,
there are many packages that accomplish this.pipinstall-rrequirements-dev.txt
pytest
Package: getlyrics
A Python program which gets the lyrics for a song and outputs them to
stdoutUsageusage: getlyrics [-h] [-i INDEX] [-u] term

positional arguments:
  term                  Search term

optional arguments:
  -h, --help            show this help message and exit
  -i INDEX, --index INDEX
                        Specify song index, if multiple results are returned
  -u, --get-url         Returns the URL for the lyrics (instead of lyrics)

Data loaded from AZLyrics.com. Used without permission. This is effectively a
shortcut for opening a browser, but I guess it does skip loading ads.InstallationViapip:pip3 install getlyricsAlternatively:Clone the repository,cd getlyricsRunpython3 setup.py installorpip3 install-e
Package: getm
getm: Fast reads with integrity for data URLsgetmprovides fast binary reads for HTTP URLs usingmultiprocessingandshared memory.Data is downloaded in background processes and made availabe as references to shared memory. There are no buffer
copies, but memory references must be released by the caller, which makes working with getm a bit different than
typical Python IO streams. But still easy, and fast. In the case of part iteration, memoryview objects are released
for you.Python API methods accept a parameter,concurrency, which controls the mode of operation of mget:Defaultconcurrency == 1: Download data in a single background process, using a single HTTP request that is kept
alive during the course of the download.concurrency > 1:  Up toconcurrencyHTTP range requests will be made concurrently, each in a separate background
process.concurrency == None: Data is read on the main process. In this mode, getm is a wrapper forrequests.Python APIimport getm

# Readable stream:
with getm.urlopen(url) as fh:
    data = fh.read(size)
	data.release()

# Process data in parts:
for part in getm.iter_content(url, chunk_size=1024 * 1024):
    my_chunk_processor(part)
	# Note that 'part.release()' is not needed in an iterator contextCLIgetm https://my-cool-url my-local-fileTestingDuring tests, signed URLs are generated that point to data in S3 and GS buckets. Data is repopulated during each test.
You must have credentials available to read and write to the test buckets, and to generate signed URLs.Set the following environment variables to the GS and S3 test bucket names, respectively:GETM_GS_TEST_BUCKETGETM_S3_TEST_BUCKETGCP CredentialsGenerating signed URLs during tests requires service account credentials, which are made available to the test suite by
setting the environment variableexport GETM_GOOGLE_APPLICATION_CREDENTIALS=my-creds.jsonAWS CredentialsFollow theseinstructionsfor configuring
the AWS CLI.Installationpip install getmShared Memory Size TestsBefore release, tests should be performed on systems with various amounts of shared memory. Good choices are 64M and
8G. It is also highly encouraged for development work on the shared memory algorithms and configurations ofgetm.Shared memory can be resized on Ubuntu systems, and likely other Linux systems, with the bundled convenience scriptdev_scripts/resize_shm.sh. Either sudo or root access is required.:sudo dev_scripts/resize_shm.sh 64M
sudo dev_scripts/resize_shm.sh 8Gsharedmemorybackport to Python 3.7getm relies on thesharedmemorymodule, which was introduced in Python 3.8. Since a large portion of getm's audience
relies on Python 3.7, a C extensionbackportofsharedmemoryis included.The backport adds significant complexity getm's code base, requiring C/C++ knowlege to maintain, as well as knowledge ofCPython. It will be removed when enough getm users have migrated to Python 3.8 or
greater.LinksProject home pageGitHubPackage distributionPyPIBugsPlease report bugs, issues, feature requests, etc. onGitHub.Creditsgetm was created byBrian Hannafiousat theUCSC Genomics Institute.Special thanks toMichael BaumannandLon Blauveltfor critical input and testing.
Package: getmagnetlink
Searches for specified torrent and returns magnet linkUsageusage: getmagnetlink [-h] term

positional arguments:
  term        Search term

optional arguments:
  -h, --help  show this help message and exitInstallationViapip:pip3 install getmagnetlinkAlternatively:Clone the repository,cd getmagnetlinkRunpython3 setup.py installorpip3 install-e
Package: getmagpi
A simple utility to synchronize free MagPi PDF content. Compatible with
Python 2 & 3.Usageusage: getmagpi [-h] [-c] [-e] DOWNLOAD_PATH

                _                               _
      __ _  ___| |_ _ __ ___   __ _  __ _ _ __ (_)
     / _` |/ _ \ __| '_ ` _ \ / _` |/ _` | '_ \| |
    | (_| |  __/ |_| | | | | | (_| | (_| | |_) | |
     \__, |\___|\__|_| |_| |_|\__,_|\__, | .__/|_|
     |___/                          |___/|_|

    Simple utility to sync free MagPi PDFs.

positional arguments:
  DOWNLOAD_PATH       Destination folder for downloads

optional arguments:
  -h, --help          show this help message and exit
  -c, --compare       Only display missing files (no downloads)
  -e, --english-only  Ignore non-English files (identified via description)DemonstrationInstallationManuallyClone this repository:$gitclonegit@github.com:jnario/getmagpi.gitInstall:$pythonsetup.pyinstallVia PyPi$pipinstallgetmagpiDependenciesrequestsBeautifulSoupLicenseMIT License

Copyright (c) 2017 Jose Nario

Permission 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.
Package: getmail
getmail6 is a flexible, extensible mail retrieval system with
support for POP3, IMAP4, SSL variants of both, maildirs, mboxrd files,
external MDAs, arbitrary message filtering, single-user and domain-mailboxes,
and many other useful features.getmail is Copyright (C) 1998-2023 Charles Cazabon and others.
getmail is licensed for use under the GNU General Public License version 2 (only).
Seedocs/COPYINGfor specific terms and distribution information.getmail6 has adaptations to work with Python 3.
These changes might still contain some bugs.
Please report them athttps://github.com/getmail6/getmail6.
Seedocs/BUGSfor instructions on reporting bugs.getmail6 will probably not work with Python versions older than 2.7.
Use getmail 5.14 with them.InstallationTo install:pip install getmail6To uninstall:pip uninstall getmail6You can install getmail6 in your home directory if you add--user.If getmail6 is available via your Linux distribution, you better use that.Usagegetmail6 is not a python API.
getmail6 provides command line tools:getmailgetmail_maildir,getmail_mboxgetmail_fetchgetmail-gmail-xoauth-tokensBefore usinggetmailyou must configure it.
Seedocs/configuration.txtanddocs/getmailrc-examples.
An example:[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmail.com
port = 993
username = <your_email_here>
#password = ... or
password_command = ("pass", "<your_email_here>")

[destination]
type = Maildir
path = ~/Mail/<your_email_here>/INBOX/

[options]
read_all = true
delete = trueGoogle gmailForgmail,
after having enabled 2-Step Authentication,
let google generate an “app password” for you.
Then, for the above example,
usepass edit <your_email_here>and change to the generate one.Go tohttps://mail.google.comIf you are signed in, on the left upper corner there is a cogwheel symbol for settingsChoose “See all Settings”“Accounts and Imports” tab, then “Other Google Account Settings”/”Security” brings you tohttps://myaccount.google.com/u/0/security?hl=enTurn on “2-Step Verification” (also known as 2-factor-authentication or 2FA)In “App passwords”, generate a password for your deviceUpdate this in your password command.See also:https://support.google.com/accounts/answer/185833Oauth2 Privacy Policygetmail is a native app.
Seehttps://developers.google.com/identity/protocols/oauth2/native-appStill, to download your email from gmail to your computer using OAuth2
you need to grant getmail OAuth2 access to the scopehttps://mail.google.com/,
as you would to web apps.
Unfortunately, the init step in example 12 indocs/getmailrc-exampleshas to be repeated regularly.
This makes theapp passwordmethod above a better alternative.
Don’t forget to remove theuse_xoauth2line,
if you switch from Oauth2 toapp password.Testsgetmail 5.14 did not come with tests.There is now a test folder that usesdocker-mailserverfor black box testing.This still tests Python 2.7.Tests are work in progress.DocumentationSee the HTML documentation for details on setting up and usinggetmail.
It is included in thedocssubdirectory,
and will be installed in<PREFIX>/doc/getmail-<version>/(by default).docs/documentation.txt
docs/configuration.txt
docs/faq.txt
docs/troubleshooting.txt
Package: getmal
Get MyAnimeList!(*В°в–ЅВ°*)Returns the data of a particular anime list and status in JSON.Installpip install getmalStatus codes:7: All Anime
1: Currently Watching
2: Completed
3: On Hold
4: Dropped
6: Plan to WatchExamples# Get valsaven's dropped animegetmalvalsaven4# Get valsaven's all anime and export it to valsaven.jsongetmalvalsaven7-ovalsaven.jsonBuildpythonsetup.pysdistbdist_wheel
Package: get-manaba
get-manaba日本語の README はこちらからLibrary for get various information aboutmanaba.AnnouncementThis library is mainly designed to operate the service in the developer's university. Please note that it may not work well for other universities.The university to which the developer of this library belongs will no longer be using manaba since 2022. As a result, support for this library will be discontinued and it will be archived as of April 2022.I am planning to develop a library of"UNIVERSAL PASSPORT" by Japan System Techniques Co:book000/get-unipaWarning / DisclaimerThe developer assumes no responsibility for any problems resulting from the use of this project and library. Use at your own risk.Do not use this library to make many requests in a short amount of time.Documentationget-manaba documentsRequirementsmanaba (Tested withmanaba 2.971)Official documentation for studentOfficial documentation for teacherPython 3.9+requirements.txt:requests,beautifulsoup4,html5libInstallationThere are two ways to install it, either from PyPI or by cloning the repository.Install from PyPIInstall get-manaba from PyPI:pip install -U get-manabaInstall from cloning the repositoryClone from GitHub repository:git clone https://github.com/book000/get-manaba.gitInstall the dependency package fromrequirements.txt:pip install -U -r requirements.txtInstall the get-manaba package:pip install .LicenseThe license for this project isMIT License.
Package: getmanga
getMangaTool for load manga from different websitesIjustwantedtoreadthemanga...import main class:fromgetMangaimportMangaasyncdefmain():site='mangalib.me'# Website's domentitle='shingeki-no-kyojin'#unique namelink='https://mangalib.me/shingeki-no-kyojin'# Inislization:manga=awaitManga.get(site,title).parse()manga2=awaitManga(link).parse()# Methods:manga.info#some information about mangamanga.img_list#return links for pages(take many time for work)manga.chapter_list#return list of (volume_number, chapter_number, chapter_name)manga.chapter_dict#return dict {volume_numbers: {chapter_numbers: chapter_name}}chapter=manga.get_chapter(int)#return chapter №intvolume=manga.get_volume(int)#return volume №intawaitchapter.img_list#return links for pages from volumeawaitvolume.img_list#return links for pages from volume#Start parsingif__name__=="__main__":loop=get_event_loop()loop.run_until_complete(main())
Package: getme
=====getme=====**getme** is the tool for extracting HTML with a simple templateWhy?----Writing a parser that extracts Web content is not difficult. What if thewebsite changes its structure, or we have to extract content from anotherwebsite? You'd likely to rewrite your code over and over again.**getme** is created to help people minimize that effort. You don't haveto write code, but need to understand HTML structure enough to extract thecontent... :changelog:History-------0.0.1 (2013-03-29)+++++++++++++++++- Working Conception- Ugly template
Package: get-media-files
Python class to return a list of local media files from a folder with
metadata of the filesRequirementsPython 3ModulespymediainfoclickDependenciesMediaInfo(for pymediainfo module)get_media_files.__main__Description: Returns list of files with data & file path of each file in
its own list sorted by creation/metadata change time (oldest to newest
(ascending order)) by defaultInput: path to media filesOutput: list of lists each containing media info of each media fileUsageUse as CLI app such aspython-mget_media_files my_path/Picturesor use it
as an API and import viafrom get_media_files import GetMediaFiles.ExampleSuppose I have 2 image files, test2.jpg and test3.jpg, 1 text file, and
1 folder in the following path andrun the following code:from get_media_files import GetMediaFiles

path = '/home/j/Documents/_Github-Projects/MediaToVideo/temp-imgs'
media = GetMediaFiles(path)
info = media.get_info(path, track_types=['Image','Video'])
print(info)printed output:[['/home/j/Documents/_Github-Projects/MediaToVideo/temp-imgs/test2.jpg',
{'Image':
    {'duration': None, 'format': 'JPEG', 'size': (1920, 1080)}},
'Image',
1473055449.7858396],
['/home/j/Documents/_Github-Projects/MediaToVideo/temp-imgs/test3.jpg',
{'Image':
    {'duration': None, 'format': 'JPEG', 'size': (291, 1080)}},
'Image',
1473055449.921839]]
Package: getmeta
getmetaInstallAmazon:sudo yum install file-develUbuntu:sudo apt-get install libmagic1Python:pip install getmetaData1. pathabsolutedirectoryfilename2. sourceDIR or FILE3. sizefile sizebytes (B)4. md5hash valuenon-empty filesless than 100 MB5. sha256hash valuenon-empty filesless than 100 MB6. magicmime typenon-empty filesless than 100 MB7. uiddisplay name/etc/passwd8. giddisplay name/etc/group9. maskinode maskoctet10. mtimelast modified timestampunix epoch11. md5pathfullpathmd512. md5dirdirectorymd513. md5namefilenamemd514. sha256pathfullpathsha25615. sha256dirdirectorysha25616. sha256namefilenamesha256Inode Maskmask
0o1006440o100644170 - bit mask140 - socket120 - symbolic link100 - regular file060 - block device040 - directory020 - character device010 - FIFO004 - set-user-id bit002 - set-group-id bit001 - sticky bit0o1006444 - user read2 - user write1 - user execute0o1006444 - group read2 - group write1 - group execute0o1006444 - world read2 - world write1 - world executeReferenceshttps://pypi.org/project/aiofile/https://pypi.org/project/blake3/https://pypi.org/project/python-magic/https://man7.org/linux/man-pages/man7/inode.7.htmlLocal Developmentpython setup.py install --user
Package: get-metadata
get_metadataGet metadata string. Works on GAE(Google App Engine), GCF(Google Cloud Functions), and the others.
For the detail, seehttps://cloud.google.com/appengine/docs/standard/java/accessing-instance-metadataInstallation;pip install get_metadataOR Writeget_metadatain requirements.txt.# requirements.txt sample
Flask  # sample
get_metadata
google-cloud-storage  # sampleHow to usefromget_metadataimportget_metadatakey="project_id"project_id=get_metadata(key)key2="/computeMetadata/v1/instance/service-accounts/default/"service_accounts=get_metadata(key2)key accepts a key of key_list(see below) or metadata endpoint.key_list:dict[str,str]={# The project number assigned to your project."numeric_project_id":"/computeMetadata/v1/project/numeric-project-id",# The project ID assigned to your project."project_id":"/computeMetadata/v1/project/project-id",# The zone the instance is running in."zone":"/computeMetadata/v1/instance/zone",# no description"aliases":"/computeMetadata/v1/instance/service-accounts/default/aliases",# The default service account email assigned to your project."email":"/computeMetadata/v1/instance/service-accounts/default/email",# Lists all the default service accounts for your project."service-accounts":"/computeMetadata/v1/instance/service-accounts/default/",# Lists all the supported scopes for the default service accounts."scopes":"/computeMetadata/v1/instance/service-accounts/default/scopes",# Returns the auth token that can be used to authenticate your application to other Google Cloud APIs."token":"/computeMetadata/v1/instance/service-accounts/default/token",}
Package: get-metars
get-metarsSimple command line tool to download METAR's and TAF's for a given station and
store them in text files.RequirementsThis package requires:Python ^3.7Python because it was developed on that version.InstallationFor install only run this command from your terminalpip install get-metarsUpdateUpdate withpipadding the option --upgradepip install --upgrade get-metarsExamplesThe data are downloaded fromOgimet.com, so be nice and don't saturate
the server. This site only accepts requests of data of 31 days or less at a time.To download data for a specific month (i.e. january 2022) of JFK INT. Airport only runget-metars kjfk --init 2022-01-01The program will understand that you want all data of the month.If you need only the METAR's runget-metars kjfk --init 2022-01-01 --type SAwhereSAmeansMETARtype of aeronautical report. Typeget-metars --helpto see all
the available options.If you need a specific time of period you need to give the initial and final datetimes,
as followsget-metars kjfk --init 2021-12-05T01:00:00 --final 2021-12-10T22:30:00 --type SPwhereSPmeansSPECItype of aeronautical reports.To standarize the reports for TAF-VER verification program add the flag--sanitizeor-s.
To make the program store the reports in one line add the flag--one-lineor-o.
By default, reports are written to the file with the datetime prefix with format%Y%m%d%H%M. If you
want to remove that prefix add the flag--no-datetime-prefix.So that's it. Simple no?
Have a happy coding :D
Package: getmetric
getmetricgetmetric.net integration packageRequirementsPackage requirements are handled using pip. To install them dopip install -r requirements.txtTestsTesting is set up usingpytestand coverage is handled
with the pytest-cov plugin.Run your tests withpy.testin the root directory.Travis CIThere is a.travis.ymlfile that is set up to run your tests for python 2.7
and python 3.2, should you choose to use it.
Package: getml
getML - Automated Feature Engineering for Relational Data and Time SeriesgetML (https://getml.com) is a tool for automating feature engineering on relational data and time series. Unlike similar tools, it includes a database engine
that has been customized for this very purpose.Because of this customized database engine, it is very fast. In fact, it is
between 60x to 1000x faster than other open-source tools for automated
feature engineering.This is the official python client for the getML engine.Documentation and more details athttps://docs.getml.com/1.4.0BuildTo build the package installpipinstallbuildand runpython3-mbuild.