Saravanan666/pypi-org huggingface dataset:
Package: py-ampq-websocket-server
ampq-websocketsWebsocket server based on websockets using ampq protocol for messagingTested on python 3.9.9Requirements:redis >= 2.9.1pika >= 1.2.0websockets >= 10.1Installation:pip install py-ampq-websockets-serverUsage:Subscribing to roomBrowser -> (subcribing to room) -> py-sockjs -> (assign id and add) -> redisSending data to roomPy Framework -> (get connect by room) -> redis(
Django,
Flask
and etc.
)Py Framework -> (put data) -> rabbitmq -> (data) -> py-sockjs -> (send data) -> BrowserRunpython src/ampq_websockets/runserver.pyOptionalDjango integrationMake Command in the project: <any_app>/management/command/websocket_server.pyfrom django.conf import settings

import ampq_websockets

class Command(BaseCommand):
    def handle(self, *args, **options):
        logger = logging.getLogger(__name__)
        logger.info('start django-websocket-server')
        ampq_websockets.start(settings.DJANGO_WEBSOCKET_SERVER)Make DJANGO_WEBSOCKET_SERVER in settings.py. Example:DJANGO_WEBSOCKET_SERVER = {
    'RABBIT_SERVER': {
        "USER": "guest",
        "PASSWORD": "guest",
        "SERVER": {
            "HOST": "localhost",
            "PORT": 5672,
            "VHOST": "/"
        },
        "EXCHANGE_NAME": "sockjs",
        "EXCHANGE_TYPE": "direct",
        "QUEUE_NAME": "ws01"
    },
    'REDIS_SERVER': {
        "HOST": "localhost",
        "PORT": 6379,
        "DB": 0,
        "PASSWORD": None,
        "PREFIX": "sockjs:"
    },
    'HOST': '0.0.0.0',
    'PORT': 8083,
    'LOCATION': '/ws',
    'SECRET_KEY': 'PLEASE_SET'
}
Package: pyamps
Python interface for the Average Magnetic field and Polar current System (AMPS) model.The AMPS model is an empirical model of the ionospheric current system and associated magnetic field. The model magnetic field and currents are continuous functions of solar wind velocity, the interplanetary magnetic field, the tilt of the Earth’s dipole magnetic field with respect to the Sun, and the 10.7 cm solar radio flux index F10.7. Given these parameters, model values of the ionospheric magnetic field can be calculated anywhere in space, and, with certain assumptions, on ground. The full current system, horizontal + field-aligned, are defined everywhere in the polar regions. The model is based on magnetic field measurements from the low Earth orbiting Swarm and CHAMP satellites.pyAMPS can be used to calculate and plot average magnetic field and current parameters on a grid. The parameters that are available for calculation/plotting are:field aligned current (scalar)divergence-free current function (scalar)divergence-free part of horizontal current (vector)curl-free part of horizontal current (vector)total horizontal current (vector)eastward or northward ground perturbation corresponding to equivalent current (scalars)For questions and comments, please contact karl.laundal at ift.uib.noInstallationUsing pip:pip install pyampsDependencies:numpypandasdaskmatplotlib (with LaTeX support, seehttps://matplotlib.org/users/usetex.html)scipy (scipy.interpolate for plotting purposes)apexpy (magnetic coordinate conversion)Quick Start>>># initialize by supplying a set of external conditions:>>>frompyampsimportAMPS>>>m=AMPS(350,# Solar wind velocity in km/s-4,# IMF By (GSM) in nT-3,# IMF Bz (GSM) in nT,20,# dipole tilt angle in degrees80)# F107_index>>># make summary plot:>>>m.plot_currents()>>># All the different current functions can be calculated on>>># a pre-defined or user-specified grid.>>>importnumpyasnp>>>mlat,mlt=np.array([75,-75]),np.array([12,12])>>>Ju=m.get_upward_current(mlat,mlt)>>>Juarray([0.23323377,-0.05599236])DocumentationSeehttp://pyamps.readthedocs.ioReferencesLaundal, K. M., Finlay, C. C., Olsen, N. & Reistad, J. P. (2018), Solar wind and seasonal influence on ionospheric currents from Swarm and CHAMP measurements, Journal of Geophysical Research - Space Physics.doi:10.1029/2018JA025387pyAMPS uses an updated set of model coefficients compared to the model discussed in the paper. You can use pyAMPS and the scripts in pyamps/climatology_plots/ to produce updated versions of Figures 5-7 and 9-11 from the paperSee also:
Laundal, K. M., Finlay, C. C. & Olsen, N. (2016), Sunlight effects on the 3D polar current system determined from low Earth orbit measurements. Earth Planets Space.doi:10.1186/s40623-016-0518-xAcknowledgmentsThe code is produced with support from ESA through the Swarm Data Innovation and Science Cluster (Swarm DISC). For more information on Swarm DISC, please visithttps://earth.esa.int/web/guest/missions/esa-eo-missions/swarm/discBadgesdocstestspackage
Package: pyampute
Amputation is the opposite of imputation; it is the creation of a missing data mask for complete datasets. Amputation is useful for evaluating the effect of missing values on the outcome of a statistical or machine learning model.pyamputeis the first open-source Python library for data amputation. Our package is compatible with the scikit-learn-style fit and transform paradigm, which allows for seamless integration of amputation in a larger, more complex data processing pipeline.
Package: pyamr
pyamrCommunity |Documentation| Resources | Contributors | Release NotesPyAMR is a python lightweight library to facilitate the computation of common Antimicrobial
Resistance (AMR) related statistics such as the proportion of resistance isolates, the
resistance trend or the antimicrobial spectrum of activity. In addition, it includes a number
of examples to visualise such information which relay on plotting libraries such asmatplotlib,seabornorplotly.About the projectEPIC IMPOCis an NIHR i4i funded project which aims to develop an intelligent clinical
decision support system to help doctors prescribe the most appropriate antibiotics.
EPIC IMPOC is a collaborative project between medics and other health-care professionals from
the National Institute for Health Research Health Protection Research Unit (NIHR HPRU) and
engineers from the Centre for Bio-Inspire Technology (CBIT) at Imperial College London.When using any of this project's source code, please cite:@article{hernandez2021resistance,title = {Resistance Trend Estimation Using Regression Analysis to Enhance Antimicrobial Surveillance: A Multi-Centre Study in London 2009--2016},author = {Hernandez, Bernard and Herrero-Vi{\~n}as, Pau and Rawson, Timothy M and Moore, Luke SP and Holmes, Alison H and Georgiou, Pantelis},journal = {Antibiotics},volume = {10},number = {10},pages = {1267},year = {2021},month = oct,publisher = {MDPI},doi = {10.3390/antibiotics10101267},url = {},}InstallationPlease follow theInstallation Guide.LicenseChangelogRoadmapAcknowledgementsContributorsSupportFAQContact$ python -m build --sdist --wheel
Package: pyams-alchemy
ContentsWhat is PyAMS?What is PyAMS SQLAlchemy?Changelog2.0.22.0.12.0.01.4.11.4.01.3.61.3.51.3.41.3.31.3.21.3.11.3.01.2.31.2.21.2.11.2.01.1.01.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Doctests are available in thedoctestssource folder.What is PyAMS SQLAlchemy?SQLALchemy is a very common ORM package for Python. As PyAMS relies on ZODB connections, this
package provides components which can be used to define SQL “sessions” through management
interface, which are then integrated into main transactions using a two-phases commit manager.This package also provides optional features to extend PyAMS_scheduler package with new tasks
which can launch SQL commands.Changelog2.0.2updated task scheduler interfaces2.0.1updated modal forms title2.0.0upgraded to Pyramid 2.0 and SQLAlchemy 2.01.4.1added support for Python 3.11updated doctest1.4.0allow usage of dynamic text formatters into scheduler SQL tasks1.3.6use new status on scheduler task execution failure1.3.5PyAMS_security interfaces refactoringadded support for Python 3.101.3.4handle session commit when query doesn’t return any resultupdated SQLAlchemy task add/edit forms editor sizeadded doctests1.3.3use new context base add action1.3.2renamed permission constant1.3.1use IUniqueID adapter “oid” value instead of adapter when creating new engineupdated “back” link target in engines container view1.3.0added SQLAlchemy connections manager label adapterupdated add and edit forms titleupdated package include scan1.2.3use IObjectLabel interface instead of ITableElementName1.2.2updated forms AJAX renderersPylint cleanups1.2.1added missing “context” argument to permission checkupdated add menus registration for last release of PyAMS_zmi package1.2.0added option to disable two-phases commit on any SQLALchemy engineadded Pyramid setting to manage connections management thread; this setting can also be used
to disable this thread completely1.1.0removed support for Python < 3.71.0.0initial release
Package: pyams-apm
ContentsWhat is PyAMS?What is Elastic-APM?What is PyAMS_apm?Changelog2.0.52.0.42.0.32.0.22.0.12.0.01.1.51.1.41.1.31.1.21.1.11.1.01.0.61.0.51.0.41.0.31.0.21.0.11.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; official
source code is available onGitlaband pushed toGithub.What is Elastic-APM?APM (Application Performances Monitoring -https://elastic.co/products/apm) is an extension for
Elasticsearch which provides application monitoring features: APM agents, deployed on an
application, allows to create Kibana dashboards displaying many applications performances elements,
like the CPU load, the duration of HTTP requests and many other informations.What is PyAMS_apm?PyAMS_APM is an extension to Pyramid which allows to send APM data to an APM server to record
application activity. It’s not dedicated to PyAMS applications, and can be used to monitor any
Pyramid application.Compared to default Elastic-APM package implementation, PyAMS_APM also add monitoring of additional
libraries, like LDAP3 or Chameleon.Changelog2.0.5updated Buildout configuration2.0.4updated Gitlab-CI2.0.3merge from master2.0.2updated buildout and dependencies2.0.1updated buildout and dependencies2.0.0upgraded for Pyramid 2.01.1.5added support for Python 3.10 and 3.11updated Gitlab-CI configuration1.1.4updated Gitlab-CI configuration1.1.3updated request headers getter1.1.2handle APM environment setting1.1.1updated Gitlab-CI configuration1.1.0updated Chameleon spans captureremoved support for Python < 3.7updated doctests1.0.6removed Travis-CI configuration1.0.5added constant for LDAP3 DB span nameupdated doctest with ZCA hook1.0.4updated Chameleon instrumentation1.0.3updated doctests1.0.2remove “leaf” attribute on Chameleon instrumentations1.0.1updated packaging and requirements1.0.0initial release
Package: pyams-app-msc
ContentsWhat is PyAMS?What is PyAMS MSC application?Changelog1.99.0.11.99.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Doctests are available in thedoctestssource folder.What is PyAMS MSC application?PyAMS MSC application is a french web application (“Ma Sortie Cinéma”) which is used to manage sessions
and bookings in movies theaters.Changelog1.99.0.1fixed packaging issue1.99.0first preliminary release
Package: pyams-auth-apikey
ContentsWhat is PyAMS?What is PyAMS API keys?Changelog2.0.12.0.01.0.11.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Doctests are available in thedoctestssource folder.What is PyAMS API keys?PyAMS API keys is an extension module which can be used to allow API keys as authentication
credentials.Each defined API key is seen as a classicprincipalto which you can grant roles as usual.
An API key can be defined with an expiration date, and can be revoked or deleted at any time
by an administrator.An API key can also be bound to a specific principal; in this case, using this API key will
be equivalent to being connected with the matching principal credentials.At first, API keys can only be provided using a specific HTTP header which can be configured
for all keys; maybe other authentication modes will be provided in future versions.Changelog2.0.1updated modal forms title2.0.0upgraded to Pyramid 2.01.0.1interface cleanup1.0.0initial release
Package: pyams-auth-azure
ContentsWhat is PyAMS?What is PyAMS Azure authentication plug-in?Changelog2.0.12.0.01.1.31.1.21.1.11.1.01.0.21.0.11.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Doctests are available in thedoctestssource folder.What is PyAMS Azure authentication plug-in?PyAMS Azure is a PyAMS_security plug-in which provides authentication in Azure “on-behalf-of”
flow, and relies on Azure MSAL API to check a JWT Azure token to grant access to a given HTTP
request.Changelog2.0.1updated modal forms title2.0.0upgraded to Pyramid 2.01.1.3PyAMS_security interfaces refactoringadded support for Python 3.101.1.2updated ZMI menus context1.1.1packaging mismatch1.1.0removed support for Python < 3.71.0.2updated Gitlab-CI configurationremoved Travis-CI configuration1.0.1updated plug-in interface to use PyAMS_utils Beaker cache helpers1.0.0initial release
Package: pyams-auth-http
ContentsWhat is PyAMS?What is PyAMS HTTP authentication?Changelog2.0.12.0.01.2.21.2.11.2.01.1.21.1.11.1.01.0.11.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Complete doctests are available in thedoctestsfolder.What is PyAMS HTTP authentication?This package is a plug-in for PyAMS security policy; it allows to extract credentials from HTTP
basic authorization header.You have to include this package in your Pyramid configuration to activate this plug-in.Changelog2.0.1updated Buildout configuration2.0.0migrated to Pyramid 2.01.2.2added support for Python 3.111.2.1PyAMS_security interfaces refactoringadded support for Python 3.101.2.0removed support for Python < 3.71.1.2updated Gitlab-CI configurationremoved Travis-CI configuration1.1.1update plugin name and translation1.1.0use security manager to authenticate credentials1.0.1updated doctests1.0.0initial release
Package: pyams-auth-jwt
ContentsWhat is PyAMS?What is PyAMS JWT authentication package?Changelog2.0.22.0.12.0.01.4.61.4.51.4.41.4.31.4.21.4.11.4.01.3.11.3.01.2.31.2.21.2.11.2.01.1.21.1.11.1.01.0.21.0.11.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub.What is PyAMS JWT authentication package?This package is a plug-in for PyAMS security policy; it allows to generate JWT tokens, and to
extract and validate credentials from a provided JWT token.You have to include this package in your Pyramid configuration to active this plug-in.Changelog2.0.2updated REST API route name and path configuration setting name2.0.1updated modal forms title2.0.0upgraded to Pyramid 2.01.4.6interfaces cleanup1.4.5updated Colander API schemas for better OpenAPI specifications1.4.4updated PyJWT package dependency to 2.6.0added support for Python 3.111.4.3added CORS validators to REST services1.4.2PyAMS_security interfaces refactoringadded support for Python 3.101.4.1added expiration date (based on refresh token lifetime) to response when generating tokens1.4.0added REST API to get token from an already authorized principalupdated menus context1.3.1fixed Gitlab-CI Pylint task1.3.0removed support for Python < 3.5use Colander schemas in JWT REST API1.2.3updated Gitlab-CI configurationremoved Travis-CI configuration1.2.2Pylint cleanup1.2.1updated package requirements1.2.0added support for “proxy” mode, where JWT tokens management is delegated to another
authentication authority1.1.2updated french translation1.1.1doctest update1.1.0added refresh tokens management with Cornice REST APIadded JWT configuration management interface1.0.2updated package description to allow upload to Pypi!1.0.1removed upload of coverage data to Coveralls.io because of unknown errors1.0.0initial release
Package: pyams-auth-ldap
ContentsWhat is PyAMS?What is PyAMS LDAP authentication package?Changelog2.0.12.0.01.2.01.1.71.1.61.1.51.1.41.1.31.1.21.1.11.1.01.0.31.0.21.0.11.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Doctests are available in thedoctestssource folder.What is PyAMS LDAP authentication package?PyAMS LDAP authentication package is an extension package for PyAMS_security, which allows
users authentication from an LDAP directory.This plug-in also supports LDAP groups, to be able to set groups as principals to grant roles.Changelog2.0.1updated modal forms title2.0.0migrated to Pyramid 2.01.2.0better interaction with Microsoft Active Directory (AD)simplified management interface componentsadded support for Python 3.111.1.7remove spaces from DN when used as query base1.1.6PyAMS_security interfaces refactoringadded support for Python 3.101.1.5use Python 3 syntax in super() callsPylint cleanups1.1.4use constant for principal ID formatteradded doctests1.1.3updated menus context1.1.2updated add and edit forms title1.1.1updated add menus registration for last PyAMS_zmi release1.1.0removed support for Python < 3.7handle single values in LDAP entry column renderer1.0.3removed Travis-CI configuration1.0.2updated “find_principals()” method to use new “exact_match” argument1.0.1code cleanup, added strings constants to reduce duplicated code1.0.0initial release
Package: pyams-auth-oauth
ContentsWhat is PyAMS?What is PyAMS OAuth authentication package?Changelog2.1.02.0.22.0.12.0.01.3.01.2.71.2.61.2.51.2.41.2.31.2.21.2.11.2.01.1.41.1.31.1.21.1.11.1.01.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Doctests are available indoctestssource folder.What is PyAMS OAuth authentication package?This package is a plug-in for PyAMS security policy; it allows to authenticate application
users via an OAuth or OAuth2 authentication providers.You have to include this package in your Pyramid configuration to activate this plug-in, but also
to register providers for which you want to allow access from.Changelog2.1.0added custom OAuth authentication event to be able to handle redirect correctly
in any client application2.0.2updated REST API route name and path configuraiton setting name2.0.1updated modal forms title2.0.0migrated to Pyramid 2.01.3.0added support for MicrosoftOnline OAuth2 provider1.2.7updated management interfaceupdated providers viewletsmall code refactoring to simplify super() callsadded missing parent class to OAuth provider connectionadded support for Python 3.111.2.6PyAMS_security interfaces refactoringadded support for Python 3.101.2.5use new context base add action1.2.4use constant for principal ID formatter1.2.3updated ZMI menus context1.2.2updated add and edit forms title1.2.1updated add menus registration for last PyAMS_zmi release1.2.0removed support for Python < 3.71.1.4removed Travis-CI configuration1.1.3updated JSON response in provider add form renderer1.1.2updated support for new “find_principals” exact match API1.1.1updated package description for Pypi upload…1.1.0added OAuth plugin configuration interfaceadded registered OAuth providers to login viewupdated plugin configuration1.0.0initial release
Package: pyams-auth-sql
ContentsWhat is PyAMS?What is PyAMS SQL auth?Changelog2.0.12.0.01.1.31.1.21.1.11.1.01.0.11.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Doctests are available in thedoctestssource folder.What is PyAMS SQL auth?PyAMS SQL authentication package is an extension package for PyAMS_security, which allows
users authentication from an SQL database, using SQLAlchemy.Changelog2.0.1updated Buildout configuration2.0.0migrated to Pyramid 2.01.1.3PyAMS_security interfaces refactoringadded support for Python 3.101.1.2use constant for principal ID formatter1.1.1updated ZMI menus context1.1.0updated add and edit forms titleupdated package include scan1.0.1updated add menus registration for last release of PyAMS_zmi package1.0.0initial release