Saravanan666/pypi-org huggingface dataset:
Package: apptools
Documentation:http://docs.enthought.com/apptoolsSource Code:http://www.github.com/enthought/apptoolsThe apptools project includes a set of packages that Enthought has found
useful in creating a number of applications.  They implement functionality
that is commonly needed by many applicationsapptools.io: Provides an abstraction for files and folders in a file
system.apptools.logger: Convenience functions for creating logging handlersapptools.naming: Manages naming contexts, supporting non-string data
types and scoped preferencesapptools.persistence: Supports pickling the state of a Python object
to a dictionary, which can then be flexibly applied in restoring the state of
the object.apptools.preferences: Manages application preferences.apptools.selection: Manages the communication between providers and
listener of selected items in an application.apptools.scripting: A framework for automatic recording of Python
scripts.apptools.undo: Supports undoing and scripting application commands.PrerequisitesAll packages in apptools require:traitsCertain sub-packages within apptools have their own specific dependencies,
which are optional for apptools overall.Theapptools.preferencespackage requires:configobjTheapptools.io.h5package requires:numpypandastablesTheapptools.persistencepackage requires:numpyMany of the packages provide optional user interfaces using Pyface and
Traitsui. In additon, many of the packages are designed to work with the
Envisage plug-in system, althought most can be used independently:envisagepyfacetraitsuiInstallationTo install withapptools.preferencesdependencies:$ pip install apptools[preferences]To install withapptools.io.h5dependencies:$ pip install apptools[h5]To install withapptools.persistencedependencies:$ pip install apptools[persistence]To install with additional test dependencies:$ pip install apptools[test]
Package: apptrace
The apptrace package provides a WSGI middleware for tracking memory usage in
Google App Engine Python applications.Since apptrace is meant for development and debugging purposes only, it works
with the development appserver of the Google App Engine Python SDK and
TyphoonAE. It will definitely not work on the GAE production environment.Copyright and LicenseCopyright 2010, 2011 Tobias RodaebelThis software is released under the Apache License, Version 2.0. You may obtain
a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Google App Engine is a trademark of Google Inc.RequirementsThe apptrace package requires Guppy-PE (http://guppy-pe.sourceforge.net) to be
installed on your PYTHONPATH. It will be automatically installed when you use
theeasy_installcommand.InstallationThe easiest way to install apptrace is (provided that you have setuptools
installed) to useeasy_install apptrace.Running ApptraceIn order to run the demo application with apptrace run following commands:$ apptracectl init demo
$ python dev_appserver.py demoSee this wiki page for a more detailed documentation on using apptrace:http://code.google.com/p/apptrace/wiki/UsingApptraceBuildoutIf you want to tinker with the most recent development version of apptrace,
install the development environment by typing following commands:$ hg clone https://apptrace.googlecode.com/hg apptrace-dev
$ cd apptrace-dev
$ python bootstrap.py --distribute
$ ./bin/buildoutRunning Unit TestsAll unit tests can be run by executing the following command:$ ./bin/python setup.py test --appengine-path=<path to the SDK>ContactTobias Rodaebel <tobias dot rodaebel at googlemail dot com>CHANGESVersion 0.2.3 (2011-07-21)Fixes a compatibility issue when importing simplejson.http://code.google.com/p/apptrace/issues/detail?id=6Version 0.2.2 (2011-01-08)Fixes an issue where apptrace crashed when tracing old style class objects.http://code.google.com/p/apptrace/issues/detail?id=5Version 0.2.1 (2010-10-13)Fixes an issue where some modules haven’t been traced.http://code.google.com/p/apptrace/issues/detail?id=1Fixes an issue where the code browser wasn’t able to load modules from
the SDK.http://code.google.com/p/apptrace/issues/detail?id=2Version 0.2.0 (2010-10-12)Adds simple code browser.Version 0.1.1 (2010-10-02)Uses a separate memcache namespace for storing records.Version 0.1.0 (2010-10-01)Initial revision.
Package: apptracker
Note that this program will work only on windowsapptracker -start start (to start recording usage activity)To see in pie chart runapptacker-show show in cmd/terminalTo clear your usage activityapptracker -clean cleanapptracker -h
usage: apptracker [-h][-start start] [-show SHOW][-clean clean]optional arguments:-h, –help show this help message and exit-start START start recording your usage activity-show SHOW show your usgae in pie chart-clean CLEAN clear your usage activityHome-page:https://github.com/manojpawarsj12/apptrackerAuthor: Manoj Pawar SJ
Author-email:manojpawarsj.mp11@gmail.comLicense: MIT
Project-URL: Bug Reports,https://github.com/manojpawarsj12/apptracker/issuesProject-URL: Source,https://github.com/manojpawarsj12/apptrackerDescription: UNKNOWN
Keywords: application tracker digitalwellbeing website tracker
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Package: apptrail-application-events-sdk
Apptrail Application Events SDK for PythonYou can use the Apptrail Application Events SDK for Python to send audit logs from your
Python applications to your customers.Learn moreWorking with eventsFull SDK ReferenceDeveloper GuideApptrailNotes and tipsRequires Python >= 3.6Instantiate the client once at the top of your application and reuse it to prevent unnecessary recreation.InstallingThe Events SDK ispublished to PyPI.pipinstallapptrail-application-events-sdkInstantiating clientfromapptrail_application_events_sdkimportApptrailEventsClientmy_api_key=load_secret_api_Key()my_region="us-west-2";events_client=ApptrailEventsClient(region=my_region,api_key=my_api_key,)Sending an eventevent={"tenantId":"cust_MGY4MmYzNDMtZjEwOC00OWI","eventName":"CreateRepository","eventTime":"2022-01-26T06:01:00Z","actor":{"id":"acct_MmRlODllZDctM2I0Yi0","details":{"type":"account","name":"API Access",},},"resources":[{"id":"repo_YWI5NjkzY2UtNzI1Ny00N","details":{"repositoryType":"V2",},},],"context":{"sourceIpAddress":"103.6.179.245","userAgent":"Apache-HttpClient/4.5.3 (Java/11.0.11)",}"tags":{"severity":"LOW",},"eventDetails":{"request":{"repositoryName":"my-repository",},},};events_client.put_event(event)Sending multiple eventsevents = [...]

events_client.put_events(events)Handling errorsAs a best practice, you should handle errors while sending events, especially if you are sending critical logs. The Events client includes automatic retries with backoff, but errors can happen due to rare server issues or client side issues.You can choose what to do with failing events. For example, you may sideline them to disk, or a dead letter queue for retry or remediation.fromapptrail_application_events_sdkimportApptrailErrortry:events_client.put_event(event)exceptApptrailErrorase:# handle errorexceptExceptionase:# handleLoggingYou can enable logging from the Apptrail Events SDK, from your application using the Pythonlogginglibrary. The Apptrail Events SDK uses a standard logger namedapptrailthat you can configure.importloggingfromapptrail_application_eventsimportApptrailEventsClientapptrail_logger=logging.getLogger('apptrail')apptrail_logger.addHandler(logging.StreamHandler())apptrail_logger.setLevel(logging.DEBUG)# use SDK
Package: appupup
appupupappupup is anopen source,
MIT licensed library with utilities for python programs based on
argparse, appdirs, configparser and using logging moduleInstallpip install appupupYou can also download/clone the source, in which case you have to:git clone https://github.com/pyl1b/appupup.git
python setup.py installTo contribute a patch clone the repo, create a new branch, install in
develop mode:python setup.py develop
Package: appversion
AppVersion is a library that can fetch app version from playstore or appstore.
You only need to prepare the package name or bundle id as argument.
also It has various util function for calculate version.InstallpipinstallappversionQuick startfromavimportAppVersion# arg - android package name.playstore_version=AppVersion.playstore('com.youjinui.endword')print(playstore_version)# 1.2.1# arg - iOS bundle id.appstore_version=AppVersion.appstore('com.youjinui.endword')print(appstore_version)# 1.0.0Calculate versionMaxThis function return max version from two arguments.fromavimportAppVersionmax_version=AppVersion.maxv('0.0.1','0.0.2')print(max_version)return0.0.2MinThis function return min version from two arguments.fromavimportAppVersionmin_version=AppVersion.minv('1.0.a','1.0.b')print(min_version)return1.0.aEqualsThis function returns a boolean value of whether the version are equals or different.fromavimportAppVersionis_equal=AppVersion.equals('1.1','1.1.0.0.0')print(is_equal)returnTrueCompareThis function returns a boolean value of whether the arg1 is greater than arg2.fromavimportAppVersionis_arg1_greater_than_arg2=AppVersion.compare('1.1.12','1.1.3')print(is_arg1_greater_than_arg2)returnTrueAuthorstinyjin -Github,BlogLicenseThis library has MIT License.
Package: app_version
Do you write the version information onsetup.pyand__init__.py?This tiny application allow you to access version information ofsetup.pyfrom__init__.py.Based onthis post, I wrote this tiny application for convinience.Checkonline documentationfor more details.InstallationUsepiplike:$ pip install app_versionUsageThe following code is an example__init__.py.fromapp_versionimportget_versions__version__,VERSION=get_versions('your app name')Then you can access the version string with__version__and version tuple withVERSION.
The version tuple is useful for comparing versions like>>>VERSION=(0,1,2)>>>VERSION>(0,1,0)True>>>VERSION>(0,1,1)True>>>VERSION>(0,1,2)False
Package: appveyor-artifacts
Download artifacts from AppVeyor builds of the same commit/pull request.Supports editing/mangling Python coverage files so you can merge coverage files generated on AppVeyor/Windows with those
generated on Linux/OSX/Travis.Python 2.7, PyPy, PyPy3, 3.3, 3.4, and 3.5 supported on Linux and OS X.QuickstartInstall and run:pipinstallappveyor-artifactsappveyor-artifacts--helpExampleExample usage in Travis CI yaml file:after_success:-mv .coverage .coverage.travis-appveyor-artifacts -m download-coverage combine-coverallsAnd in AppVeyor CI yaml file:artifacts:-path:.coverageChangelogThis project adheres toSemantic Versioning.1.0.2 - 2016-05-01FixedHandling ConnectionError exceptions.UnicodeDecodeError on Python 3.x when reading binary files.Retrying up to two times per API call on network errors.1.0.1 - 2015-11-30FixedSubdirectory handling.1.0.0 - 2015-11-02Initial release.
Package: appveyor-client
Build statusProject informationDescriptionSimple python interface to the Appveyor restful api.Usagefrom appveyor_client import AppveyorClient
client = AppveyorClient('{appveyor_token}')

# Get list of projects
projects = client.projects.get()

# Get list of projects builds
builds = client.projects.history('goanpeca', 'appveyor-client')InstallationUsing pippip install appveyor-clientUsing condaconda install appveyor-client -c conda-forge
Package: appveyordist
# Appveyor To Dist Downloader[![Latest PyPI Version](https://img.shields.io/pypi/v/appveyordist.svg)](https://pypi.python.org/pypi/appveyordist)appveyor-distis a script that pulls a project’s artifacts
to your local machine, normally into yourdistdirectory.[Appveyor](https://www.appveyor.com/) is a continuous integration service that allows
Open Source projects to build releases on their system, but
to push the resulting packages onto PyPI requires a lot of
configuration. This script lets you keep control of pushing
to PyPI while automatically pulling the files off Appveyor.Previously I was using [appveyor-artifacts](https://github.com/Robpol86/appveyor-artifacts) for this, but
its focus is pretty much on downloading coverage files and
trying to merge them, while I really just want to use the
artifacts as-is for redistribution. I didn’t wind up basing
the code off their code, as it was rather over-kill for me.### Why the weird spelling of artefact?That’s apparently how Americans spell it, and I figure
we’ll follow Appveyor’s API in the spelling even if
it looks weird to Canadians and Brits.## Installation` pip install appveyordist `## Usage` $ cd pyopengl $appveyor-dist--userMikeCFletcher--projectpyopengl--dist./dist $ twine uploaddist/PyOpenGL_accelerate-3.1.3-*.whl`You can pass the-fflag to force overwriting files indist,
by default only new files will be downloaded.Note that we donotexpect you to process the results or read
them. We will simply crash if there’s a failure, but we will
log warnings if a job in the build/release has crashed/failed.### RequirementsRequires Python 3 and requests module, tests require tox and pytest.### LicenseMIT Licenseappveyordistis copyright 2019Mike C.Fletcher.
Package: appw
3rd party Appwrite CLI -appwThis is not a replacement for the official Appwrite CLI. It just provides
additional functionality by using the Appwrite API directly.InstallationpipinstallappwThis installs a command line tool calledappwwhich helps you manage your
appwrite instance.Usage$appw--helpUsage:appw[OPTIONS]COMMAND[ARGS]...Appwritewrapperclitoperformadministrativetasks

╭─Options─────────────────────────────────────────────────────────────────────────────────╮
│--helpShowthismessageandexit.│
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭─Commands────────────────────────────────────────────────────────────────────────────────╮
│createCreateaneworg,project,key,db,collectionetc;│
│deleteRemoveorg,project,key,db,collectionetc;│
│getGetaspecificorg,project,key,db,collectionetc;details│
│listListorg,project,key,db,collectionetc;│
│login│
│showViewsummary/informationofthecurrentcontext│
│snapshotCreate/restore/migratesnapshots│
│switchSwitchthedefaultorg/project/database│
╰───────────────────────────────────────────────────────────────────────────────────────────╯appwsnapshot--help1changedfilemainUsage:appwsnapshot[OPTIONS]COMMAND[ARGS]...Create/restore/migratesnapshots

╭─Options─────────────────────────────────────────────────────────────────────────────────╮
│--helpShowthismessageandexit.│
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭─Commands────────────────────────────────────────────────────────────────────────────────╮
│create│
│restoreRestoresanexistingsnapshotandsyncseverything-names,schemaandmore│
╰───────────────────────────────────────────────────────────────────────────────────────────╯More details below.Creating a snapshotAssuming you are running your appwrite instance athttp://localhost(this will
be made configurable in the upcoming changes), you can run the following
command to create a snapshot of your entire configuration.appwlogin# enter your credentialsappwsnapshotcreateThis creates thesnapshotsdirectory under the current directory where you
are running the command with a backup of all the configurations. You can
check-in these files into your (private) repo. If you are using public
repositories keep in mind that your OAuth credentials also get backend up in
plain text.Restoring/Syncing snapshotYou can use thesnapshot restorecommand to either sync/migrate an existing
appwrite instance or setup a completely new instance.appwsnapshotrestoreOnce you have the snapshot restored, you can run the officialappwritecli to
initialize the project (to generate appwrite.json) - helps in deploying functions
during developmentappwrite initNOTEAs mentioned above, this is not a replacement for the offcial CLI. But it has
commands to create a new/update/remove organization, projects etc; without
having to create them on the appwrite web console directly. This is what helps
us to create and restore snapshots.ContributeFeatures, bug-fixes, issue reports are all welcome.
Package: appwashpy
AppWashPyInofficial API Client for appWash by Miele.UsageCheck the Juypter-Notebook (example.ipynb) for more code examples!InstallationInstall the package via pip:$pipinstallappwashpyGet StartedImport and initialize the AppWash-Client with your Email and Password:Optionally pass the ID of your default location. See below how to obtain it.fromappwashpyimportAppWashappwash=AppWash("example@mail.org","superstrongpassword",location_id="12345")Information about the LocationGet the Location Object either to the location you specified in the AppWash-Object or to the given parameter.It contains information like the name and available services and their prices.location=appwash.location()# orlocation=appwash.location("12345")Obtaining the Location IDIf you login atappwash.comyou should get redirected to your default location.The URL then contains the Location ID. For example12345for https://appwash.com/myappwash/location/?id=12345ServicesList of Available ServicesGet a list of available services/machines at your default or the specified location.The Service Object contains among other things the type of service (washing machine, dryer, ...) and the current status (available, occupied, ...).services=appwash.services()# orservices=appwash.services("12345")Get Specific Service by IDGet a specific Service Object.services=appwash.services("12345")Buy the ServiceThe service can be bought directly through the .buy() method or via the AppWash-Object.This will bill you the corresponding price!services[0].buy()# orappwash.buy("12345")Be careful, calling this function multiple times cancels the previous service and bills you again.No warranty for freedom from errors and no compensation for damages incurred.Donations
Package: appwee
Appweepeewee wrapper with simple QoL changesInstallationpython -m pip install appweeQuickstartimportappweeapp=appwee.App(appwee.SqliteDatabase("example.db"))classExampleModel(app.Model):it_is_just=appwee.IntegerField()like_normal_peewee=appwee.BlobField()if__name__=="__main__":app.init()Seepeewee's documentationfor more information
Package: appwrite
Appwrite Python SDKThis SDK is compatible with Appwrite server version 1.4.x. For older versions, please checkprevious releases.Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Python SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go tohttps://appwrite.io/docsInstallationTo install viaPyPI:pipinstallappwriteGetting StartedInit your SDKInitialize your SDK with your Appwrite server API endpoint and project ID which can be found on your project settings page and your new API secret Key from project's API keys section.fromappwrite.clientimportClientfromappwrite.services.usersimportUsersclient=Client()(client.set_endpoint('https://[HOSTNAME_OR_IP]/v1')# Your API Endpoint.set_project('5df5acd0d48c2')# Your project ID.set_key('919c2d18fb5d4...a2ae413da83346ad2')# Your secret API key.set_self_signed()# Use only on dev mode with a self-signed SSL cert)Make Your First RequestOnce your SDK object is set, create any of the Appwrite service objects and choose any request to send. Full documentation for any service method you would like to use can be found in your SDK documentation or in theAPI Referencessection.users=Users(client)result=users.create('[USER_ID]','email@example.com','password')Full Examplefromappwrite.clientimportClientfromappwrite.services.usersimportUsersfromappwrite.idimportIDclient=Client()(client.set_endpoint('https://[HOSTNAME_OR_IP]/v1')# Your API Endpoint.set_project('5df5acd0d48c2')# Your project ID.set_key('919c2d18fb5d4...a2ae413da83346ad2')# Your secret API key.set_self_signed()# Use only on dev mode with a self-signed SSL cert)users=Users(client)result=users.create(ID.unique(),'email@example.com','password')Error HandlingThe Appwrite Python SDK raisesAppwriteExceptionobject withmessage,codeandresponseproperties. You can handle any errors by catchingAppwriteExceptionand present themessageto the user or handle it yourself based on the provided error information. Below is an example.users=Users(client)try:result=users.create(ID.unique(),'email@example.com','password')exceptAppwriteExceptionase:print(e.message)Learn moreYou can use the following resources to learn more and get help🚀Getting Started Tutorial📜Appwrite Docs💬Discord Community🚂Appwrite Python PlaygroundContributionThis library is auto-generated by Appwrite customSDK Generator. To learn more about how you can help us improve this SDK, please check thecontribution guidebefore sending a pull-request.LicensePlease see theBSD-3-Clause licensefile for more information.
Package: appwrite-typing
Type hints for your Appwrite Python functionsWhenever I develop an Appwrite function, I am left wondering what all these Flask abstractions mean since they are not from an installable package. Wonder no more!fromappwrite_typing.py310.serverimportContextdefmain(context:"Context"):# <-- we actually know what this means now!returncontext.res.send("Hello World!")deftest_main():response=main(Context())# <-- we can actually test with real objectsassertresponse["body"]=="Hello World!"
Package: appypi
appypiis a terminal-basedPython Package
Indexpackage manager. Each app
installed through appypi is sandboxed in an individual virtualenv and
usable from the user space. No root access is required to install an
app. appypi inNOTa replacement forpiporeasy_install.
Actually, it uses pip intensively to manage package installations.appypi creates launchers into the user ~/bin directory. These launchers
mimic the package behavior in terms of what commands can be called. For
example, appypi will create adjango-admin.pylauncher when installing
thedjangopackage, and afablauncher
when installing theFabricpackage. This way,
you can use the package as if it was installed with pip directly.appypi won’t install a package if it finds it in your path already. It
is your duty to take care of these external installations before using
appypi.Installing a package:$ appypi install django
Looking for django...
Found Django version 1.4.2
Installing...
Install successful!Upgrading a package:$ appypi upgrade django
Upgrading: Django (1.3 => 1.4.2)Removing a package:$ appypi remove django
These packages will be REMOVED:

    Django

Do you want to continue? [y/n]y
Package Django has been removed.