Saravanan666/pypi-org huggingface dataset:
Package: guanin
GUANIN| GUi-driven Analyser for Nanostring Interactive Normalization |Explore the docsReport BugRequest FeatureTable of ContentsAbout GuaninGetting StartedPrerequisitesInstallationUsageRoadmapContributingLicenseContactAcknowledgmentsGetting startedPrerequisitesGUANIN should run under Linux, MacOS and Windows. You'll need Python >= 3.9 installed.InstallationLinuxInstalling with pip$ pip install guaninInstalling from Repo$ git clone https://github.com/julimontoto/guanin.git

$ pip install poetry

$ poetry install[OR] Installing from .whl file$ pip install python3-pip

$ pip install --upgrade pip

$ pip install guanin-0.x.x-py3-none-any.whlRun$ guaninMACAssuming python ^3.9 is installed.% pip install python3-pip

% pip install --upgrade pip

% pip install guaninRun% guaninWindowsInstall python3 and pip.
Visual Studio Build Tools 14+ required.pip install guaninRunguanin
In case this is not working properly, you will need to find where Guanin has been installed and add it to Path environment variable. (Usually ~/Pythonxxx/scripts)Check INSTALL.txt for further details.UsageThe CLIOpen a console and from any path, run the following:$ guanin-cliThe GUIA simple GUI is included usingpyQT6.From a console, launch the GUI with:$ guaninThisexecutableis installed in your PATH. You can find it and launch it with a double-click. Although, running it through the console will provide further information about the execution of the program.WorkflowContributingPull requests are only welcome if both the following are true:They include at least some test.They solve a bug.We don't accept pull requests of enhancements, new requirements, "It would be
nice if...", and so on. If that is your case, fork and develop.For internal usage onlyLicenseGUANIN: GUi-driven Analyzer for Nanostring Interactive Normalization.
Copyright (C) 2023, Montoto-Louzao et al.This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program.  If not, seehttp://www.gnu.org/licenses/.Contact:juli.mlouzao@gmail.com| GENVIP - GENPOB
Instituto de Investigación Sanitaria de Santiago de Compostela.
Complejo Hospitalario Universitario de Santiago de Compostela.Distributed under the GPLV3 License. SeeLICENSE.txtfor more information.ContactJulián Montoto-Louzao -@julimontoto-juli.mlouzao@gmail.comGUANIN:https://github.com/julimontoto/guaninAcknowledgementsGENVIP RESEARCH GROUP (www.genvip.eu).
GENPOB RESEARCH GROUP(www.genpob.eu).
María José Martín Santamaría (UDC).
Instituto Sanitario de Santiago de Compostela (IDIS).
Complejo Hospitalario de Santiago de Compostela (CHUS).
Obra Social Pediatría (OSP).
Package: guano
guano-pyThis is thePythonreference implementation forGUANO, the “Grand
Unified Acoustic Notation Ontology”, a metadata format for bat acoustics
recordings. It includes a production-ready Python module with full
support for reading and writing GUANO metadata, as well as several
helpful commandline utilities.For more information about GUANO metadata itself, including the format
specification, see the GUANO project homepage:http://guano-md.orgDocumentation for guano-py can be found at:http://guano-py.readthedocs.ioRequirementsPython 2.7 or Python 3.3+InstallationDownload and install magically from the Python Package Index:$> pip install -U guanoIn addition to having theguanoPython module available for use in
your own software, you’ll also have a small collection ofuseful
scriptsto use.Alternately, you can check out the project from GitHub and install
locally in developer mode to hack on it yourself:$> git clone https://github.com/riggsd/guano-py.git
$> cd guano-py
$> python setup.py developAPI UsagefromguanoimportGuanoFile# load a .WAV file with (or without) GUANO metadatag=GuanoFile('test.wav')# get and set metadata values like a Python dictprintg['GUANO|Version']>>>1.0printg['Make'],g['Model']>>>'Pettersson','D500X'g['Species Manual ID']='Myso'g['Note']='I love GUANO!'# namespaced fields can be specified separately or pipe-delimitedprintg['PET','Gain'],g['PET|Gain']>>>80,80g['SB|Consensus']='Epfu'g['SB','Consensus']='Epfu'# print all the metadata valuesforkey,valueing.items():print'%s:%s'%(key,value)# write the updated .WAV file back to diskg.write()# have some GUANO metadata from some other source? load it from a stringg=GuanoFile.from_string('GUANO|Version:1.0\nTags:voucher,hand-release')# write GUANO metadata somewhere else, say an Anabat file or text filewithopen('sidecar_file.guano','wb')asoutfile:outfile.write(g.serialize())# teach the parser to recognize custom metadata fieldsGuanoFile.register('Anabat',['Humidity','Temperature'],float)GuanoFile.register('SB','Thumbnail Image',guano.base64decode)
Package: guap
guapFrom algorithms outputs to business outcomes.guap is an open-source python package that helps data team to get an ML evaluation metrics everyone can agree on by converting your model output to business outcomes, a.k.a. profits.🤖 🪄 📈🧞‍♂️ Why should I use guap?Our mission with guap is to align all stakeholders with measurable business outcomes by including the three core teams — business, data science and IT — throughout the life cycle of the AI models.Make collaboration healthier and clearer between tech and non-tech peopleMake better decisions at every stage of the ML project lifecycleWant to know more? ReadWhy guap exist.✨ FeaturesWe're on the journey to make sure every ML use-case that go to production is a valuable one. And it starts with a simple way to estimate the expected profit/cost of a model based on its confusion matrix.Get the total profitBased on the test set, guap will give you the total expected profit based on the cost matrix. A great way to have an overview of the model profitability.Average profit per predictionAlong the total profit score, guap will give you the average profit/cost per prediction. Perfect if you have costs per prediction, or if you need to estimate the profitability while scaling.That's it...for now! Keep up-to-date with release announcements on Twitter@guap_ml!🪄 Quickstart InstallFirst install the package using pippip install guapThen, you can follow our instructions using the Google Colab demo. We're writing the documentation right now.⌛ StatusAlpha: We are demoing guap to users and receiving feedbackPrivate BetaPublic BetaOfficial LaunchWatch "releases" of this repo to get notified of major updates, and give the star button a click whilst you're there.🙏 ContributingPull requests are welcome. You don't know where to start? let's talk@guap_ml!💖 LicenseApache License 2.0
Package: guarani
Project GuaraniThis library provides an implementation for asynchronous
authentication and authorization of web applications.
It provides support for OAuth 2.1 and OpenID Connect.For more details, please visit the documentation.Any doubts and suggestions can be sent to myemail.
Just prepend the title with#Guarani#, and I will try my best to answer.Supported Protocols and RFCsOAuth 2.1OAuth 2.1 DraftRFC 7009: Token RevocationOpenID ConnectOpenID Connect Core 1.0LicenseThis project is licensed under the MIT License.
For more details, please refer to theLICENSEfile.
Package: guard
Guard is a collection of generic WSGI middlewares and utilities for improving
the security of a web application.Content Security Policyguard.ContentSecurityPolicyprovides a WSGI middleware that can be used
to provide a content security policy for a web application.Usageimportguard,wsgi_app# Default Policyapp=guard.ContentSecurityPolicy(wsgi_app.application)# Custom Directivesapp=guard.ContentSecurityPolicy(wsgi_app.application,{"img-src":["*"]})# Report Onlyapp=guard.ContentSecurityPolicy(wsgi_app.application,report_only=True)
Package: guardata
guardata is a secure and trustless cloud storage service, to share and sync your files with on-premise modern encryption.Homepage:https://guardata.appKey features :Cloud storageVirtual driveTime machineLocal encryption, Trust no oneShare & sync securelyAccess control and loggingopen sourceguardata is based on theParsec technologydeveloped by Scille. The code base is a fork fromparsec-cloud. The cryptographic routines are provided by thelibsodium library.Differences with the Parsec reference implementation :The encryption stream cipher algorithm is updated from Salsa20 to Chacha20. guardata is using XChaCha20-Poly1305 which has anIETF draft standard, and isused by NordPassand byCloudFlare.The password key derivation algorithm is setup to be 6 times strongerPassword strength required in the GUI is much higherThe debug monitoring telemetry is fully removed, for a full hassle-free privacyFiles blocks cut size is bigger, optimised for internet synchronizationSHA2 hash is replaced everywhere by Blake2bMore secure short codes for 2-way auth : from 40 bits with hmac-sha2 to 50 bits with argon2idImprove server socket management (parsec-cloud sends header separated from data)Data (encrypted) are local only in Windows, not shared with Microsoft through roamingUX improved (invitation redirect, offline, non-blocking modals)InstallGet the guardata client software onhttps://guardata.app/getDocumentationDocumentation is available athttps://docs.guardata.app
Package: guardduty-runbooks
GuardDuty Runbook GeneratorCreate a runbook for all available GuardDuty finding types found on theGuardDuty docs websiteusing the information documented for each finding.This project is a kick-start to generate a base set of runbooks when GuardDuty is enabled in an organization. Runbooks will need to be customized to fit organizational incident response procedures and add contextual information.Generating RunbooksThis tool can be installed fromPyPIpip install guardduty-runbooksIt can also be installed locally. After cloning the directory, run in the folder:pip install .The tool can then be run with optional flags:guardduty-runbooks [--outdir outdir] [--overwrite]Ifoutdiris not specified, it will write all runbooks to the local directory.guardduty-runbooks --outdir ./my-runbook-directoryThis tool can be run multiple times to create runbooks for new finding types. Run the tool again over the directory where runbooks are stored and it will write new runbooks only, unless--overwriteis specified. Overwrite is a destructive command and will erase any customization made to the runbook.guardduty-runbooks --outdir ./my-runbook-directory --overwriteRunbook filenames are written using the "finding type" specified by GuardDuty. Because finding types include non alphanumeric characters like:, /, !,and., those characters are replaced with dashes-and all other characters are made lowercase. This is for ease of programatically locating runbooks for tools likePantherandMatano.For example:CryptoCurrency:EC2/BitcoinTool.B!DNSbecomescryptocurrency-ec2-bitcointool-b-dnsLicenseRunbook content generated fromdocs.aws.amazon.comare licensed underCC-BY-SA-4.0perAWS Site Terms.Related projects/linksGuardDuty Documentation homeGuardDuty Finding TypesAWS Incident Response PlaybooksPantherMatano
Package: guardian
GuardianMonitor the status of a set of services. Characteristics:definition of the services to monitor with a YAML file;tests performed by custom scripts (Shell scripts, Python scripts, etc.);no database and serverless;generation of HTML status page;email notifications;IRC notifications.Installation$pipxinstallguardianinstalledpackageguardian0.2.1,Python3.9.2Theseappsarenowgloballyavailable-guardiandone!✨🌟✨You can now use Guardian from anywhere on your system.Usage$guardian--help
usage:guardian[-h]-cCONFIG_FILE[--email][--irc][--html]optionalarguments:-h,--helpshowthishelpmessageandexit-cCONFIG_FILE,--configCONFIG_FILEConfigurationfile(YAML).--emailSendnotificationoffailedtest(s)viaemail.--ircSendnotificationoffailedtest(s)viaIRC.--htmlGenerateaHTMLstatuspage.In order to use notification via IRC you need to installirker. irker is very easy to install and
to run, no configuration is needed. Once executed, irker will wait for JSON
formatted messages on the port 6659. irker will automatically join the channel
you have specified in theGuardian configuration file.
irker will maintain connection state for multiple channels, avoiding obnoxious
join/leave spam.Configurations related to the sending of emails are in thesame file.ExamplesThe goal of the INI configuration file is to set global variables (IRC channel, SMTP
server, etc.). If you do not create your own configuration file, the default one will
be used automatically.The services to monitor must be described in one (or several) YAML file(s).$cpguardian/config/config.cfg.sampleguardian/config/config.cfg
$cpguardian/config/services.yaml.exampleguardian/config/services.yaml


$guardian-cguardian/config/services.yaml
+ServiceNewspipe-Testaboutpage✅
+ServiceMOSP-Testmainpage✅-TestsearchwithAPIv2✅-TestAPIv1✅
+Freshermeat-Testmainpage✅
Executiontime:0.47015seconds.
✨🌟✨All5testsaresuccessful.With email notification:$guardian-cguardian/config/google-services.yaml--email
+Googleservices-TestGMail✅-TestWebsearch❌-TestGoogleDrive✅1erroroccurred.
Executiontime:0:00:00.793011
Sendingemailnotification...You can combine email notifications, IRC notifications and HTML reporting.ContributingPatches and questions? Send to mypublic
inbox:~cedric/public-inbox@lists.sr.ht.
Thanks!LicenseGuardianis licensed underGNU Affero General Public License version 3.Copyright (C) 2021-2023Cédric Bonhomme
Package: guardonce
Why Convert?Include guards suck. They’re tiring to type and tedius to update. Worse,
the task of updating boilerplate leaves room for copy/paste errors, or
other mistakes. #pragma once is simpler and less error prone. That’s why
you should convert to #pragma once.Alas, though #pragma once is available on all the most commonly used
compilers, it’s not available oneverycompiler. Perhaps one day
you’ll add support for a platform with a barebones compiler with no
support for #pragma once and you’ll have to convert back. That’s ok.
It’s easy!What exactly is guardonce?There are three main tools provided by guardonce:checkguardhelps find any broken include guards you may already
have in your project. These should be addressed before converting.guard2onceconverts files with include guards into files with
#pragma once directives. This ensures your entire project is
consistently using #pragma once.once2guardconverts files with #pragma once directives back into
files with include guards. This ensures your entire project is
consistently using include guards.How to use:First, check your project for broken headers. To recursively search your
project directories for the names of all files that lack proper include
guards, use the following command, substituting your project’s directory
for the quoted string:checkguard-r"source_directory"By default, checkguard is very forgiving. It accepts either #pragma once
or anything that looks like an include guard. If you know that all your
guards should match some format, you can be more strict by using-pto specify a pattern to check against.If certain files are not supposed to have include guards, feel free to
leave them be. Files without include guards are ignored by this next
step.Now, all that remains is converting the headers to use #pragma once:guard2once-r"source_directory"You’re done! Double check that the result matches your expectations and
start using #pragma once in your new code. Know that if you ever need to
switch back, it’s as simple as:once2guard-r"source_directory"If the default guard style doesn’t appeal to you, there are a few
options to customize it. Maybe take a look throughonce2guard--helpor check out a walkthrough for some examples.
Package: guardpost
Authentication and authorization framework for Python appsBasic framework to handle authentication and authorization in asynchronous
Python applications.Features:strategy to implement authentication (who or what is using a service?)strategy to implement authorization (is the acting identity authorized to do a certain action?)support for dependency injection for classes handling authentication and
authorization requirementsbuilt-in support for JSON Web Tokens (JWTs) authenticationThis library is freely inspired byauthorization in ASP.NET
Core;
although its implementation is extremely different.InstallationpipinstallguardpostTo install with support forJSON Web Tokens (JWTs)validation:pip install guardpost[jwt]ExamplesFor examples, refer to theexamples folder.Functions to validate JWTsGuardPost includes functions to validate JSON Web Tokens (JWTs) and handle
JSON Web Keys Sets (JWKS).The built-in validator class can retrieve automatically JWKS from identity providers
and handle automatically caching and keys rotation. Caching is useful to not incur in
useless performance fees (e.g. downloading JWKS at each web request), and keys rotation
is important because identity providers can periodically change the keys they use to
sign JWTs.To use these features, install to include additional dependencies:pipinstallguardpost[jwt]The following example shows how to use guardpost to validate tokens:importasynciofromguardpost.jwtsimportJWTValidatorasyncdefmain():validator=JWTValidator(authority="YOUR_AUTHORITY",valid_issuers=["YOUR_ISSUER_VALUE"],valid_audiences=["YOUR_AUDIENCE"],)# keys are fetched when necessarydata=awaitvalidator.validate_jwt("YOUR_TOKEN")print(data)asyncio.run(main())An example value forauthority, to validate access tokens issued by
Azure Active Directory could be:https://sts.windows.net/YOUR_TENANT_ID/.GuardPost is used in BlackSheep and has been tested with:Auth0Azure Active DirectoryAzure Active Directory B2COktaIf you have doubts about authentication vs authorization...Authenticationanswers the question:Who is the user who is initiating the
action?, or more in general:Who is the user, or what is the service, that is
initiating the action?.Authorizationanswers the question:Is the user, or service, authorized to
do something?.Usually, to implement authorization, is necessary to have the context of the
entity that is executing the action.Usage in BlackSheepguardpostis used in theBlackSheepweb framework, to implementauthentication and authorization
strategiesfor request
handlers.To see howguardpostis used inblacksheepweb framework, read:AuthenticationAuthorizationDocumentationUnder construction. 🚧
Package: guardrail
guardrail is a Python library for managing object-level permissions that’s
designed to integrate with arbitrary databases and web frameworks. guardrail
is inspired bydjango-guardianand currently supports the SQLAlchemy, Peewee, Pony, and Django ORMs.Homepage:https://guardrail.readthedocs.org/Installpip install guardrailguardrail supports Python >= 2.7 or >= 3.3 and pypy.ExamplesDefine your models as usual, using theregistry.agentandregistry.targetdecorators to set up permissions relationships:importpeeweeaspwfromguardrail.coreimportregistryfromguardrail.ext.peeweeimportPeeweePermissionSchemaFactorydatabase=pw.SqliteDatabase(':memory:')classBase(pw.Model):classMeta:database=database@registry.agentclassUser(Base):name=pw.CharField()@registry.targetclassPost(Base):name=pw.CharField()@registry.targetclassComment(Base):name=pw.CharField()factory=PeeweePermissionSchemaFactory((Base,))registry.make_schemas(factory)database.connect()database.create_tables([User,Post,Comment],safe=True)database.create_tables(registry.permissions,safe=True)Then use the permission manager to perform CRUD operations on permissions
between anyagentandtargetmodels:fromguardrail.ext.peeweeimportPeeweePermissionManagermanager=PeeweePermissionManager()user=User.create(name='fred')post=Post.create(name='news of the world')comment=Comment.create(name='dragon attack')manager.add_permission(user,post,'edit')manager.add_permission(user,comment,'delete')manager.has_permission(user,post,'edit')# Truemanager.remove_permission(user,comment,'delete')manager.has_permission(user,comment,'delete')# FalseProject LinksPyPI:https://pypi.python.org/pypi/guardrailIssues:https://github.com/jmcarp/guardrail/issuesLicenseMIT licensed. See theLICENSEfile for details.
Package: guavahash
Google’s Guava consistent hashing implementationAssign toinputa “bucket” in the range[0, buckets), in a uniform manner
that minimizes the need for remapping asbucketsgrows.
That is,consistentHash(h, n)equals:n - 1, with approximate probability1/n;consistentHash(h, n - 1), otherwise (probability1 - 1/n).See the [wikipedia article on consistent hashing](http://en.wikipedia.org/wiki/Consistent_hashing)
for more information.
Package: guava-preconditions
guava_preconditionsThis library provides some simple functions from guavaModule guava_preconditionsFunctionscheckArgument(expression: bool, errorMessageTemplate: Optional[str] = None, *errorMessageArgs: Any) ‑> None: Ensures the truth of an expression involving one or more parameters to the calling method.checkElementIndex(index: int, size: int, desc: str = None) ‑> int: Ensures that index specifies a valid element in an array, list or string of size size.checkNotNull(reference: Optional[~T], errorMessageTemplate: str, *errorMessageArgs: Any) ‑> ~T: Ensures that an object reference passed as a parameter to the calling method is not null.checkPositionIndex(index: int, size: int, desc: str = None) ‑> int: Ensures that index specifies a valid position in an array, list or string of size size.checkPositionIndexes(start: int, end: int, size: int) ‑> None: Ensures that start and end specify a valid positions in an array, list or string of size size, and are in order.checkState(expression: bool, errorMessageTemplate: str = None, *errorMessageArgs: Any) ‑> None: Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.ClassesIllegalArgumentException(*args, **kwargs): Common base class for all non-exit exceptions.### Ancestors (in MRO)

* builtins.Exception
* builtins.BaseExceptionIllegalStateException(*args, **kwargs): Common base class for all non-exit exceptions.### Ancestors (in MRO)

* builtins.Exception
* builtins.BaseException
Package: gubbins
gubbinsSerial number generator/validatorA simple but powerful serial number generator and validator written in
Python.  Given a Prefix and a 32-bit ID, produces a Serial.  Given a valid
Serial, returns the Prefix and 32-bit ID.  Optionally takes Additional Data.fromgubbinsimportGubbinsforiinrange(10):serial=Gubbins.generate("AX",i)prefix,id=Gubbins.validate(serial)assertprefix.lower()=="AX".lower()assertid==iprint(i,serial)or via the command-line,python3-mgubbins.generate1-10--solo--prefixAX|python3-mgubbins.validateRequiresmore_itertools,anybase32, &pynumparser.License:MIT