Saravanan666/pypi-org huggingface dataset:
Package: aa-sbst
There is no implemenation of SBST in Standard Python Library, and I found it quite inconvenient and a little bit disappointing.This is a compact, portable (no dependencies) and extremely easy-to-use implementation of self-balancing binary search tree. This particular type of trees (so called AA-tree) is described here:https://en.wikipedia.org/wiki/AA_treeFeatures:You can use this module throughimportinstruction or simply copy-paste the implementation into your source code, and be happy.While instantiatingsbstobject you can specify your own comparison function or use default simple comparison.You can add values to tree one-by-one using functionadd, or fill it from some iterable object (functionaddfrom). Either initialization in constructor is possible.The tree stores all duplicates. This feature is vital if the tree is an index for in-memory table.This SBST gives you two basic search operations:min- returns minimal value that is not less (ifinclusiveparameter is True) or greater (inclusive=False) than specified limit.max- returns maximal value that is not greater (ifinclusiveparameter is True) or less (inclusive=False) than specified limit.If you have not specified limit, functions return respectively minimal or maximal value in the tree.Functionforward_fromreturns generator that yields sorted sequence of values starting from a specified value. Functionbackward_fromyields reverse-sorted sequence down from a specified value. These functions haveinclusiveoption too. If starting value is not specified, these functions yield respectively sorted or reverse-sorted sequences of all values in the tree. If tree modified while iterating (some values inserted, some removed, tree rebalanced), sequence will be yielded in right predictable way.If comparison function treats values as equal, they will be yielded byforward_fromandbackward_fromgenerators in the insertion order.Do not store _None_ values into tree. Even if your comparison function can process them, you will not be able to search them because None value will be treated as ‘not specified’.If mutable objects inserted into the tree are changed, their sequence in tree may become irrelevant. So after value mutation it is a good idea to remove it from tree and add again.Methodsaddandremoveare not thread-safe. Be careful.Tutorial: [doc/tutorial.md](doc/tutorial.md)Keywords: binary tree
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Package: aas-core3.0
This is a software development kit (SDK) to manipulate, verify and de/serialize Asset Administration Shells based on the version 3.0 of the meta-model.The documentation is available on:https://aas-core30-python.readthedocs.io/en/latest/.The majority of the code has been automatically generated byaas-core-codegen.If you want to contribute, see ourcontributing guide.
Package: aas-core3.0rc02
This is a software development kit (SDK) to manipulate, verify and de/serialize Asset Administration Shells based on the version 3.0VRC02 of the meta-model.The documentation is available on:https://aas-core30rc02-python.readthedocs.io/en/latest/.The majority of the code has been automatically generated byaas-core-codegen.If you want to contribute, see ourcontributing guide.
Package: aas-core-meta
We provide here meta-models for asset administration shell information model written in simplified Python.For more information and a more abstract overview, please see our design documents:https://aas-core-works.github.io/design-docs/ContributorsNico BraunischMarko RistinRobert LehmannMarcin SadurskiManuel SauerSebastian BaderContributingFeature requests or bug reports are always very, very welcome!Please see quickly if the issue does not already exist in theissue sectionand,
if not, createa new issue.You can also contribute in code.
Please seeCONTRIBUTING.rst.VersioningSince this package keeps track of multiple versions of the meta-model, we opt to release following a simple release date schema.For example, for a release on November 20th 2021, we use the version:2021.11.20.
Package: aa-secret-santa
AA Secret SantaA Secret Santa Manager forAlliance AuthFeaturesAccepts Applications to be secret santasHandles randomly pairing up usersNotifies users of their santeehandles if gifts have been deliveredSecure Groups IntegrationInstallationStep 1 - Install apppipinstallaa-secret-santaStep 2 - Configure Auth settingsConfigure your Auth settings (local.py) as follows:Add'secretsanta'toINSTALLED_APPSStep 4 - Maintain Alliance AuthRun migrationspython manage.py migrateGather your staticfilespython manage.py collectstaticRestart your projectsupervisorctl restart myauth:Step 5 - ConfigurationIn the Admin interface, visitsecretsantaor<AUTH-URL>/admin/secretsanta# Coming SoonPermissionsPermAdmin SitePermDescriptionbasic_accessnillCan access Secret SantaCan access the Secret Santa Module and Apply to YearsmanagernillCan manage Secret SantaCan Manage and See all Santa<>Santee PairsSettingsNameDescriptionDefaultSECRETSANTA_GENERATE_PAIRS_PRIORITYthe generate_pairs task, to run super uber omega immediately so we can identify issues1SECRETSANTA_NOTIFY_PRIORITYPriority for discord messages for secret santa5ContributingMake sure you have signed theLicense Agreementby logging in athttps://developers.eveonline.combefore submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes.
Package: aas-job-register-downloader
AAS Job Register DownloaderThe AAS Job register (https://jobregister.aas.org/) has a lot of cool jobs but these are a bit challenging to sift through.This tries to collect some data from the site and tabulate it. I hope it helps you in your search!To usepip install aas_job_register_downloader
download_aas_jobsIf you want the job descriptions to be added in the table:download_aas_jobs -v
Package: aasm
Agents Assembly TranslatorTable of ContentsAboutAgents AssemblyGetting StartedStructureContributingAboutA target agnostic translator for Agents Assembly. The translator can be tested live onAgents Assembly website.
It is a part of theAgents Assemblyecosystem.
Other applications are:Local Interface- GUI for simulation definition, management, and analysis.Simulation Run Environment- environment for running scalable agent-based simulations.Communication Server- cluster of servers used for XMPP communication.Local Development Environment- simple environment for running agent-based simulations.Agents AssemblyDocumentation of Agents Assembly can be readhere.Getting StartedPrerequisitesPython 3.10InstallationThe translatorpackagecan be installed by running:pip install aasmAlternatively, you can download this repository. No additional dependencies are required.UsageYou can run the translator as a package. To translateagent.aasmto SPADE, run:python -m aasm.translate agent.aasmFor more usage information, run:python -m aasm.translate --helpStructuregeneratingcode.py- generated codepython_code.py- Python code base classpython_graph.py- Python graph code generation from the intermediate representationpython_spade.py- SPADE agent code generation from the intermediate representationintermediateaction.pyagent.pyargument.py- arguments used in instructionsbehaviour.pyblock.py- block of code representationdeclaration.py- declarations used in actionsgraph.pyinstruction.py- instructions used in actionsmessage.pyparsingparse.py- parsing environment from Agents Assembly fileop/- Agents Assembly operationsstate.py- state definition used for the parsing processpreprocessorconstants.py- constants used in the preprocessormacro.py- macro definitions used in the preprocessorpreprocessor_item.py- preprocessor base itempreprocessor.pyutilsexception.pyvalidation.pyiteration.pytranslate.py- entrypointContributingPlease follow thecontributing guideif you wish to contribute to the project.
Package: aa-sov-timer
AA Sovereignty TimerSovereignty campaign overview for Alliance Auth.AA Sovereignty TimerScreenshotsAA Sov Timer Dashboard (Light Mode)AA Sov Timer Dashboard (Dark Mode)InstallationStep 1: Installing the AppStep 2: Update Your AA SettingsStep 3: Finalizing the InstallationStep 4: Preload Eve Universe DataStep 5: Setting up PermissionStep 6: Keep Campaigns UpdatedUpdatingChangelogTranslation StatusContributingScreenshotsAA Sov Timer Dashboard (Light Mode)AA Sov Timer Dashboard (Dark Mode)InstallationImportant: Please make sure you meet all preconditions before you proceed:AA Sovereignty Timer is a plugin for Alliance Auth. If you don't have Alliance
Auth running already, please install it first before proceeding. (see the officialAA installation guidefor details)AA Sovereignty Timer needs the appdjango-eveuniverseto function. Please make sure it is installed before continuing.Step 1: Installing the AppMake sure you're in the virtual environment (venv) of your Alliance Auth installation.
Then install the latest version:pipinstallaa-sov-timerStep 2: Update Your AA SettingsConfigure your AA settings (local.py) as follows:Add'eveuniverse',toINSTALLED_APPSAdd'sovtimer',toINSTALLED_APPSRestart your supervisorStep 3: Finalizing the InstallationCopy static files and run migrationspythonmanage.pycollectstaticpythonmanage.pymigrateStep 4: Preload Eve Universe DataAA Sovereignty Timer uses Eve Universe data to map IDs to names for solar systems,
regions and constellations. So you need to preload some data from ESI once.
If you already have run this command, you can skip this step.pythonmanage.pyeveuniverse_load_datamappythonmanage.pysovtimer_load_initial_dataBoth commands might take a moment or two, so be patient ...Step 5: Setting up PermissionNow you can set up permissions in Alliance Auth for your users.
Addsovtimer | Sovereignty Timer | Can access the Sovereignty Timer moduleto
the states and/or groups you would like to have access.Step 6: Keep Campaigns UpdatedAdd the following scheduled task to yourlocal.py. One done, restart your supervisor.# AA Sovereignty Timer - Run sovereignty related updates every 30 secondsCELERYBEAT_SCHEDULE["sovtimer.tasks.run_sov_campaign_updates"]={"task":"sovtimer.tasks.run_sov_campaign_updates","schedule":30.0,}Now your system is updating the sovereignty campaigns every 30 seconds.UpdatingTo update your existing installation of AA Sovereignty Timer, first enable your
virtual environment.Then run the following commands from your AA project directory (the one that
containsmanage.py).pipinstall-Uaa-sov-timerpythonmanage.pycollectstaticpythonmanage.pymigrateFinally, restart your AA supervisor services.ChangelogSeeCHANGELOG.mdTranslation StatusDo you want to help translate this app into your language or improve the existing
translation? -Join our team of translators!ContributingDo you want to contribute to this project? That's cool!Please make sure to read theContribution Guidelines.(I promise, it's not much, just some basics)
Package: aa-statistics
AA-StatisticsAA-Statistics forAlliance Auth.Periodically gather and update statistics for use by other modulesCurrently used byAA-DiscordBotAA-SmartGroupsCurrently offersZKillboardStatsSetuppip install git+https://github.com/pvyParts/aa-statistics.gitadd'aastatistics',to INSTALLED_APPS in yourlocal.pymigrate database and restart authpythonmanage.pymigrate
pythonmanage.pycollectstaticAdd the following lines to your local.py## Settings for AA-StatisticsMEMBER_ALLIANCES=[111,222,333]# Alliances you care about statistics for## Periodic Tasks for AA-StatisticsCELERYBEAT_SCHEDULE['aastatistics.run_stat_model_update']={'task':'aastatistics.run_stat_model_update','schedule':crontab(minute=0,hour=0,)}IssuesPlease remember to report any AA-Statistics related issues using the issues onthisrepository.ContributeAll contributions are welcome, but please if you create a PR for functionality or bugfix, do not mix in unrelated formatting changes along with it.
Package: aas-timeseries
Experimental package to make interactive visualizations for time series, for AAS PublicationsLicenseThis project is Copyright (c) Thomas Robitaille and licensed under
the terms of the BSD 3-Clause license. This package is based upon
theAstropy package templatewhich is licensed under the BSD 3-clause licence. See the licenses folder for
more information.ContributingWe love contributions! aas-timeseries is open source,
built on open source, and we’d love to have you hang out in our community.Imposter syndrome disclaimer: We want your help. No, really.There may be a little voice inside your head that is telling you that you’re not
ready to be an open source contributor; that your skills aren’t nearly good
enough to contribute. What could you possibly offer a project like this one?We assure you - the little voice in your head is wrong. If you can write code at
all, you can contribute code to open source. Contributing to open source
projects is a fantastic way to advance one’s coding skills. Writing perfect code
isn’t the measure of a good developer (that would disqualify all of us!); it’s
trying to create something, making mistakes, and learning from those
mistakes. That’s how we all improve, and we are happy to help others learn.Being an open source contributor doesn’t just mean writing code, either. You can
help out by writing documentation, tests, or even giving feedback about the
project (and yes - that includes giving feedback about the contribution
process). Some of these contributions may be the most valuable to the project as
a whole, because you’re coming to the project with fresh eyes, so you can see
the errors and assumptions that seasoned contributors have glossed over.This disclaimer was originally written byAdrienne Lowefor aPyCon talk, and was adapted by
aas-timeseries based on its use in the README file for theMetPy project.
Package: aa-structures
StructuresApp for managing Eve Online structures with Alliance Auth.OverviewThis app is for managing Eve Online structures withAlliance Auth. It allows all member corporations to see a current list of all their structures in Auth. In addition it allows forwarding Eve Online notifications to Discord.FeaturesStructures adds the following main features to Alliance Auth:Structure browser with a detailed list of all structures owned by member corporations, automatically synced with the game serverStructures include all Upwell structures, Custom Offices and Starbases / POSesAutomatically forwards Eve Online notifications to Discord channels as alerts for these categories:Upwell structuresCustoms officesStarbasesMoon miningSovereigntyWarsCorporation membership changesAutomatically adds timers from relevant notifications toAlliance Auth Structure TimersorStructure Timers IIapp (if installed)Fittings, contents of Upwell structures (e.g. fuel blocks and ammo) and current fuel usageAdditional structure notifications generated by the app:Configurable alerts to warn about fuel running at in structures and POSes, and which can replace the ESI notificationsNotifications to inform when structures have been refueled (BETA)Configurable alerts to warn about jump fuel (liquid ozone) running low in jump gatesPOS reinforced (BETA)Tax rates and access settings of Customs OfficesPermissions define which structures are visible to a user based on organization membershipSelf-defined tags help to better organize structuresAbility to increase notification response time and sync resilience with multiple sync characters per structure ownerAutomatically sends alerts to users and admin when token become invalid or sync from ESI failsInterface for 3rd party monitoring of the services statusChinese :cn:, English :us:, German :de: and Russian :ru: localizationPlease also check outDiscord Notifythat will automatically forward auth notifications to the respective users on Discord.ScreenshotsHere is an example for the main list of structures:You can also see the fittings and contents any upwell structures:The tax rate and access configuration of customs offices is visible too:And you can see the configuration for starbases:This is an example for a notification posted on Discord:InstallationPlease see theoperation manualfor the installation guide.
Package: aat-analysis
AAT AnalysisThis package helps with analyzing mobile AAT data.Installpip install aat_analysisHow to use#%run utils.ipynb # Some utility functions#%run make_condition_templates.ipynb # Defines expected data based on resources#%run json_to_df.ipynb # Turns raw json data into dataframes and calculates responses, rts, and forcefromaat_analysis.make_condition_templatesimportmake_condition_templatesfromaat_analysis.json_to_dfimportjson_to_dffromaat_analysis.utilsimportmerge_data#from aat_analysis.Define folder pathsraw should include the raw data from your experimentexternal should include the contents of the Resources folder of your experiment appinterim and processed can be emptyexternal_folder="../data/external/"interim_folder="../data/interim/"raw_data_folder="../data/raw/"processed_data_file="../data/processed/data.csv"Preprocess data# Creates empty dataframes to define expected data for each conditiontemplates=make_condition_templates(external_folder)# Preprocesses data for each participant and moves it to interimjson_to_df(raw_data_folder,external_folder,interim_folder,templates)# Merges interim data and stores it for further analysisdata=merge_data(interim_folder,drop=['interpolated','interpolated_gyro'])data.to_csv(processed_data_file)100%|█████████████████████████████████████████████| 3/3 [00:27<00:00,  9.24s/it]AAT dataThe selected columns below contain all data needed to calculate approach tendencies for each session, participant, and stimulus type.  The additional data in the dataframe (not shown) are answers to other questions and some additional AAT variables.data[['participant','condition','session','trial','is_practice','stimulus_set','stimulus','correct_response','response','accuracy','rt','force']]<style scoped>
    .dataframe tbody tr th:only-of-type {
        vertical-align: middle;
    }.dataframe tbody tr th {
    vertical-align: top;
}

.dataframe thead th {
    text-align: right;
}</style>participantconditionsessiontrialis_practicestimulus_setstimuluscorrect_responseresponseaccuracyrtforce0kmahu0zqcondition_2final_session1FalseNoneNoneNoneNAFalseNaNNaN1kmahu0zqcondition_2introduction_session_21Truepractice_foodstim_0154pushNDFalseNaN8.1241862kmahu0zqcondition_2introduction_session_22Truepractice_objectsstim_1276pullpullTrue1206.012.1304663kmahu0zqcondition_2introduction_session_23Truepractice_objectsstim_1264pullNDFalseNaN1.6512794kmahu0zqcondition_2introduction_session_24Truepractice_objectsstim_1277pullpullTrue629.018.342323.......................................6166kmah8va6condition_2push_food_before_lunch_d5132Falseunhealthy_temptingstim_0025pullpullTrue346.09.0246266167kmah8va6condition_2push_food_before_lunch_d5133Falseunhealthy_non_temptingstim_0125pullpullTrue363.05.8202396168kmah8va6condition_2push_food_before_lunch_d5134Falsehealthy_non_temptingstim_0226pullpullTrue492.08.3455086169kmah8va6condition_2push_food_before_lunch_d5135Falsehealthy_temptingstim_0201pullpullTrue450.05.5394706170kmah8va6condition_2push_food_before_lunch_d5136Falseobjectsstim_1035pushpullFalse308.06.5891246171 rows × 12 columns
Package: aat-downloader
AAT DownloaderA package that helps download mobile AAT data.Installpip install aat_downloaderHow to useTo use this package, first download the google-services.json file from the settings of your Firebase realtime database.Downloading dataTo download data run the lines below (replace "experiment" with the experiment you want to delete).fromaat_downloader.downloaderimportDownloader# Initiate downloader with path to google services file (downloaded from Firebase)downloader=Downloader("data/external/google-services.json")The autoreload extension is already loaded. To reload it, use:
  %reload_ext autoreload# Specify experiment name and storage folder and download datadownloader.download("experiment","data/raw")Deleting dataTo delete data run the following function (replace "experiment" with the experiment you want to delete).downloader.delete_participants("experiment")Warning: Are you sure you want to delete participants of experiment: fooddemo?
 y
Package: aa-theme-console
Alliance Auth Theme: ConsoleAlliance Auth Theme: ConsoleInstallationThe perfect theme for all old school console nerds out there :-)Installationpipinstallaa-theme-consoleNow open yourlocal.pyand add the following right below yourINSTALLED_APPS:# Console Thame - https://github.com/ppfeufer/aa-theme-consoleINSTALLED_APPS.insert(0,"aa_theme_console")ImportantIf you are usingAA-GDPR, the template stuff needs to beaftertheAA_GDPRentry, like this:# GDPR ComplianceINSTALLED_APPS.insert(0,"aagdpr")AVOID_CDN=True# Console Thame - https://github.com/ppfeufer/aa-theme-consoleINSTALLED_APPS.insert(0,"aa_theme_console")
Package: aa-theme-slate
Alliance Auth Theme: SlateThis is theBootstrap theme Slateconverted into
a theme for Alliance auth.Alliance Auth Theme: SlateInstallationInstallationpipinstallaa-theme-slateNow open yourlocal.pyand add the following right below yourINSTALLED_APPS:# Slate Thame - https://github.com/ppfeufer/aa-theme-slateINSTALLED_APPS.insert(0,"aa_theme_slate")ImportantIf you are usingAA-GDPR, the template stuff needs to beaftertheAA_GDPRentry, like this:# GDPR ComplianceINSTALLED_APPS.insert(0,"aagdpr")AVOID_CDN=True# Slate Thame - https://github.com/ppfeufer/aa-theme-slateINSTALLED_APPS.insert(0,"aa_theme_slate")
Package: aa-toolbox
aa-toolbox: Toolbox for anticipatory actionTheanticipatory action(AA) toolbox is a Python package to support development of AA frameworks, by
simplifying the downloading and processing of commonly used datasets.The datasets that we currently support are:CHIRPS rainfallCOD ABs (Common Operational Datasets administrative boundaries)FEWS NET food insecurityGloFAS river dischargeIRI seasonal rainfall forecastUSGS NDVI (normalized difference vegetation index)For more information, please see thedocumentation.InstallingInstall and update usingpip:pipinstall-Uaa-toolboxA Simple ExampleDownload the admin boundary CODs for Nepal, and retrieve provinces
as a GeoDataFrame:fromaatoolboximportcreate_country_config,CodABcountry_config=create_country_config('npl')codab=CodAB(country_config=country_config)codab.download()provinces=codab.load(admin_level=1)ContributingFor guidance on setting up a development environment, see thecontributing guidelinesLinksDocumentationChangesPyPI ReleasesSource CodeIssue Tracker
Package: aatools
aatoolsInstallYou can install the package from Pypi using,pipinstallaatoolsor, if you prefer conda with,condainstall-crcvalenzuelaaatoolsHow to useCurrently the package only provides one functionplot_univariate_continuouswhich given a sample of data from a univariate random variable generates
the histogram and adds information on the mean and the quartilesLook at thedocumentationof
the package for information on how to use.