Saravanan666/pypi-org huggingface dataset:
Package: gryds
Gryds enables you to make fast geometric transformations of images.
The supported geometric transformations include translations, rigid transformations (translation + rotation),
similarity transformations (translation + rotation + isotropic scaling),
affine transformations (translation + rotation + arbitrary scaling + shearing),
and deformable transformations (modeled as B-splines). It is also possible to apply the transformations to
coordinates in the image domain, and to inspect the deformation vector field.
Package: gryffin
Gryffin: Bayesian Optimization of Continuous and Categorical VariablesWelcome toGryffin!Designing functional molecules and advanced materials requires complex design choices: tuning
continuous process parameters such as temperatures or flow rates, while simultaneously selecting
catalysts or solvents.To date, the development of data-driven experiment planning strategies for
autonomous experimentation has largely focused on continuous process parameters despite the urge
to devise efficient strategies for the selection of categorical variables. Here, we introduce Gryffin,
a general purpose optimization framework for the autonomous selection of categorical variables
driven by expert knowledge.FeaturesGryffin extends the ideas of thePhoenicsoptimizer to categorical variables. Phoenics is a linear-scaling Bayesian optimizer for continuous spaces which uses a kernel regression surrogate. Gryffin extends this approach to categorical and mixed continuous-categorical spaces.Gryffin is linear-scaling appraoch to Bayesian optimization, whose acquisition function natively supports batched optimization. Gryffin's acquisition function uses an intuitive sampling parameter to bias its behaviour between exploitation and exploration.Gryffin is capable of leveraging expert knowledge in the form of physicochemical descriptors to enhance its optimization performance (static formulation). Also, Gryffin can refine the provided descriptors to further accelerate the optimization (dynamic formulation) and foster scientific understanding.Use cases of Gryffin/PhoenicsSelf-driving lab to optimize multicomponet organic photovoltaic systemsSelf-driving laboratory for accelerated discovery of thin-film materialsData-science driven autonomous process optimizationSelf-driving platform for metal nanoparticle synthesisOptimization of photophyscial properties of organic dye laser moleculesRequirementsPython version >= 3.7InstallationTo installgryffinfromPyPI:$pipinstallgryffinTo installgryffinfrom source:$gitclonegit@github.com:aspuru-guzik-group/gryffin.git$cdgryffin$pipinstall.Example UsageThis is a minimalist example of Gryffin in action.fromgryffinimportGryffinimportexperiment# load configconfig={"parameters":[{"name":"param_0","type":"continuous","low":0.0,"high":1.0},],objectives:[{"name":"obj","goal":"min"},]}# initialize gryffingryffin=Gryffin(config_dict=config)observations=[]foriterinrange(ITER_BUDGET):# query gryffin for new paramsparams=gryffin.recommend(observations=observations)# evaluate the proposed parametersmerit=experiment.run(params)params['obj']=meritobservations.append(params)DocumentationPlease refer to thedocumentationwebsite for:Getting StartedConfigurationTutorialsAPI ReferenceCLI ReferenceCitationIf you found Gryffin useful, please include the relevantcitationin your work.LicenseApache License 2.0
Package: grygry
grygrygrygryis a set of command line utilities to grep different types of source code.DescriptionThis script is for my own use, but if you are interested:The provided list of scripts find lines of source code in the current directory that match the argument string.Options are hardcoded in a parameters file (seegrygry/lib/parameters.json).A list of script dynamically generated from the parameters file are available: gryall, grycfg, grycss, gryhtml, gryhtmlall, gryjs, gryjson, grymd, grynopy, grypy, grypy0, grypy2, gryrb, grysh, grytoml, grytxt, gryyml.Just look in the parameters file to understand the various options (and adapt to your needs.)This project is licensed under the MIT License.Project:https://github.com/jdum/grygryAuthor:jerome.dumonteil@gmail.comExample%grypyself.found
/Users/jd/dev/gits/grygry/grygry/lib/grylib.py20:self.path=Path()21:self.found={}22:74:self.find_word(path)75:ifnotself.found:76:return...InstallationInstallation fromPypi(recommended):pipinstallgrypy
Package: gryibwc
gryibwcGoodreadsYearInBooksWordCountGet a word count for all books read in a year. :book:Word count might be more accurate than pages,
since the page count depends on formatting and whatnot.
However, the word counts are estimated based on the length
of the audio book version, which is still comparable across books.
In any case, it makes for an interesting comparison of years.Installationpip install gryibwcUsage$ gryibwc -h
usage: gryibwc [-h] [--version] [--fast] userid year

positional arguments:
  userid      goodreads user id
  year        desired year

optional arguments:
  -h, --help  show this help message and exit
  --version   show program's version number and exit
  --fast      skip wait time - risk getting bannedOutput e.g.:Overall word count for year 2019: 4731925The ID of the Goodreads user can be found in the profile URL.E.g.:https://www.goodreads.com/user/show/26026244-lorenz=> ID:26026244Also you need to specify an API key in thePUBLIC_KEYenvironment
variable. Get your keyhere.DependenciesBeautiful Souphttps://github.com/LoLei/goodreads-api-client-pythonBe sure to use my fork since the main API request is
not implemented in the original source
Package: grymp
Automate the processing of Grym/vonRicht releases. Please note: this module doesnotdownload anything; it only speeds up moving around and renaming existing files.Installation$ pip install grympExamplesProcess a release located at~/Release.Name-Grym. The feature will be placed in/tmp/features, and the extras in/tmp/extras:$ grymp -f /tmp/features -e /tmp/extras ~/Release.Name-GrymTo only process the featureorextras, only pass the-for-eoption (with a path) respectively.Usage$ grymp -h
usage: grymp [-h] [-V] [-v] [-i] [-o] [-k] [-f FEATURE] [-e EXTRAS]
             base [base ...]

Automate the processing of Grym/vonRicht releases

positional arguments:
  base                  one or more root directories of releases, each
                        containing a feature

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -v, --verbosity       increase output verbosity
  -i, --interactive     prompt before each operation affecting the filesystem
  -o, --overwrite       overwrite files without asking
  -k, --keep            keep original files; only has an effect if they were
                        copied because the destination was on a different
                        filesystem
  -f FEATURE, --feature FEATURE
                        marshal the feature into this directory (it must
                        exist)
  -e EXTRAS, --extras EXTRAS
                        marshal the extras into a new subdirectory within this
                        directory, named after the feature
Package: gryphon-cdecimal
OverviewThecdecimalpackage is a fast drop-in replacement for thedecimalmodule
in Python’s standard library. Both modules provide complete implementations of
Mike Cowlishaw/IBM’sGeneral Decimal Arithmetic Specification.TestingBothcdecimaland the underlying library -libmpdec- are extremely
well tested.libmpdecis one of the few open source projects with 100%
code coverage.cdecimalis rigorously tested againstdecimal.py.Short benchmarksTypical performance gains are between 30x for I/O heavy benchmarks
and 80x for numerical programs. In a database benchmark, cdecimal
exhibits a speedup of 12x over decimal.py.decimalcdecimalspeeduppi42.75s0.58s74xtelco172.19s5.68s30xpsycopg3.57s0.29s12xDocumentationSincecdecimalis compatible withdecimal.py, the official documentation
is valid. For the few remaining differences, refer to the second link.Decimal moduleDifferences between cdecimal and decimalLinux NotesThe build process requires a working C compiler and afullPython install with
development headers. Linux distributions often ship the Python header files as
a separate package, calledpython-devorpython-devel.Install headers on Debian/Ubuntu:sudoapt-getinstallpython-devWindows NotesBinary installersLinkscdecimal project homepagecdecimal benchmarks
Package: grzegorz
grzegorzgrzegorzis a linguistics tool which primarily concerns minimal pairs. For a
detailed history of the project's development, check theChangelogOverviewNOTE: throughout the documentation, "IPA" is used as an abbreviation forInternational Phonetic
Alphabettranscription.What are minimal pairs?Usage manual, contains brief technical descriptions of
everythingQuickshot phonological parsingGetting a decently-sized wordlistFetching International Phonetic Alphabet spellingsFinding minimal pairs with the help of the generatorCreating an Anki deck and importing it into the appThe convenientfullmakecommandGetting startedRequirementspython3pipInstallationMake sure the pip installation directory (default:${HOME}/.local/bin) is on
your${PATH}. If not, add it (to your.bashrcor.zshrcpreferably):export PATH="${HOME}/.local/bin:${PATH}"From PyPi$ pip install grzegorzFrom sourceClone this repository and run pip:$ git clone https://github.com/xylous/grzegorz grzegorz
$ cd grzegorz
$ pip install .UsageCheckthe "overview" sectionRoadmapfetch a wordlist of most used words in a given languagefetch the International Phonetic Alphabet spelling for a given wordlistgenerate minimal pairslook for phoneme differencesoptimise: look for interesting differencesoptimise: ignore stressed syllableslook for chroneme differenceslook for syllable stress differencesAnki integrationcreate Anki flashcards from the generated minimal pairsexport a deck containing the created flashcardsadd audio pronunciations for every flashcardprint phonetical analysis of a word:given its IPAgiven its languagecheck if two words form a minimal pair, given their IPAssearch and print the IPA of a word in a given language (on the English
Wiktionary)minimise side effects of functions, delegate commands to wrappers around
class functionsdocumentationtechnical docs for usage as a binary"tutorial" for usage as a binarytechnical docs for usage as a library"tutorial" for usage as a libraryContributingPull requests are welcome. For major changes, please open an issue first to
discuss what you would like to change.But, honestly, the greatest contribution you can make is to add International
Phonetic Alphabet (IPA) spellings to words on theEnglish
Wiktionary, which is the source for all the
spellings thatgrzegorzuses. The more IPA spellings there are, the higher the
number of words that can be used, the more possibilities for minimal pairs.LicenseGPLv3
Package: gs
gsis a command line interface (CLI) and Python library that provides a set of essential commands forGoogle Cloud Storage. It is modeled after the AWS CLI’saws s3command. Its
features are:Python 3 compatibilityA minimalistic set of dependenciesA tiny footprintIntuitive convention-driven configuration of API credentials without browser login promptsChecksum validation to ensure end-to-end data integrity in uploads and downloadsProgress bars for long-running upload and download operationsResumable uploads and downloadsMultithreaded directory sync and batch delete, capable of handling large numbers of objectsAn attractive paging and table layout interfaceA JSON object metadata output mode for feeding data to other utilitiesInstallationpip install gsSynopsisUsage:gs [OPTIONS] COMMAND[ARGS]...Options:--versionShow the version and exit.--helpShow this message and exit.Commands:gs configureSet gs config options, including the API key.gs lsList buckets or objects in a bucket/prefix.gs cpCopy files to, from, or between buckets.gs mvMove files to, from, or between buckets.gs mbCreate a new Google Storage bucket.gs rbPermanently delete an empty bucket.gs rmDelete objects (files) from buckets.gs syncSync a directory of files with bucket/prefix.gs apiUse httpie to perform a raw HTTP API request.gs presignGet a pre-signed URL for accessing an object.Rungs configureto configure Google service account access credentials that will be used by thegscommand. You can create a new service account key athttps://console.cloud.google.com/iam-admin/serviceaccounts.CredentialsBefore making API calls,gsingests API credentials in the following order of priority:First,gschecks if aGOOGLE_APPLICATION_CREDENTIALSenvironment variable is set. If so, it attempts to load and use
credentials from the service account credentials filename referenced by the variable.If that varible is not set,gsattempts to load service account credentials previously configured withgs configure(stored in~/.config/gs/config.json).If that fails,gsattempts to load a service account API token fromGoogle instance metadata.If that fails,gsprints a warning and attempts to make API requestsanonymously.Using the Python library interfacefromgsimportGSClientclient=GSClient()object_meta=client.get("b/my-bucket/o/my-object")withclient.get("b/my-bucket/o/my-object",params=dict(alt="media"),stream=True)asres:object_bytes=res.raw.read()presigned_url=client.get_presigned_url("my-bucket","my-object",expires_at=time.time()+3600)AuthorsAndrey KislyukLinksProject home page (GitHub)Package distribution (PyPI)Change logGCB buildsGoogle Cloud StorageBugsPlease report bugs, issues, feature requests, etc. onGitHub.LicenseLicensed under the terms of the MIT License.
Package: gs100
Converts a notebook with student written answers to a PDF for Gradescope.
Ensures that each question has a constant number of pages.## Getting Started` pip install gs100 `In Python:`python from gs100 import convert # The num_questions argument is the number of written questions to grade. # It's optional but recommend to help students debug their notebookconvert('some_notebook.ipynb',num_questions=10) `
Package: gs123
Set of python tools to convert various GS1 formats to and from others.
GS123 is an essential component of the QU4RTET Open Source EPCIS and is
used in various tasks throughout the platform.  GS123 can also be used
as a standalone component to convert barcode data to URNs, etc.DocumentationFind the latest docs here:https://serial-lab.gitlab.io/gs123/FeaturesConverts GS1 barcode values to EPC URN values.Check digit calculation.Converts URN values to barcode values.Regular expressions to select barcode values in files.File conversion utilities.
Package: gs2d
gs2d: Generic Serial-bus Servo Driver library for Pythonkarakuri products社製シリアルサーボドライバ kr-sac001 用の Python ライブラリ機能karakuri products社製シリアルサーボドライバ kr-sac001に接続されたサーボモータを Python で簡単にコントロールできるライブラリです。様々なブランドのサーボモータをほぼ同じ関数で制御が可能です。Read系コマンドはBlockingスタイル、callbackスタイル、asyncスタイルで利用可能です。サポートしているサーボモータ現在対応しているサーボモータFUTABA RS40xRobotis Dynamixel (Protocol2.0)対応したいな、と思っているサーボモータKONDO KRS300xKONDO KRS400xJR programmableVstone Vs-xxxインストール方法pip install gs2d利用例フタバのサーボモータID:1をちょっとずつ動かすfrom gs2d import SerialInterface, Futaba

# Initialize
si = SerialInterface()
futaba = Futaba(si)

# Enable torque
futaba.set_torque_enable(True, sid=1)

for i in range(11):
  angle = i * 20 - 100
  print('Angle:', angle, 'deg')
  futaba.set_target_position(angle, sid=1)
  time.sleep(0.5)

# Disable torque
futaba.set_torque_enable(False, sid=1)

# Close
futaba.close()
si.close()フタバのサーボモータID:1の電圧を取得する (Blocking版)from gs2d import SerialInterface, Futaba

# 初期化
si = SerialInterface()
futaba = Futaba(si)

# 電圧取得
v = futaba.get_voltage(sid=1)
print('Voltage: %.2f(V)' % v)

# クローズ
futaba.close()
si.close()フタバのサーボモータID:1の電圧を取得する (コールバック版)from gs2d import SerialInterface, Futaba

def voltage_callback(voltage):
    """電圧取得できたときに呼ばれる"""
    print('Voltage: %.2f(V)' % voltage)

    # クローズ
    futaba.close()
    si.close()

# 初期化
si = SerialInterface()
futaba = Futaba(si)

# コールバックつきで電圧取得
futaba.get_voltage(sid=1, callback=voltage_callback)フタバのサーボモータID:1の電圧を取得する (Async版)import asyncio
from gs2d import SerialInterface, Futaba

async def main(loop):
    # Initialize SerialInterface & servo object
    si = SerialInterface()
    futaba = Futaba(si)

    # Get voltage
    voltage = await futaba.get_voltage_async(sid=1)
    print('Voltage: %.2f(V)' % voltage)

    # Close SerialInterface & servo object
    futaba.close()
    si.close()


# Initialize event loop
lp = asyncio.get_event_loop()
lp.run_until_complete(main(lp))
lp.close()APITorque Enable (get/set)get_torque_enableget_torque_enable(sid, callback=None)Parameterssid: Servo IDcallback: TBDResponseNoneget_torque_enable_async(sid, loop=None)Parameterssid: Servo IDloop: TBDResponseTrue (Torque ON)/False (Torque OFF)set_torque_enableTBE...LicenseGeneric Serial-bus Servo Driver library uses Apache License 2.0.
Package: gsa-framework
gsa_frameworkBasic project descriptionInstallationDetails on how to install the packageContributingDetails on how to contributeDevelopingTests requirepytestandSALib.TODOGenerate documentation using Sphinx:
Numpy style docs:https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_numpy.htmlhttps://numpydoc.readthedocs.io/en/latest/format.html#documenting-classeshttps://docs.python-guide.org/writing/documentation/https://www.python.org/dev/peps/pep-0257/Implement parameterized LCA model based on presamples.Run remotely.Comment tests properlyPre-commit hooksSource:https://pre-commit.com/piporconda install pre-commitCreate.pre-commit-config.yamland populate it with relevant reposrunpre-commit installto set up the git hook scriptsUpdate your hooks to the latest version automatically by runningpre-commit autoupdate
Package: gsalib
gsalibmakes it easy for Python users to analyze metrics reports created by the Broad Institute’s Genome Analysis Toolkit (GATK). The Broad provides an R library called gsalib that allows you to load GATKReport files into R for further analysis (https://gatkforums.broadinstitute.org/gatk/discussion/1244/what-is-the-gatkreport-file-format). Pythongsalibis an adaptation of the R libray that allows you to load GATKReport files into Python/pandas DataFrames.Neither the R nor Python versions ofgsalibsupport the samtools.metrics reports created byPicard Tools. To analyze Picard reports with Python, consider using thepicard.parsefunction in theCrimsonmodule.FeaturesEnables analysis of GATK reports with powerful pandas DataFrames and plottingReads GATKReport versions 0.x and 1.xCompatible with Python >=2.7 and >=3.4InstallationInstallgsalibby runningpip install gsalibExampleRead a report and get a table’s DataFrame:from gsalib import GatkReport

report = GatkReport('/path/to/gsalib/test/test_v1.0_gatkreport.table')
table = report.tables['ExampleTable']Documentationhttps://gsalib.readthedocs.io/en/latest/ContributeIssue Tracker:https://github.com/myourshaw/gsalib/issuesSource Code:https://github.com/myourshaw/gsalibLicenseThe project is licensed under the MIT license.
Package: gsamil-test
sample-pypiThis repository usespoetryto manage dependencies and packaging.poetryinstallation1. virtual environment⛔️ Poetry should always be installed in a dedicated virtual environment to isolate it from the rest of your system. In no case, it should be installed in the environment of the project that is to be managed by Poetry. This ensures that Poetry’s own dependencies will not be accidentally upgraded or uninstalled. (Seereference).Because of the above:First we create a virtual environment:python-mvenvvenvThen we activate it:sourcevenv/bin/activate2. installpipxif not installedFirst check if you havepipxinstalled. If not, install it withpip:pipinstall--userpipx3. installpoetryThen installpoetrywithpipx:pipxinstallpoetryIf you want to usepoetryas a command, you can add an alias to your.bashrc(or.zshrc).This is what it looks like on my machine:aliaspoetry='/Users/abdullahguser/Library/Application\ Support/pipx/venvs/poetry/bin/poetry'poetryusageI assume you already have a project that you want to manage withpoetry. Firstcdinto the project directory.1. initializepoetrypoetryinitThis will create apyproject.tomlfile in your project directory.2. add dependenciespoetryadd<dependency>This will add the dependency to yourpyproject.tomlfile and install it in your virtual environment.3. install dependenciespoetryinstallThis will install all the dependencies listed in yourpyproject.tomlfile and create apoetry.lockfile. (You can commit this file to your repository to ensure that all developers use the same versions of the dependencies.)TODOsWhat is the advantage of usingpoetryoverrequirements.txt?
Package: gsb
GameSaveBackupsA tool for managing incremental backups of your save statesusing Git!In a NutshellDoes Steam keep corrupting your cloud saves?Does it take too long to create or restore a Minecraft backup?Do you want to rewind your game five hours and explorewhat might have beenif
only you'd punched that NPC in the face?If that sounds like you, then GSB is here to help! This is a lightweight wrapper
around theGitversion control system that's optimized for
game saves. Features (will) include:automated incremental backupspainless savegame restoreseasy history navigationrevision history compression and cleaningsupport for branchesworkflows for implementing3-2-1 backupsfull compatibility with Git and other git-based tools...... all without ever needing to know a thing about GitInstallationThegsbpackage is written forPython 3.11 or newerbut otherwise
should run on any operating system and architecture.The easiest way to install it is viapipx:$pipxinstallgsbFor more help (including instructions for installing an up-to-date version
of Python), check out theInstallation Guide.UsageThe recommended way to interact with GSB is via its  command-line interface.
Once you've installed the package, run the following command to get an overview of the
available actions:$gsb--helpand use:$gsb<verb>--help(e.g.gsb backup --help)for further details on running each of those commands.Full documentation, including tutorials, examples and full CLI docs, can be
foundhere.ContributingIf you're interested in helping develop this project, have a look at therepo backlog, then read through thecontributor's guide.LicenseThis project—the executable, source code and all documentation—are published
under theGNU Public License v3unless otherwise stated, and any contributions to or derivatives of this projectmustbe licensed under compatible terms.
Package: gsbg
GoogleScholar Badge Generatorshields.iodoes not provide an API to help generate citation badges of articles/profiles
on Google Scholar. Therefore, I create this repository to build us such a tool.
Need citation badges but cannot find a proper tool? Try GSBG! You can even make yourself a GoogleScholar version of shields.io with GitHub actions! Take a look atUsagebelow.Please star🌟 this repo to help others notice GSBG if you think it is useful. Thank you!❖ InstallationYou can install GSBG via pip:pip install gsbg, or from the latest source code:pip install https://github.com/WenjieDu/Google_Scholar_Badge_Generator/archive/main.zip.❖ UsageApart from the below examples, you can also integrate GSBG with GitHub workflows to automatically generate badges
for your articles/profiles, save them in your repo, and update them periodically.
Please take a look athttps://github.com/WenjieDu/WenjieDufor an example.
The workflow.github/workflows/gene_citation_badges.ymlwill regularly run the generating scriptscripts/gene_google_scholar_badges.pyto maintain the badges underfigs/citation_badges.You can fork my repo and modify the script and the workflow to fit your own needs.
If you meet any question, pleaseraise an issue.
I'll try my best to help.importgsbgarticle_link="https://scholar.google.com/citations?view_op=view_citation&hl=en&user=j9qvUg0AAAAJ&citation_for_view=j9qvUg0AAAAJ:Y0pCki6q_DkC"profile_link="https://scholar.google.com/citations?user=j9qvUg0AAAAJ&hl=en"article_citation_num=gsbg.fetch_article_citation_num(article_link)profile_citation_num=gsbg.fetch_profile_citation_num(profile_link)gsbg.gene_citation_badge_link(link='https://scholar.google.com/citations?user=j9qvUg0AAAAJ&hl=en',link_type="profile",)gsbg.gene_citation_badge_svg(link='https://scholar.google.com/citations?user=j9qvUg0AAAAJ&hl=en',link_type="profile",svg_name='gsbg.svg',path_to_save='generated_badges',)🏠 Visits