Saravanan666/pypi-org huggingface dataset:
Package: agora-config
agora_configThis package is the Configuration library for the Agora Edge Apps SDK (Python) developed by SLB.Use this SDK to construct an edge application, and then containerize it for the running on the edge with AgoraIoT.  Documentation on using the entire SDK can be found at:AgoraIoT SDK Documentation.Release Notesv1.0.26Deprecate config_overrides and config_defaults in favor or config.overrides and config.defaults to make more parallel to .NET SDK.  Update all associated documentation.v1.0.23Remove config default value "DEVICE_ID"Set default config value "GATEWAY_ID" to be "IOTEDGE_DEVICEID" env var if it is available.Set default config value "Name" to be "IOTEDGE_MODULEID" env var if it is available.Set default config value "GROUP_ID" to be "GROUP_ID" env var if it is available.v1.0.20Redo DictOfDict.  Remove 'DictOfDict.remove' in favor of having 'del' capability supported.Support ability to get a super setting from config and still address sub-settings using 'key:key' nomenclature.Update internal testsv1.0.19Fix issue with return of dictionary from config for "partial" paths to keys.v1.0.18Make versions of all modules all the samev1.0.15 - BetaChange AEA2:Logging:Verbosity setting to AEA2:LoggingFix issue in config change callback (simplify code) - reduce to a single thread for maintainabilityv1.0.7 - BetaInitial test release.
Package: agora-cpplint
cpplint - static code checker for C++Cpplint is a command-line tool to check C/C++ files for style issues followingGoogle’s C++ style guide.
Cpplint is developed and maintained by Google Inc. atgoogle/styleguide, also see thewikipedia entryWhile Google maintains cpplint, Google is not (very) responsive to issues and pull requests, this fork aims to be (somewhat) more open to add fixes to cpplint to enable fixes, when those fixes make cpplint usable in wider contexts.
Also see discussion herehttps://github.com/google/styleguide/pull/528.InstallationTo install cpplint from PyPI, run:$pipinstallcpplintThen run it with:$cpplint[OPTIONS]filesFor full usage instructions, run:$cpplint--helpChangesThe modifications in this fork are minor fixes and cosmetic changes, such as:python 3 compatibilitymore default file extensionscustomizable file extensions with the –extensions argumentcontinuous integration on githubsupport for recursive file discovery via the –recursive argumentsupport for excluding files via –excludeJUnit XML output formatOverriding repository root auto-detection via –repositorySupport#pragma onceas an alternative to header include guards… and a few more (most of which are open PRs on upstream)AcknowledgementsThanks to Google Inc. for open-sourcing their in-house tool.
Thanks to maintainers of the forktkrusemattyclarksontheandrewdavis
Package: agoradesk-py
agoradesk_pyPython interface forAgoraDesk.com/LocalMonero.co API.This is currently not a complete implementation of the Agoradesk API.The following API calls are currentlynotsupported.Image uploading in chatI offer no warranty of any kind -- use this at your own risk!I am not associated with AgoraDesk.com or LocalMonero.co.Requirements:The two main requirements arehttpxandarrow.
I am usingPoetrywith this project to keep track of dependencies / requirements.Installpip install agoradesk_pyHow to UseThis is an example about how you can use the library#!/usr/bin/env python3

from agoradesk_py.agoradesk import AgoraDesk

api_key = <YourAPIKey>

api = AgoraDesk(api_key)

# Get information about all released trades
api_response = api.dashboard_released()

if api_response["success"]:
    trades = api_response["response"]["data"]["contact_list"]

    for trade in trades:
        trade_data = trade["data"]
        print(
            f"Traded "
            f"{trade_data['amount_xmr']} XMR with a fee of {trade_data['fee_xmr']} XMR "
            f"for {trade_data['amount']} {trade_data['currency']} "
            f"on {trade_data['released_at']}"
        )

else:
     print(f"Error: {api_response['response']['error']}")Running TestsPlease be aware of the unauthenticated API requests limit of 20 req/hTests are split into Unit tests and integration tests.To prepare to run any tests:Clone this repository to your computer.InstallPoetryInstall all dependencies / requirements for agoradesk_py using the commandpoetry installin the project directory.Unit TestsUnit tests do not communicate with LocalMonero / AgoraDesk and are executed entirely locally.Running all unit tests with coverage report is as easy as using the commandpoetry run pytest --cov-report term-missing tests/unit/in the project directory,Integration TestsIntegration tests communicate with the actual LocalMonero / AgoraDesk production APIs and the tests depend on
the two following environment variables being set to the api_keys of two testing accounts at LocalMonero.co.api_keyapi_key2Please be aware that:LocalMonero.co or AgoraDesk.com are not currently providing a testing setup and all testes are running in their production environment.For some tests to run successfully the account forapi_key2needs to have a balance of currently about 0.1 XMRThe two testing account need to be set to trust each other for all the tests to be successful.To run the integration tests use the commandpoetry run pytest tests/integration/ContributeDo you have an idea or found a bug in agoradesk_py? Please file an issue and/or submit a pull request! :)Source code is currently onCodebergathttps://codeberg.org/MarvinsCryptoTools/agoradesk_pySupportIf you like the API and want to support me you can do so with
Monero:
88NszkQU9qsafT9obFaDZSi7RvHSM76exJ1vvgVShTwM4HjvLr7XjJ7jDkFGnxr3UsDXLgT5t569N6uB7Gn4znjAFjUuN1q
Package: agoraiot
agoraiotThis primary package for the entire Agora Edge Apps SDK (Python) developed by SLB.Use this SDK to construct an edge application, and then containerize it for the running on the edge with AgoraIoT.  Documentation on using the entire SDK can be found at:AgoraIoT SDK Documentation.Release Notesv1.0.18Make versions of all modules the samev1.0.7 - BetaInitial test release.
Package: agora-logging
agora_loggingThis package is the Logging library for the Agora Edge Apps SDK (Python) developed by SLB.Use this SDK to construct an edge application, and then containerize it for the running on the edge with AgoraIoT.  Documentation on using the entire SDK can be found at:AgoraIoT SDK Documentation.Release Notesv1.0.20Fix message about Verbosity instead of LogLevelForce flush of sys.stdout when writing exception logsv1.0.18Make versions of all modules all the samev1.0.7 - BetaInitial test release.
Package: agoraplex.themes.sphinx
This repository containsSphinxthemes forAgoraplexprojects,
based on thePylons Sphinx Themes, and some helper roles. The
following themes exist:agoraplex- the genericAgoraplexdocumentation themeRequirementsSphinx1.1 or newerTo rebuild the graphics from the SVG originals (which requires cloning
thegithub repository):rsvg-convertfromlibrsvgpngtopam,pnmremap,pnmcolormap, andpnmtopngfromNetpbmicotoolfromicoutilsInstallationTo use a theme in your Sphinx documentation, follow this guide:Install the package:$ pip install agoraplex.themes.sphinxEdit yourconf.pydoc configuration file to point to theagoraplextheme:import agoraplex.themes.sphinx

# ...

html_theme = 'agoraplex'
html_theme_path = agoraplex.themes.sphinx.get_html_theme_path()HelpersThis package adds several Sphinx helper roles (inroles.py). To
use these, addagoraplex.themes.sphinx.rolesto theextensionslist in yourconf.py.The roles are:github: link to agithubproject::github:`agoraplex/themes`Thegithub_urlconfiguration directive defaults tohttps://github.com/.pypi: link to a project record atPyPi, the Python Package
Index::pypi:`agoraplex.themes.sphinx`Thepypi_urlconfiguration directive defaults tohttp://pypi.python.org/pypi/wikipedia: link to aWikipediaarticle::wikipedia:`Ancient Agora of Athens`Thewikipedia_urlandwikipedia_langconfiguration
directives default tohttp://%s.wikipedia.org/wiki/anden, respectively. Note that thewikipedia_urldirectivemustcontain a%s, where the role will insert thewikipedia_langvalue.Thewikipediarole will (mostly) canonicalize an article
name by replacing spaces with underscores (_), uppercasing
the first letter of the name, and lowercasing the
rest. Wikipedia’s own URL rewriting is tolerant of case
mismatch, so these simplistic rules work well enough.ConfigurationIn addition to the role-related configuration directives, this theme
adds the following directives to the set defined by the original
Pylons theme:fontsets: a space-separated list of directory names, relative to
thefont directory(_static/fonts), from which to load astylesheet.cssfile containing@font-facedirectives.font_body,font_header: the ‘base’ names of the fonts to use
for body and header text, respectively.NoteThe stylesheets assume that the font family is actually named<fontname>Regular. So, to useNeutonRegularas the header
font (which is the default),theme.confwould specifyfont_header=Neuton.
Package: agora-python-sdk
Agora Python SDKAgora Live Interactive Video Streaming enables one-to-many and many-to-many audio or video live streaming with the Agora RTC SDK.Agora Live Interactive Video Streaming is different fromAgora Video Call. In a video call, all users are the same role and can talk to each other freely. In a live video streaming, users can be the host or audience, where only the host can talk. For details, see thisFAQ.Different from the traditional CDN live broadcast, which only allows one-way communication from the hosts to the audience, the Agora RTC SDK empowers the audience to interact with the hosts by [becoming a host](https://docs.agora.io/en/AgoraPlatform/terms?platform=All Platforms#becoming-host), like a viewer jumping onto the stage in the middle of a play to perform.The Agora RTC SDK is applicable to scenarios that encourage active engagement, such as game-playing, online classes for students in small groups, and Q&A sessions during E-commerce live streaming. You can also use this SDK for one-to-one video calls that require high image quality.For more detail information, please visit ourwebsiteandGitHub repository; and for some quick-start demos, please visitAgora-Python-QuickStart.
Package: agora-redis-client
agora_redisclientThis package is the Redis Client for the Agora Edge Apps SDK (Python) developed by SLB.Use this SDK to construct an edge application, and then containerize it for the running on the edge with AgoraIoT.  Documentation on using the entire SDK can be found at:AgoraIoT SDK Documentation.Release Notesv1.0.26Initial Version of Redis Client
Package: agora-signaling-sdk
Agora.io Signal Python SDK==========================This is a wrapper of Agora signal APIs thats enables developers integrate Agora's signal service within 30 minutes.Quick start example:.. code-block:: python>>> from agorasigsdk.agora_signal import AgoraSgnal>>> from twisted.internet import reactor>>> appid = 'THIS_IS_YOUR_APPID.'>>> ag_sig = AgoraSignal(appid)>>> session = ag_sig.login('ACCOUNT_NAME', 'TOKEN', CALLBACK_CLASS_INSTANCE)>>> reactor.run()Now you have a logged in Agora Signaling Session!Installation------------.. code-block:: bashpip install agora-signaling-sdkEasy and ready to go.Documentation-------------Please find in https://docs.agora.io
Package: agora-token-builder
Agora Token GeneratorDescriptionToken generator for building a token server with Python & the Agora RTM/RTCInstallationpip install agora-token-builderUsageRTC Live Video Calling & Chat SDKBuild token withintUID:fromagora_token_builderimportRtcTokenBuilder#Build token with uidtoken=RtcTokenBuilder.buildTokenWithUid(appId,appCertificate,channelName,uid,role,privilegeExpiredTs)Build token withstringUserAccount:fromagora_token_builderimportRtcTokenBuilder#Build token with userAccounttoken=RtcTokenBuilder.buildTokenWithAccount(appId,appCertificate,channelName,account,role,privilegeExpiredTs)RTM Real-Time Messaging & Chat SDKBuild RTM token.fromagora_token_builderimportRtmTokenBuildertoken=RtmTokenBuilder.buildToken(appID,appCertificate,userAccount,role,privilegeExpiredTs)Variable DefinitionsappIDThe App ID issued to you by Agora. Apply for a new App ID from the gora Dashboard if it is missing from your kit. See Get an App ID.appCertificateCertificate of the application that you registered in the Agora Dashboard. See Get an App Certificate.channelNameUnique channel name for the AgoraRTC session in the string formatuidUser ID. A 32-bit unsigned integer with a value ranging from 1 to (232-1). optionalUid must be unique.userAccountA unique identifier used for to represent a user account. This value will be a string and can contain numbers, letters and any special characters.roleRole_Publisher = 1: A broadcaster (host) in a live-broadcast profile. Role_Subscriber = 2: (Default) A audience in a live-broadcast profile.privilegeExpireTsRepresented by the number of seconds elapsed since 1/1/1970. If, for example, you want to access the Agora Service within 10 minutes after the token is generated, set expireTimestamp as the currentLicense© 2021 Agora.ioThis repository is licensed under the MIT license. See LICENSE for details.
Package: agora-twin-property
agora_twin_propertyThis package is the twin property library for the Agora Edge Apps SDK (Python) developed by SLB.Use this SDK to construct an edge application, and then containerize it for the running on the edge with AgoraIoT.  Documentation on using the entire SDK can be found at:AgoraIoT SDK Documentation.Release Notesv1.0.46 - BetaInitial test release.
Package: agora-utils
agora_utilsThis package is the Utilities library for the Agora Edge Apps SDK (Python) developed by SLB.Use this SDK to construct an edge application, and then containerize it for the running on the edge with AgoraIoT.  Documentation on using the entire SDK can be found at:AgoraIoT SDK Documentation.Release Notesv1.0.18Make versions of all modules all the sameAdd ability to Mock (AEA2:BusClient:Mock (True/False)) the BusClientFix issue with subscriptionsv1.0.7 - BetaInitial test release.
Package: agox
Atomistic Global Optimization X (AGOX)AGOX is a package for global optimization of atomic system using e.g. the energy
calculated from density functional theory as the objective function. AGOX interfaces
with the Atomistic Simulation Environment (ASE) and as such supports any of
calculators in ASE as objectives for optimization.AGOX is built to be flexible, consisting of modules that can be put together to
create an optimization algorithm, from simple random searches to Bayesian searches
guided by a surrogate model and many more.Check out the documentation athttps://agox.gitlab.io/agox/Contributions & IssuesFeel free to make a fork and submit a merge request!If you have an issue or a question please post it on the issue board!AuthorsThe main AGOX framework has been written byMads-Peter Verner ChristiansenNikolaj RønneBjørk Hammerwith inspiration and help from current and previous members of the Hammer group at Aarhus University, Denmark.
Parts of the code have been contributed byAndreas Slavensky (Complementary Energy Generator)LicenseAGOX is released under the GPLv3 license.
Package: agp-py
Axie Gene Parser for PythonWIP - haven't ported all the stuff the other module has (Mostly because I only find the genes useful)This is a port of the Javascript version of a plugin, you can find it here:agp-npmIt parses the Axie Infinity hexadecimal gene strings into a human-readable format.InstallYou can use pip to install:pipinstallagp-pyUsageFirst you need to get an Axie Gene String (You can useAxie Infinity GraphQL), after that you can start:We will be using0x30000000032cb3300c2320c80c2308c20c63184c04c1304c0c6331420c8320c8as our hex string.fromagp_pyimportAxieGenehex_string='0x30000000032cb3300c2320c80c2308c20c63184c04c1304c0c6331420c8320c8'hex_type=256gene=AxieGene(hex_string,hex_type)print(gene.genes)TheAxieGeneclass requires 2 arguments, First one is the hex string, Second one is the hex type (Either 256 or 512)Then you can access the genes by using the methodgenes, it will give you a dictionary with the gene data.{'cls':'plant','region':'global','tag':'','bodySkin':'','pattern':{'d':'000011','r1':'001011','r2':'001011'},'color':{'d':'efd636','r1':'efd636','r2':'ffffff'},'eyes':{'d':{'class':'plant','name':'Papi','partId':'eyes-papi','specialGenes':'','type':'eyes'},'r1':{'class':'plant','name':'Cucumber Slice','partId':'eyes-cucumber-slice','specialGenes':'','type':'eyes'},'r2':{'class':'plant','name':'Cucumber Slice','partId':'eyes-cucumber-slice','specialGenes':'','type':'eyes'},'mystic':False},# Other parts ....}
Package: agps3
READMEThis package is based on a fork of gps3 (https://github.com/wadda/gps3) which hasn't been updated in a while.It includes some bug fixes for GST class handling.
Only agps versions exist in this package.To use:from agps3threaded import AGPS3mechanismThen engage the thread triumvirate,agps_thread = AGPS3mechanism()  # This instantiate the mechanism, as I believe it's called.
agps_thread.stream_data()    #  Stream the data from host, port, devicepath.
agps_thread.run_thread()  #  Iterate stream as a thread with throttle control for empty look ups.Four lines of code that lets you connect, communicate and control most of what you expect a gpsd to do.while True:  # All data is available via instantiated thread data_stream attributes. Confur# lines #140-ff of the client /usr/local/lib/python3.5/dist-packages/gps3/agps.py
      print('----------------')
      print(                   agps_thread.data_stream.time)
      print('Lat:{}   '.format(agps_thread.data_stream.lat))
      print('Lon:{}   '.format(agps_thread.data_stream.lon))
      print('Speed:{} '.format(agps_thread.data_stream.speed))
      print('Course:{}'.format(agps_thread.data_stream.track))
      print('----------------')
      sleep(60)  # Sleep, or do other things for as long as you like.Without arguments between the parentheses, the threaded client defaults tohost='127.0.01',port=2947,gpsd_protocol='json', andusnap=0.2, for a respectable default of 2/10th of a second micro nap after each empty socket lookup.The rest of the project is inDESCRIPTION.rst, or documented in the files themselves.
Package: agptools
agp ToolsMinimal Tools not found in python libraryFree software: MIT licenseDocumentation:https://agptools.readthedocs.io.FeaturesTODOBefore Codingcreate a virtual env::python3 -m venv venv
source venv/bin/activate
make install-testing-requisitesCreditsThis package was created withCookiecutterand thecib_pypackageproject template.History0.1.0 (2024-01-15)First release on PyPI.
Package: agraffe
Agraffe, build API with ASGI in Serverless services (e.g AWS lambda, Google Cloud Functions and Azure Functions).Support ServicesGoogle Cloud FunctionsPython 3.7, 3.8, 3.9, 3.10, 3.11(preview)AWS lambda (with API Gateway HTTP API or REST API, or with Function URL)Python 3.7, 3.8, 3.9Azure FunctionsPython 3.7, 3.8, 3.9, 3.10(preview)RequirementsPython 3.7+Installation$pipinstallagraffeExampleCreate itCreate a filemain.pywith:importcontextlibfromagraffeimportAgraffefromfastapiimportFastAPI,Request@contextlib.asynccontextmanagerasyncdeflifespan(app):yield{'message':'hello'}app=FastAPI(lifespan=lifespan)@app.get("/")defread_root():return{"Hello":"World"}@app.get("/items/{item_id}")defread_item(item_id:int,q:str|None=None):return{"item_id":item_id,"q":q}@app.get("/lifespan")deflifespan_(request:Request):return{"count":request.state.message}entry_point=Agraffe.entry_point(app)# or, for on GCPfromagraffe.services.google_cloud_functionsimportHttpCycledefentry_point(request):returnAgraffe(app,HttpCycle)(request=request)Deploy itDeploy the api with:$gcloudfunctionsdeploy{FUNCTIONNAME}--entry-pointentry_point--runtimepython310--trigger-http--allow-unauthenticatedSee/examplefor other services.LicenseThis project is licensed under the terms of the MIT license.
Package: agrajag
agrajagShort blurb about what your product does.One to two paragraph statement about your product and what it does.ContentsDemoProject rationaleQuick startPrerequisitesInstallationBasic UsageUsageDevelopment setupConfigurationDocumentationRead the DocsAPIWikiFAQsWhat's new in version x.xPlanned future enhancementsPackage statisticsLicenseMeta information📺 DemoPut a demo animated gif here.💡 Project rationaleWhy I built this project👓 TLDRA very succinct paragraph summary regarding the package purpose and operation.🚀 QuickstartExplain succinctly how to use the repository📋 PrerequisitesA bulleted list of requirements💾 InstallationOS X & Linux:pip3installagrajagWindows:pipinstallagrajag📝 Basic UsageA simple example demonstrating that the package is working📝 UsageA few motivating and useful examples of how your product can be used. Spice this up with code blocks and potentially more screenshots.For more examples and usage, please refer to theWiki.🔧 Development setupDescribe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.pipinstall--editableagrajag⚙️ ConfigurationPlace configuration information here🔒 Security ConsiderationsWrite any security concerns that you may have here.
e.g. exposure of API keys, passwords, old modules etc.📚 DocumentationRead the DocsExample UsageCreditsChangelogAPI ReferenceWiki🧬 Design ConsiderationsA few paragraphs on the design considerations if required.🐳 Using DockerBuilding the Image from DockerfileStart your docker runtime then:Build the image usingdocker buildcommand. e.g.$dockerbuild-tsraking/agrajag:0.1.0-tsraking/agrajag:latest.Once built, run the image using thedocker runcommand. This will create the container. e.g.$dockerrun-itsraking/agrajag:0.1.0/bin/bashOptional: The image can now be pushed to the repository using thedocker pushcommand. e.g.$dockerpushsraking/agrajag:0.1.0Using the ready built image on dockerhubPull the latest image from the repository using thedocker pullcommand. e.g.~$dockerpullsraking/agrajagNow run the image using thedocker runcommand. This will create the container. e.g.~$dockerrun-itsraking/agrajag/bin/bashUse the command line as normal in the container.root@4d315992ca28:/app#agrajag-h⚠️ LimitationsDescribe any limitation the application may have (if any).⁉️ Some QuirksThe reason I wrote this application in the first place.❓ FAQsGive examples of frequently asked questions📰 What's new in version x.xbulleted list of new features📆 Planned future enhancementsFeature 1Feature 2📊 Package statisticslibraries.ioPyPI StatsPepy📜 LicenseDistributed under the MIT license. Seefor more information.<ℹ️> MetaAuthor: Stephen R A King (sking.github@gmail.com)Created with Cookiecutter template:version 1.3.4Digital object identifier:
Package: agram
Telegram MTProto API Framework for PythonHomepage•Documentation•Releases•NewsagramElegant, modern and asynchronous Telegram MTProto API framework in Python for users and botsfromagramimportClient,filtersapp=Client("my_account")@app.on_message(filters.private)asyncdefhello(client,message):awaitmessage.reply("Hello from agram!")app.run()agramis a modern, elegant and asynchronousMTProto APIframework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot
identity (bot API alternative) using Python.Key FeaturesReady: Install agram with pip and start building your applications right away.Easy: Makes the Telegram API simple and intuitive, while still allowing advanced usages.Elegant: Low-level details are abstracted and re-presented in a more convenient way.Fast: Boosted up byTgCrypto, a high-performance cryptography library written in C.Type-hinted: Types and methods are all type-hinted, enabling excellent editor support.Async: Fully asynchronous (also usable synchronously if wanted, for convenience).Powerful: Full access to Telegram's API to execute any official client action and more.Installingpip3installagramResourcesCheck out the docs athttps://selamarket.shopto learn more about agram, get started right
away and discover more in-depth material for building your client applications.Join the official channel athttps://t.me/XTIORYand stay tuned for news, updates and announcements.