Saravanan666/pypi-org huggingface dataset:
Package: py-oathtool2
py_oathtool2py_oathtool2 is a Python script for easy OTP code generation on the command line for use with scripting or simply as a convenience. It is a maintained fork ofhttps://github.com/matalo33/py_oathtool.Installationpip install py_oathtool2Dependenciespy_oathtool2automatically copies codes to the clipboard. This depends on the following programs being installed:Linux with X11:xclipLinux with Wayland:wl-copyMacOS:pbcopy(installed by default)ConfigurationTwo pieces of information are required for each account:An account name / labelYour 64 character oath secret provided by the 3rd party. This is typically a QR code, but websites often also offer the string.The script will read these values from a config file sourced from, by default,~/.otp-secrets.yamlin the following format:otpsecrets:
  github: IOOVV6U5AUHUISZKJNVCCG4JWUR5XDFSI7ND62A7QT5ZOEVYVA7JEEDKTG3ZM57B
  aws-account-dev: XQYNZOIA4PWCTJCB9654EQP5LUIP23BOW6J5ZIRZZSDHK24AUEDUSCONP3KQQY4N
  aws-account-prod: 57QPXJFJ4D2ILQBRZGSHKAZCJ2Y46C52FGVSZRYMY7UMWTIQI6I3GOJQZ4VJN2R4Additionally, the following configuration options are supported in the~/.otp-secrets.yamlfile:holdoff: Specify a different holdoff value to wait for the next codeuse_clipboard: Disable putting the code on the clipboardUsageList all configured accounts with-l:$ otp -l
github
aws-account-dev
aws-account-prodGenerate an OTP by providing the account name. The script will provide the OTP code and also put it on the clipboard:$ otp aws-account-dev
129987 (10sec)See all arguments with:$ otp --helpShell AutocompletionAutocompletion support can be added through use of the-tflag.For zsh support, add the following to your.zshrcfile:compdef _otp otp
_otp() {
    compadd `otp -t`
}DevelopmentAfter cloning usepipenvto install dependencies and run the script:pipenv install
pipenv run python src/py_oathtool2/otp.py [args]Running Testspipenv run python -m unittest test/test_otp.pyBuilding & Installing Locallypipenv run python -m build
pip install --force-reinstall dist/py_oathtool2-*.whlUpload to PyPIrm dist/*
pipenv run python -m build
pipenv run python -m twine upload --config-file ~/.pypirc dist/*DisclaimerTwo factor auth is meant to provide an extra layer of account security and this tool does not exactly promote that concept. You are responsible for taking reasonable steps to protect your secrets file to prevent loss of secrets, and perhaps this is not the ideal two factor solution for your most important accounts.LicenseGPLv2
Package: pyoauth2
('.. -*- coding: utf-8; mode: rst -*-\n\nWelcome to pyoauth2\n===================\n\n0. What is pyoauth2 about?\n--------------------------\n\npyoauth2 provides simple `OAuth 2.0`_ client, which enables \neasy authorization/authentication to several web service APIs, such as\nGoogle APIs, Facebook API, Foursquare and so on.\n(Note that Twitter does not provide OAuth 2.0 as of now.)\n\nThis module tries to follow detailed specs on Internet-Draft of OAuth 2.0\n(Candidate replacement of RFC 5849) but as of now it is implemented on a\nvisceral level.\n\n.. _OAuth 2.0: http://tools.ietf.org/html/draft-ietf-oauth-v2\n\n\n1. Lisence\n----------\n\npyoauth2 is distributed under New BSD Lisence.\nSee LISENCE file for details.\n\n\n2. Requirements\n---------------\n\npyoauth2 depends on following modules:\n\n- `requests`_\n\n\nActually urllib2 can handle same functions as requests but\nin order to realize more simple and readable code, requests\nmodule was selected for HTTP transaction.\n\n.. _requests: http://pypi.python.org/pypi/requests\n\n\n3. Installation\n---------------\n\npyoauth2 is registered on PyPI so you can install this library\nwith pip and easy_install if you are connected to the internet.\n\n.. ::\n\n   $ pip install pyoauth2\n\n\nOtherwise, you can run setup.py in Python 2.7 or setup.cfg in Python 3.3+\nfor installing pyoauth2\n\n.. ::\n\n   $ python setup.py install\n\n\n4. Getting Started\n------------------\n\nfor detailed document, see http://readthedocs.org/docs/pyoauth2/\n\n\n5. Changelog\n------------\n\n2012-04-27    version 0.0.4 released\n\n  * started Python 3 support\n\n2012-04-24    version 0.0.3 released\n  \n  * enabled server side usage\n\n2012-04-23    version 0.0.2 released\n\n  * fixed sample\n\n2012-04-20    version 0.0.1 released\n\n  * first release\n',)
Package: py-oauth2
A Python wrapper for the OAuth 2.0 specificationInstallationpip:pip install py-oauth2easy_install:easy_install py-oauth2Usage ExamplesDemo for GoogleGet user info:from pyoauth2 import Client

CLIENT_ID = ''
CLIENT_SECRET = ''
REDIRECT_URL = ''
SCOPE = 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email'

client = Client(CLIENT_ID, CLIENT_SECRET,
                site='https://www.googleapis.com/oauth2/v1',
                authorize_url='https://accounts.google.com/o/oauth2/auth',
                token_url='https://accounts.google.com/o/oauth2/token')

print '-' * 80
authorize_url = client.auth_code.authorize_url(redirect_uri=REDIRECT_URL, scope=SCOPE)
print 'Go to the following link in your browser:'
print authorize_url

code = raw_input('Enter the verification code and hit ENTER when you\'re done:')
code = code.strip()
access_token = client.auth_code.get_token(code, redirect_uri=REDIRECT_URL)
print 'token', access_token.headers

print '-' * 80
print 'get user info'
ret = access_token.get('/userinfo')
print ret.parsedDemo for DoubanGet access_token:from pyoauth2 import Client

KEY = ''
SECRET = ''
CALLBACK = ''

client = Client(KEY, SECRET,
                site='https://api.douban.com',
                authorize_url='https://www.douban.com/service/auth2/auth',
                token_url='https://www.douban.com/service/auth2/token')

authorize_url = client.auth_code.authorize_url(redirect_uri=CALLBACK, scope='shuo_basic_w,douban_basic_common')

access_token = client.auth_code.get_token(code, redirect_uri=CALLBACK)Get data:ret = access_token.get('/v2/user/~me')
print ret.parsedUpload image:ret = access_token.post('/shuo/v2/statuses/', text='content from py-oauth2', files={ 'image': open('/path/pic.jpg')})
print ret.parsedMore:ExamplesDemo for GoogleDemo for Douban(auth with code)Demo for Douban(auth with token)Demo for Douban(auth with password)Demo for GitHubDemo for WeiboDemo for QQDemo for TaobaoDemo for Box.comDemo for InstagramSubmitting a Pull RequestFork the repository.Create a topic branch.Implement your feature or bug fix.Add, commit, and push your changes.Submit a pull request.
Package: pyoauth2-je
pyoauth2: OAuth 2.0 Client and Provider Library===============================================Supported Request Flows-----------------------(1) Authorization Code Grant :: OAuth 2 Section 4.1(1A) Authorization Request :: OAuth 2 Section 4.1.1[For browser apps this happens in the window]Request: GET /get_authorization_code?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}[&state={STATE}][&scope={SCOPE}]Response: HTTP 302Location={REDIRECT_URI}?code={CODE}&state={STATE}Error Response: HTTP 302Location={REDIRECT_URI}?error=access_denied&state={STATE}(1B) Access Token Request :: OAuth 2 Section 4.1.3[Server side only]Request: GET /get_access_token?grant_type=authorization_code&client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}&redirect_uri={REDIRECT_URI}&code={CODE}Response: HTTP 200{"access_token": "{ACCESS_TOKEN}","token_type": "{TOKEN_TYPE}",      // See OAuth 2 Section 7.1 Access Token Types"expires_in": 3600,"refresh_token": "{REFRESH_TOKEN}"}Error Response: HTTP 400{"error": "access_denied","error_description": "User does not have access to the team."}
Package: pyoauth2-shift
pyoauth2: OAuth 2.0 Client and Provider Library===============================================Notice: this is not original package by @StartTheShift, but rather @Songbee's fork.Supported Request Flows-----------------------(1) Authorization Code Grant :: OAuth 2 Section 4.1(1A) Authorization Request :: OAuth 2 Section 4.1.1[For browser apps this happens in the window]Request: GET /get_authorization_code?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}[&state={STATE}][&scope={SCOPE}]Response: HTTP 302Location={REDIRECT_URI}?code={CODE}&state={STATE}Error Response: HTTP 302Location={REDIRECT_URI}?error=access_denied&state={STATE}(1B) Access Token Request :: OAuth 2 Section 4.1.3[Server side only]Request: GET /get_access_token?grant_type=authorization_code&client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}&redirect_uri={REDIRECT_URI}&code={CODE}Response: HTTP 200{"access_token": "{ACCESS_TOKEN}","token_type": "{TOKEN_TYPE}",      // See OAuth 2 Section 7.1 Access Token Types"expires_in": 3600,"refresh_token": "{REFRESH_TOKEN}"}Error Response: HTTP 400{"error": "access_denied","error_description": "User does not have access to the team."}
Package: pyOBabel
pyOBabelIt is a Python interface foropenbabel chemical toolbox.It is not the official Python interface of openbabel and may lack many functionality of openbabel.
If you are looking for official Python, Please follow thislink.Why another Python interfaceThe official Python interface to openbabel was built usingSWIG.
However, I usedpybind11to built the Python interface.
It gives flexibility in building Python interface such that the obtained Python interface
can be used in pythonic way.Please cite the original publication of the openbabel:# O’Boyle et al (2011)
# Open Babel: An open chemical toolbox
# Journal of Cheminformatics 2011 3:33
#https://doi.org/10.1186/1758-2946-3-33.
Package: pyobd
PyOBDOverviewPyOBD es una API para conectar cualquier script de Python con datos del mercado con 20 minutos de retraso provistos por Open BYMA Data, además permite la descarga de datos histórico. Fue desarrollada en conjunto porNacho Herrera,St1tchyFranco Lamas.UsoInicializaciónfrom PyOBD import *
PyOBD=openBYMAdata()Datos de mercadosPor el momento solo se encuentra disponible el plazo de 48hs que viene cargado por defectoCotizaciones de BonosPyOBD.get_bonds()Cotizaciones de LetrasPyOBD.get_short_term_bonds()Cotizaciones de Bonos CoporativosPyOBD.get_corporateBonds()Cotizaciones del Panel MERVALPyOBD.get_bluechips()Cotizaciones del Panel GeneralPyOBD.get_galpones()Cotizaciones de CEDEARPyOBD.get_cedears()Cotizaciones de los índicesPyOBD.indices()Cotizaciones de opcionesPyOBD.get_options()Llamadas generalesNoticiasPyOBD.byma_news()Dia laborable (boolean)PyOBD.isworkingDay()Resumen de mercadoPyOBD.marketResume()InstalacionLa instalación vía pip aún no está disponible, únicamente desde el repositorio. Se requiere instalarGit.pip install git+https://github.com/franco-lamas/PyOBD --upgrade --no-cache-dirProblemas ConocidosLuego de las 2am se reinicia el servidor y cambia la estructura de datos.Luego de las 17 la sección de noticias se desconecta.To-do listAgregar más plazosFormatear links de noticiasDashboard de bonos IAMCDatos de empresasHistóricosBalances históricosDISCLAIMERLa información es mostrada “tal cual es”, puede ser incorrecta o contener errores, eso es responsabilidad de cada sitio. No somos responsables por el uso indebido de los Scripts.
Package: pyobiee
Installationpip install pyobieeDependencies:
requests,
zeep - SOAP client,
pandas (only to facilitate integration with Power BI)General Informationpyobiee is a wrapper for OBIEE (Oracle Business Intelligence Enterprise Edition) SOAP.
Tested on OBIEE 12C and python 3.8.5How to useimport pyobiee
dataframe = pyobiee.get_data(query_type, path_or_sql, wsdl, username, password, ignore_ssl=False)Arguments:query_type: string, possible values are 'sql' or 'report'path_or_sql: string, depending on query_type either:a report path inside OBIEE catalog, example '\somefolder\somesubfolder\ReportName'a sql query, example 'SELECT * FROM dbo.SubjectArea.DataColumn'wsdl:string, wsdl url of the web service, example: 'http://host:port/analytics-ws/saw.dll/wsdl/v7'username: string, example 'IvanIvanovich'password: string, example '28QSAfsqs'ignore_ssl: bool, False by defaultDocumentationhttps://github.com/kazei92/pyobiee/wiki/Links:
OBIEE Docs -https://docs.oracle.com/middleware/1221/biee/BIEIT/soa_overview.htm#BIEIT3171
Package: pyobistools
pyobistools - Tools for data enhancement and quality control - but in PythonPython port of OBIS'sobistoolsQC R packageDocumentation availablehereOther relevant OBIS Python modules:pyobis- retrieving data from OBIS for consumption/usage in analyses - in Pythonrobis- retrieving data from OBIS for consumption/usage in analyses - In Robis-qc- database-wide quality control of OBIS data held at OBIS - in R
Package: pyobjc
PyObjC is a bridge between Python and Objective-C.  It allows full
featured Cocoa applications to be written in pure Python.  It is also
easy to use other frameworks containing Objective-C class libraries
from Python and to mix in Objective-C, C and C++ source.This package is a pseudo-package that will install all pyobjc related
packages (that is, pyobjc-core as well as wrappers for frameworks on
macOS)Project linksDocumentationIssue TrackerRepository
Package: pyobjc-core
PyObjC is a bridge between Python and Objective-C.  It allows full
featured Cocoa applications to be written in pure Python.  It is also
easy to use other frameworks containing Objective-C class libraries
from Python and to mix in Objective-C, C and C++ source.Python is a highly dynamic programming language with a shallow learning
curve.  It combines remarkable power with very clear syntax.PyObjC also supports full introspection of Objective-C classes and
direct invocation of Objective-C APIs from the interactive interpreter.Project linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-AddressBook
Wrappers for the “AddressBook” framework on macOS. The Address Book is
a centralized database for contact and other information for people. Applications
that make use of the AddressBook framework all use the same database.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-AppleScriptObjC
Wrappers for framework ‘AppleScriptObjC’ on macOS 10.6. This framework is
not useful for most users, it provides additional functionality for AppleScript
based application bundles.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-ApplicationServices
Wrappers for the “ApplicationServices” framework on macOS 10.5 or later. Core Text is an
advanced, low-level technology for laying out text and handling fonts. It is
designed for high performance and ease of use.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-Automator
Wrappers for the “Automator” framework on macOS. The Automator framework
supports the development of actions for the Automator application, as well
as the ability to run a workflow in developer applications. An action is
a bundle that, when loaded and run, performs a specific task.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-CalendarStore
Wrappers for the “CalendarStore” on macOS 10.5 and later. The CalendarStore
frameworks provides access to the iCal data. It’s possible to fetch iCal
records, such as calendars and tasks, as well as modify them and get
notifications when records change in iCal.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-CFNetwork
PyObjC wrappers for the framework “CFNetwork”, part of “CoreServices” on
macOS.The CFNetwork framework provides a library of abstractions for networking
protocols. The most interesting bits for Python programmers are the
API’s for working with proxy autoconfiguration and the API’s for networking
diagnostics.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-Collaboration
Wrappers for the “Collaboration” framework in macOS 10.5 or later. The
Collaboration framework provides access to identities, and manages
user interface elements for selecting identities.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-CoreData
Wrappers for the “CoreData” framework on macOS. The Core Data framework
provides generalized and automated solutions to common tasks associated
with object life-cycle and object graph management, including persistence.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-CoreLocation
Wrappers for framework ‘CoreLocation’ on macOS 10.6. This framework provides
an interface for dealing with the physical location of a machine, which allows
for geo-aware applications.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-CoreText
Wrappers for the “CoreText” framework on macOS 10.5 or later. Core Text is an
advanced, low-level technology for laying out text and handling fonts. It is
designed for high performance and ease of use.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-ExceptionHandling
Wrappers for the “ExceptionHandling” framework on macOS. The ExceptionHandling
framework provides facilities for monitoring and debugging exceptional
conditions in Cocoa programs.PyObjC also provides low-level debugging utilities beyond the core
ExceptionHandling framework in the modulePyObjCTools.Debugging.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-FSEvents
Wrappers for the “FSEvents” API in macOS. The functions in this framework
allow you to reliably observe changes to the filesystem, even when your
program is not running al the time.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-InputMethodKit
Wrappers for the “InputMethodKit” framework on macOS 10.5 or later. The
interfaces in this framework allow you to develop input methods.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-InstallerPlugins
Wrappers for the “InstallerPlugins” framework on macOS. This framework
allows you to develop plugin’s for the “Installer.app” application, and those
make it possible to add new functionality to “.pkg” and “.mpkg” installers
on macOS.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksProject linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-InstantMessage
Wrappers for “InstantMessage” framework on macOS 10.5 or later. This framework
allows you to access iChat information, as well as a way to provide an
auxiliary video source to iChat Theater.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksNote that this framework is deprecated in OSX 10.9, use the Social framework
instead if you target that OSX release.Project linksDocumentationIssue TrackerRepository
Package: pyobjc-framework-InterfaceBuilderKit
Wrappers for the framework “InterfaceBuilderKit” on macOS. This framework
is only available when you’ve installed Xcode 3.x, but not with earlier or
later releases of Xcode.The Interface Builder Kit is a framework containing the classes you use to
implement custom plug-ins for Interface Builder. A plug-in injects one or
more custom objects into Interface Builder’s library window. From the library
window, users can access your custom objects and drag them into their nib
files just as they would the standard system controls. You can also use this
framework to implement inspectors for manipulating your objects at runtime.These wrappers don’t include documentation, please check Apple’s documention
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksNOTE: To run the unittests for this framework use:$ env DYLD_FRAMEWORK_PATH="$(xcode-select -print-path)/Library/PrivateFrameworks/" python setup.py test  # noqa: B950This is needed because the InterfaceBuilderKit framework won’t load otherwise.Project linksDocumentationIssue TrackerRepositoryProject-URL: Documentation,https://pyobjc.readthedocs.io/en/latest/Project-URL: Issue tracker,https://github.com/ronaldoussoren/pyobjc/issuesProject-URL: Repository,https://github.com/ronaldoussoren/pyobjc
Package: pyobjc-framework-iTunesLibrary
Wrappers for the “iTunesLibrary” framework on macOS.These wrappers don’t include documentation, please check Apple’s documentation
for information on how to use this framework and PyObjC’s documentation
for general tips and tricks regarding the translation between Python
and (Objective-)C frameworksNote that using the library requires a signed application bundle.Project linksDocumentationIssue TrackerRepository