Saravanan666/pypi-org huggingface dataset:
Package: automatheque.schema
automatheque.schemaDomaine pour des classes courantes et partagéesObjectifs :partager des structures de donnéesmetadonnées ou etiquettes et adaptateurs facilesRéfléchirClasse "StockageMedium" de base = classe avec un nom_fichier éventuel pour la sauvegarde ou url si dans le cloud etc.L'idée c'est d'avoir un autre module automatheque pour gérer les xattrs , les extensions
et la sauvegarde en fichier par ex., deviner le type de media (même pour meta données ou étiquettes, qui peuvent être enregistrées dans un fichier) ...TODOdonner des exemples pour l'héritage de renommable etc. qu'on ne va plus intégrer ici=> encourager le sous classage :classChansonRenommable(Chanson,Renommable):defliste_champs():passdefgabarits():passRequirementPython >=3.8Installationpipinstallautomatheque.schemaLicenseGPLv3.0
Package: automatic-behavior-analysis
AutomaticBehaviorAnalysisInstallationpipClient (in cache mode)
To work with the cache, you need to place the video and cache file in the same folder.Package installation:pip install --user automatic-behavior-analysisPackage update:pip install --upgrade --user automatic-behavior-analysisClient launch:aba-clientATTENTION!
For correct operation, the package path should not contain Cyrillic characters.RequirementsPython 3TensorFlowTensorflow Object Detection APIKerasnumpyPILappdirsopenCVwebsocketimageioClient2pip install PyQt5 opencv-python appdirs requests matplotlib scipy pandasBuild a container with a serverDevelopment containerThere are no files and models in the development container in order to minify the image and increase the usability.The container is collected by the following command:# For container with GPU supportdockerbuild-tregistry.gitlab.com/digiratory/automatic-behavior-analysis/dev-gpu.# For container with CPU support onlydockerbuild-fDockerfile.dev.cpu-tregistry.gitlab.com/digiratory/automatic-behavior-analysis/dev-cpu.There's no need to rebuild the container for work and you can pick up the assembled from the repository using the following commands:dockerloginregistry.gitlab.com# To run a container with GPU supportdockerrun--runtime=nvidia-it-v<workspace>:/home/user/-p1217:1217registry.gitlab.com/digiratory/automatic-behavior-analysis/dev-gpu:latest# For container with CPU support onlydockerrun-it-v<workspace>:/home/user/-p1217:1217registry.gitlab.com/digiratory/automatic-behavior-analysis/dev-cpu:latestFor CPU-only:dockerloginregistry.gitlab.com
dockerrun-it-v<workspace>:/home/user/-p1217:1217registry.gitlab.com/digiratory/automatic-behavior-analysis/dev-cpu:latestIf the machine does not have gpu, then the key--runtime=nvidiano need to specify.ATTENTION! The development container does not include source code, models, and more.Launch applicationsLaunch order:Server partClient sideShutdown Procedure:Client sideServer partServerTo start the server side, you must run ./server.pypython3./server.pyTeam Arguments:
[ip= ] — Ip wiretap address (Default 172.0.0.1 )
[port= ] — Server Port (Default 1217)Client part (GUI)To start the client side, you must run ./client_gui.pypython3./client_gui.pyTeam Arguments:
[ip= ] — Ip server address (Default 172.0.0.1 )
[port= ] — Server Port (Default 1217)
Package: automatic-deployer
Automatic DeployerA CLI App to watch git repo and automatically run a command (deploy command, ex. build and run docker container) after inspecting some changes.InstallationCreate virtual environment.python -m venv venvActivate virtual environment.Install package.pip install automatic-deployerRunningSetupUse the following command to set up watcher.deployer setupFollow the prompt for required inputs or use--helpto direct accessing the command arguments.deployer setup --helpRunUse the following command to start watching repo up watcher.deployer startAdditional CommandsUse--helpfor additional commands and their functionality.deployer --helpNotesIf you want to watch a private repo, you can use the following style git url.https://oauth2:TOKEN@github.com/username/repo.gitTOKEN can be generated throw your vcs.Future FeaturesCurrently, it only supportsmainbranch but in near we will add option to watch other branches too.
Package: automatic-incremental-uploads
Automatic Incremental UploadsI often develop things on my laptop and then need to test them on a server when I program for hardware that I don't have in my laptop. For this it is nice to have automatic upload of changed files to the remote server.The CLion/PyCharm IDE has upload functionality for SFTP built-in, it just gets stuck every now and then. There doesn't seem to be a way to get it unstuck again except for waiting like half an hour. Therefore I want to have an independent tool that does this and where I can restart just this part.This works by setting aninotifywatch on a directory tree. Whenever there are changes it will propagate these changes to the remote server. The remote is mounted via SSH FS as this works nicely with the SSH agent running and uses the SSH config. Thepysftppackage is based on the Paramiko library thatdoesn't support CA entries in theknown hostsfileand therefore isn't of much use for me in the intended context.In order to use this program, create a configuration file in TOML format somewhere. It must contain the following four elements:remote='host:/path/to/your/workspace'mountpoint='/home/mu/mnt'basedir='/home/mu/your/workspace'include='some/path/inside/basedir'Theremoteis what SSH FS shall mount. Themountpointis where it should mount that to. Thebasediris your local path that corresponds to what is mounted into the root of themountpoint. Within that workspace you don't need to sync everything, you can also restrict it to some subdirectory viainclude. At the moment only one such include is supported.
Package: automatic-pypi-release
automatic-pypi-releaseAutomatically build and release to pypi, incrementing the version without user intervention.Note: This project should be used as a template to build your repository and enable automatic publish to pypi.This repository does the following:Increase minor version (If not a x.x.0 tagged)Build and uploadpypi packagepush the new tag to the repositoryRequirementsThis project is setup to usesemver, so it will need an initial tag in the format of "x.y.0" (The last number must be 0).Your project must have the following files:Versioneerchanges:setup.pysetup.cfgversioneer.pyMANIFEST.inautomatic_pypi_release/__init__.pyautomatic_pypi_release/_version.pyGithun Actions:.github/workflows/publish-to-test-pypi.yml
Package: automatic-spike-detection
automatic-spike-detectionThe automatic-spike-detection package is a Python library for automatically detecting interictal epileptiform
discharges (IEDs) in intracranial EEG (iEEG) recordings.IEDs, also referred to as ”spikes”, are a characteristic of
the epileptic brain that are recognizable as large transient events in the electroencephalogram
of patients living with epilepsy[1]. Whereas, for clinicians, IEDs can provide valuable information
about the epileptogenic zone, for researchers, they can also be a source of noise and need to be excluded,
such as in[2]where Cusinato and Alnes et al. studied how the human brain processes sounds. Regardless of
the context, the localization of IEDs in EEG recordings is a very time-consuming task.This package aims to contribute to this issue by building on an algorithm previously developed by
Baud et al.[3]that employs nonnegative matrix factorization (NMF) to automatically detect IEDs,
an unsupervised machine-learning algorithm that produces a lower-dimensional approximation of the input.It is important to note, that the algorithm used by this package is optimized for and was solely tested
on iEEG recordings. Intracranial EEG is an invasive technique with implanted electrodes
that is used for clinical monitoring, e.g. to identify the epileptogenic zone and prepare for epilepsy surgery.
The primary characteristic of iEEG is that it provides high spatial and temporal resolution of the
electrical activity in the brain, which makes it a valuable resource for neuroscientific research as well[4].Please consult the automatic-spike-detectionDocumentationfor details on theunderlying conceptsof the algorithm, theInstallation and Usage, and the application programming interface(API)ContributionsIn addition to the dependencies in therequirements.txtfile, you need to install the dependencies listed in thedev-requirements.txtfile, which provides some formatting tools:pip install requirements.txt
pip install dev-requirements.txtReferences[1]Marco de Curtis and Giuliano Avanzini. "Interictal spikes in focal epileptogenesis".
Progress in Neurobiology 63, no.5 (2001): 541-567.[2]Riccardo Cusinato, Sigurd L. Alnes, Ellen van Maren, Ida Boccalaro, Debora Ledergerber, Antoine
Adamantidis, Lukas L. Imbach, Kaspar Schindler, Maxime O. Baud, and Athina Tzovara. Intrinsic
neural timescales in the temporal lobe support an auditory processing hierarchy. Journal of
Neuroscience, 43(20):3696–3707, 2023.[3]Maxime O. Baud, Jonathan K. Kleen, Gopala K. Anumanchipalli, Liberty S. Hamilton, Yee-Leng
Tan, Robert Knowlton, and Edward F. Chang. Unsupervised learning of spatiotemporal interictal
discharges in focal epilepsy. Neurosurgery, 83(4), 2018.[4]Elizabeth L Johnson, Julia W Y Kam, Athina Tzovara, and Robert T Knight. Insights into human
cognition from intracranial eeg: A review of audition, memory, internal cognition, and causality.
Journal of Neural Engineering, 17(5):051001, oct 2020.
Package: automatilib
i.AI Shared Codeautomatilibis a django package used and developed by the i.AI team within the Cabinet Office.
It provides common features used in many of our applications.FeaturesTimestamped, UUID and base user modelsInitial migration for above modelsLogic for authenticating with COLASettingsLOGIN_REDIRECT_URL- The URL to redirect users to post-loginLOGIN_URL- The URL to redirect users to if they are not logged inCOLA_COOKIE_NAME- The name of the cookie to check for COLA JWTCOLA_COGNITO_CLIENT_ID- The cognito client ID found in AWSCOLA_LOGIN_FAILURE- Where the user should be redirected to in the event of authentication failure.AWS_REGION_NAME- The AWS region that the user pool and cognito client live inCOLA_COGNITO_USER_POOL_ID- The cognito user pool ID in AWSLOGIN_FAILURE_TEMPLATE_PATH- The path to an error template for authenticating with COLA errorsCONTACT_EMAIL- The contact email to be used in the login error templateThis is where some of the above can be found:COLA_COOKIE_NAME: In your json settings file for COLACOLA_COOKIE_DOMAIN: is.cabinetoffice.gov.ukby defaultCOLA_COGNITO_CLIENT_ID: In AWS, go to your cognito user pool, then to app integration, then at the bottom you can find your client ID in the tableAWS_REGION_NAME: Whichever region in AWS your Cognito pool lives, likely to beeu-west-2COLA_COGNITO_USER_POOL_ID: In AWS, go to your cognito user pool, in the top table calledUser pool overview, yourUser pool IDis thereCOLA_LOGIN_URL: Ask the COLA team for this URLCOLA_JWT_REGEX_PATTERN: This is one you can adjust how you want to, the baseline is(?<=:).*(?=\.)COLA_LOGIN_FAILURE- This should be a route in your app, if not specified the user will get a raw 401 plain text message.To make use of COLAsee theexample settingsin this repoAdd these into yourINSTALLED_APPSsettings:INSTALLED_APPS=["automatilib.core.apps.IdotAIConfig","automatilib.cola.apps.ColaAuthConfig",...]Add this into yourAUTHENTICATION_BACKENDsetting:AUTHENTICATION_BACKENDS=["automatilib.cola.backend.COLAAuthenticationBackend","django.contrib.auth.backends.ModelBackend",# This includes the default backend]Import and add the following to your url_patterns:fromautomatilib.cola.urlsimporturl_patternsascola_urlsurlpatterns=other_urlpatterns+cola_urlsHow to run TestsDJANGO_SETTINGS_MODULE=example_project.settings pytest --cov cola --cov core --cov-report term-missing --cov-fail-under 80LicenceMIT
Package: automation-anywhere
Automation Anywhere Python API IntegrationAboutThis Python module is used to talk to Automation Anywhere 360 and start Tasks on selected machines.Automation Anywhere does have a basic check if the task was "asked to be deployed"
successfully, albeit very simple, it's still better then nothing.InstallThere are some minimum dependencies:pip install requests>=2.21After installing them, you can proceed with the installation:pip install automation_anywhereUsageAs is, for the version 360, you can use the package to deploy a task as such:from automation_anywhere.executor import Executor
base_url = 'https://your-automation-controlroom-url/'
username = 'your-username'
password = 'your-password'
aa_executor = Executor(base_url, username, password)
devices, _, error = aa_executor.list_devices(hostname='host', run_as_user='user_to_run_as')
if error is not None:
  # handle the error
  pass
automations, _, error = aa_executor.list_automations(name='Test')
if error is not None:
  # handle the error
  pass
# Get the run as user id to execute, we'll just get the first one
users_ids = int(devices[0]['defaultUsers'][0]['id'])
# Get the automation id to execute, we'll just get the first one
automation_id = int(automations[0]['id'])
# Deploy
success, error, deployment_id, deployment_name = aa_executor.deploy(automation_id, [users_ids])
if success:
  # handle the error
  pass
else:
  print(f'Deployed on id {deployment_id} with name {deployment_name}')
aa_executor.logout()The errors will come 100% from the APIs of the Control Room.What about task status?I found an endpoint where you can get the job execution status, by filtering it via deployment id or deployment name. Here's a sample usage:from automation_anywhere.executor import Executor
base_url = 'https://your-automation-controlroom-url/'
username = 'your-username'
password = 'your-password'
deploy_id = '377b04a5-fa8b-4e4a-8db5-8d769fd6639b'
deploy_name = 'Test.2023.05.19.17.28.51.test@test.com'
aa_executor = Executor(base_url, username, password)
success, error, data = aa_executor.status(deploy_id=deploy_id)And the dictionary output:[{'automationId': '',
'automationName': 'Test.2023.05.19.17.28.51.test@test.com',
'automationPriority': 'PRIORITY_MEDIUM',
'botLabel': '',
'callbackInfo': '',
'canManage': True,
'command': 'logToFile',
'createdBy': '41',
'createdOn': '2023-05-19T17:28:51.949121Z',
'currentBotName': 'Test',
'currentLine': 1,
'deploymentId': '377b04a5-fa8b-4e4a-8db5-8d769fd6639b',
'deviceId': '10',
'deviceName': 'utils',
'endDateTime': '2023-05-19T17:29:23.438893600Z',
'fileId': '459',
'fileName': 'Test',
'filePath': '',
'id': '5a3823af-3495-4692-9a08-0da80e70f046_06a59328ad01bfaa',
'message': '',
'modifiedBy': '41',
'modifiedOn': '2023-05-19T17:29:25.115503Z',
'progress': 100,
'queueId': '',
'queueName': '',
'runElevated': False,
'startDateTime': '2023-05-19T17:29:21.602952600Z',
'status': 'COMPLETED',
'tenantUuid': '0a662aeb-8728-11a9-8187-bed41445010e',
'totalLines': 1,
'type': 'RUN_NOW',
'userId': '41',
'userName': 'test@test.com',
'usingRdp': False}]Basically it's a list with all executions found with the filter, and all their status.
Package: automation-api-deffets
Python API for the automation server databaseExamplefromapi.apiimportDBdb=DB(dbName='automation3',host="3.123.139.xxx",user="username",password=None,key="/home/username/.ssh/id_rsa",uri=None,port=22,to_host='127.0.0.1',to_port=27017)print(db.getUsers())
Package: automationBeamNgExportFix
automationBeamNgExportFixSmall python package to fix immediate turbo overheating in cars exported from Automation into BeamNG Drive.This is a basic python module which will modify the engine configurations as exported from Automation: The Car Company Tycoon Game for use in BeamNG Drive.
It will modifycylinderWallTemperatureDamageThresholdanddamageThresholdTemperatureto have the value99999999so that there is no risk of the different
thermal modelling between the games causing cars to fail immediately due to overheat.Can be used with the-f FILEargument to operate on a given zip or with the-a Nargument to operate on N number of most recent zips in the BeamNG Drive mods folder of
the current user. Tool will automatically detect the latest BeamNG version directory, but a different version can be specified with the-v Vargument.
Package: automationdb
# requirements_dev.txt we use for the testing
It makes it easier to install and manage dependencies for development and testing, separate from the dependencies required for production.# difference between requirements_dev.txt and requirements.txtrequirements.txt is used to specify the dependencies required to run the production code of a Python project, while requirements_dev.txt is used to specify the dependencies required for development and testing purposes.# tox.ini
We use if for the testing in the python package testing against different version of the python## how tox works tox enviornment creation
1. Install depedencies and packages
2. Run commands
3. Its a combination of the (virtualenvwrapper and makefile)
4. It creates a .tox# pyproject.toml
it is being used for configuration the python project it is a alternative of the setup.cfg file. its containts configuration related to the build system
such as the build tool used package name version author license and dependencies# setup.cfg
In summary, setup.cfg is used by setuptools to configure the packaging and installation of a Python projec# Testing python applicationtypes of testing1. Automated testing
2. Manual testingMode of testing1. Unit testing
2. Integration testsTesting frameworkspytestunittestrobotframeworkseleniumbehavedoctest# check with the code style formatting and syntax(coding standard)pylintflake8(it is best because it containt 3 library pylint pycodestyle mccabe)pycodestyle
Package: automation-direct-stock
automation_direct_stockI am in no way associated with automationdirect.comA simplepython moduleto easily check if the product at a given url on automationdirect.com is in stockInstallationRequires Python 3 and pipFrom the PyPI:pipinstall[--user]automation_direct_stockFrom GitHub:# Clone this repositorygitclonehttps://github.com/PhilipConte/automation_direct_stock.git# Go into the repositorycdautomation_direct_stock# install the module using pippipinstall[--user].UsageUse from the commandline or a python script (make sure to put the url in quotes)#commandlineadstock"url_to_check"#python scriptfromautomation_direct_stockimportisInStock
isInStock("url_to_check")Possible Return Values#if in stock'In Stock'#if out of stock'Out Of Stock'#if not found or url invalid'error'#(commandline only) if invalid number of arguments passed'bad arguments'
Package: automation-editor
AutomationIDE Doc Click Here!Using this IDE edit tkinter videoWhat is Automation EditorProject Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1\Native support AutoControl script.Native support APITestka script.Native support Load Density script.Native support WEB Runner script.Native support Mail Thunder script.Native support File Automation script.Native support Front Engine script.Automation instance monitor.Automation project support.Docs support.BingGPT (requires setting up cookies, tutorial available in the IDE)DALL-E3 Bing version for image generation (requires setting up another type of cookie, tutorial available in the IDE)Auto-save (available after the first save or after opening a file), auto-complete, jump to definition.Bilingual interface (English, Traditional Chinese) Choose font and size.Tabbed browsing, split window functionality.Embedded browser.Embedded Jupyter and IPython.Built-in automation packages.Multiple UI style choices.Python venv and management to choose the Python interpreter to use.Code style checking and auto-formatting (PEP8).Debugger.Multiple Shell command executors (run multiple Shells at once).Multiple program executors (run multiple programs at once). Custom colors.installpip install automation_editor
Package: automation-editor-dev
AutomationIDE Doc Click Here!Using this IDE edit tkinter videoWhat is Automation EditorProject Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1\Native support AutoControl script.Native support APITestka script.Native support Load Density script.Native support WEB Runner script.Native support Mail Thunder script.Native support File Automation script.Native support Front Engine script.Automation instance monitor.Automation project support.Docs support.BingGPT (requires setting up cookies, tutorial available in the IDE)DALL-E3 Bing version for image generation (requires setting up another type of cookie, tutorial available in the IDE)Auto-save (available after the first save or after opening a file), auto-complete, jump to definition.Bilingual interface (English, Traditional Chinese) Choose font and size.Tabbed browsing, split window functionality.Embedded browser.Embedded Jupyter and IPython.Built-in automation packages.Multiple UI style choices.Python venv and management to choose the Python interpreter to use.Code style checking and auto-formatting (PEP8).Debugger.Multiple Shell command executors (run multiple Shells at once).Multiple program executors (run multiple programs at once). Custom colors.installpip install automation_editor
Package: automation-engine
Automation EngineA lightweight and flexible framework to automate things with MQTT.What is Automation Engine?Automation Engine is a Python framework for building automations using MQTT. The most common use case for this is automating a smart home where devices publish their state to a MQTT broker.The leading self-hosted solution for this at the time of writing isHome Assistant, which is a great piece of open-source software. However, the automations framework in Home Assistant is quite limited, and you usually have to build multiple flows to achieve a single "automation".Automation Engine is intended for home automation enthusiasts who prefer writing short snippets of Python, rather than building a large number of GUI "flows". As such, Automation Engine is similar toNodeRED, but uses Python rather than a browser-based editor.Prometheus MetricsPrometheus metrics are exposed on port9832by default. The port can be configured via themetrics_portconfig key.ContributionsThis project is released under the MIT Licence. For more information, please see LICENSE.The CONTRIBUTORS file can be generated by executing CONTRIBUTORS.gen. This generated file contains a list of people who have contributed to Automation Engine.
Package: automation-file
FileAutomationDocumentationTODOProject Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1FileAutomation is used to manager files and dirs.Easily file automation.Automatically backup.Automatically download from Google Drive.Automatically upload to Google Drive.Automatically zip and unzip file.Automatically manager specify file.OS Independent.Remote automation support.Project & Template support.Detailed log file.Scheduler.installpip install automation_fileRequirespython 3.9 or laterArchitecture Diagram
Package: automation-file-dev
FileAutomationDocumentationTODOProject Kanbanhttps://github.com/orgs/Integration-Automation/projects/2/views/1FileAutomation is used to manager files and dirs.Easily file automation.Automatically backup.Automatically download from Google Drive.Automatically upload to Google Drive.Automatically zip and unzip file.Automatically manager specify file.OS Independent.Remote automation support.Project & Template support.Detailed log file.Scheduler.installpip install automation_fileRequirespython 3.9 or laterArchitecture Diagram
Package: automationfx
This is a SDK for the AutomationFX REST API.AutomationFX is a integration platform from UnifiedFX that exposes Cisco Unified Communication Managers (CUCM) complex and varied interfaces via a simple unified REST API.Note: Currently AutomationFX software is only availble via PhoneView Lab Editon (alpha release).Please contact UnifiedFX Sales for further information and request access to the software.