Saravanan666/pypi-org huggingface dataset:
Package: axlearn
The AXLearn Library for Deep LearningThis library is under active development and the API is subject to change.Table of ContentsSectionDescriptionIntroductionWhat is AXLearn?Getting StartedGetting up and running with AXLearn.ConceptsCore concepts and design principles.CLI User GuideHow to use the CLI.InfrastructureCore infrastructure components.IntroductionAXLearn is a library built on top ofJAXandXLAto support the development of large-scale deep learning models.AXLearn takes an object-oriented approach to the software engineering challenges that arise from
building, iterating, and maintaining models.
The configuration system of the library lets users compose models from reusable building blocks and
integrate with other libraries such asFlaxandHugging Face transformers.AXLearn is built to scale.
It supports the training of models with up to hundreds of billions of parameters across thousands of
accelerators at high utilization.
It is also designed to run on public clouds and provides tools to deploy and manage jobs and data.
Built on top ofGSPMD, AXLearn adopts a global computation
paradigm to allow users to describe computation on a virtual global computer rather than on a
per-accelerator basis.AXLearn supports a wide range of applications, including natural language processing, computer
vision, and speech recognition and contains baseline configurations for training state-of-the-art
models.Please seeConceptsfor more details on the core components and design of AXLearn, orGetting Startedif you want to get your hands dirty.
Package: axolotl-dbu
Axolotldb utilsinstallpipinstallaxolotl-dbudev installpipinstall-e./
cpexample.env.envcli helpaxolotl--helpaxolotlbackup-and-restore--help
axolotldb-utils--helpconfig filecreate a axolotl-clusters.yml file in the /.config
directory in your homecluster config filelocal: mongodb://localhost:27017
beta: mongodb+srv://<user>:<password>@some-cluster.mongodb.net/move db form one cluster to anotheraxolotldb-utilsmove-db-cluster-ocbeta-dclocal-dbjokes-p./tmpexampleimportosimportdotenvfromaxolotlimportBackupAndRestoreClientdotenv.load_dotenv()client=BackupAndRestoreClient(db_uir=os.getenv("MONGO_DB_URI"))client.backup_collection(db="jokes",collection="funny-jokes",path="./results")
Package: axolpy-lib
axolpy-lib, the Axolotl Library in PythonReleaseCode QualityActivityLicensePopularityThis is the library of the Axolotl series in Python. The implementation of it
aims at providing a handy all-in-one package for writing useful applications.PyPi project:https://pypi.org/project/axolpy-libInstall axolpy-libpip install axolpy-libInstall dependenciesSince this package contains libraries for many areas, not all dependencies
are configured as hard dependency and installed together withaxolpy-lib. Therefore
you can decide what to not install to save your space. However, if you want to use
all features or develop on top of this package, you will have to install all dependencies.Recommended wayYou are recommended to usepyenvandpipenvto install the dependencies. To install all dependencies:pipenv installTo install particlular package only:pipenv install pyyamlAlternativeYou can install dependencies with the old way by using requirements.txt.pip install -r requirements.txtRun testTo run pytest:pytestTo run test with coverage result:coverage run -m pytestTo generate test coverage report:coverage report -mTo generate test coverage report in html:coverage htmlBuild axolpy-lib packageTo build with wheel:python -m buildYou will see output like this:* Creating venv isolated environment...* Installing packages in isolated environment... (setuptools>=42, wheel)* Getting dependencies for sdist.........Successfully built axolpy-lib-1.0.0.tar.gz and axolpy_lib-1.0.0-py3-none-any.whlTest reportCode Coverage graphSee moreaxolpy-scriptfor using Axolpy scriptsLicense
Package: axonbot-slack
Axonius Slack BotThis is aSlack botforAxonius. It enables users in Slack to interact with an Axonius instance in a number of ways:Get a report of objects in JSON format sent to you in a new thread.You can search for user objects by username, email (using regex or not).You can search for device objects by hostname, IP address, or MAC address (using regex or not).You can search for user or device objects by a query built in the Query Wizard of the Axonius GUI.You can add or remove labels in the thread that is started up for returned objects.Documentation can be foundhere.For questions, feature requests, or bug reports, you can:File an issue on theIssue TrackerEmailapiclient@axonius.comThis is publicly available in a few places:GitHubDockerPyPi
Package: axonclient
Python Client for Axon ServerThis package provides a Python client forAxon Server.InstallationUse pip to install the stable distribution from the Python Package Index.$ pip install axonserverPlease note, it is recommended to install Python packages into a Python virtual environment.Getting startedStart anAxon Server.$ docker run -d --name my-axon-server -p 8024:8024 -p 8124:8124 axoniq/axonserver axonserverConstruct theAxonClientclass with aurithat includes the host and port of your Axon Server.fromaxonclient.clientimportAxonClientaxon_client=AxonClient(uri='localhost:8024')Call client methods to append and list events in Axon Server.See thePython eventsourcing extension project for Axon Serverfor an example of use.DevelopersAfter cloning the axonclient repository, set up a virtual
environment and install dependencies by running the following command in the
root folder.$ make installThemake installcommand uses the build tool Poetry to create a dedicated
Python virtual environment for this project, and installs popular development
dependencies such as Black, isort and pytest.Add tests in./tests. Add code in./axonclient.Run tests.$ make testCheck the formatting of the code.$ make lintReformat the code.$ make fmtAdd dependencies inpyproject.tomland then update installed packages.$ make update-packages
Package: axon-serve
AxonServeSimple package for ML Model serving with gRPCInstallation$pipinstallaxon_serveUsageServerfromaxon_serveimportPredictionService,GRPCService# implement PredictionService classclassTestPredictionService(PredictionService):def__init__(self)super().__init__()# override predict method with your custom prediction logic# model_input and return values must be numpy arrays# params is a dict with optional kwargs for modeldefpredict(self,model_input,params):print("model_input: ",model_input.shape)print("params: ",params)returnmodel_inputif__name__=="__main__":# instantiate your prediction servicetest_prediction_service=TestPredictionService()# register it with GRPCService providing the portservice=GRPCService(test_prediction_service,port=5005)# start the serverservice.start()Clientfromaxon_serveimportModelServeClient# instantiate the client providing host and portserve_client=ModelServeClient(host="localhost",port=5005)model_input=np.array([1,2,3])params={"test_param":true}# call predict method to send request to serverresult=serve_client.predict(model_input,params)print(result.shape)TODOsadd testsadd support for secure channelsadd support for arbitrary tensor serialization
Package: axon-velocity
Axon velocityGraph-based algorithm to reconstruct axonal branches and compute velocities from extracellular
multi-electrode array (MEA) recordings in Python.InstallationTo install theaxon_velocitypackage, you can clone the repo and install using pip:pipinstallaxon_velocityTo install from sources:gitclonehttps://github.com/alejoe91/axon_velocity.gitcdaxon_velocity
pythonsetup.pyinstall(ordevelop)Requirementsaxon_velocitydepends on the following packages, which are automatically installednumpymatplotlibscipynetworkxsklearnMEAutilityprobeinterfaceFor the simulation notebooks in thesimulation_notebooksfolder, additional requirements are needed:NEURONLFPyneuroplotlibAll additional requirements can be installed with:pip install -r requirements_fill.txtUsageThe inputs to the tracking algorithm are:templates: mean extracellular waveforms (n_channels x n_samples)locations: x-y position of electrodes (n_channels x 2)fs: sampling frequency (float)The graph-based method can be run as follows:importaxon_velocityasavgtr=av.compute_graph_propagation_velocity(template=your_template,locations=your_locations,fs=fs)To inspect available arguments, you can useav.compute_graph_propagation_velocity?.The outputgtris an object of a class calledGraphAxonTracking.
It contains the following fields:branches: List of dictionaries containing the following fields:'selected_channels': selected channels in the path'velocity': velocity estimate in mm/s (if locations in um and fs in Hz)'offset': offset of velocity estimate (same units as locations)'r2': r-squared of the velocoty fit'error': standard error of the linear fit'pval': p_value of the fit'distances': array with distances computed along the branch'peak_times': array with peak differences with initial channel'init_channel': channel used as initial channelselected_channels: List of selected channelsgraph: NetworkX directed graphTheGraphAxonTrackingalso implements useful methods for plotting the selected channels
(gtr.plot_channel_selection()), plot the underlying graph (gtr.plot_graph()), plot the selected axonal branches
(gtr.plot_branches()), and plot the estimated velocities for each branch (gtr.plot_velocities()).ContributeContributions are welcome! Before pushing, make sure to clean up all notebooks withnbconvert:pip install nbconvert(just once)jupyter nbconvert --to notebook --ClearOutputPreprocessor.enabled=True --ClearMetadataPreprocessor.enabled=True  --inplace **/*.ipynb(before committing)
Package: axp209
AXP209 is a pmu that is used on quite few Allwinner embeded boards, like C.H.I.P
and Cubietruck.Because currently the sysfs api for AXP209 is in flux I wrote
this library that bypasses the kernel and directly talks to the AXP209 over I2C
bus usingsmbus2library.This library runs on both Python 2.7 and Python 3Installationpip install axp209SMBus bus number/objectThe default SMBus object set in this library is an integer 0. You might need to
change to another integer[like 1] depending on your system, or pass an object.
e.g. axp = AXP209(1) for the Olimex A20-SOM204.Examples>>> from axp209 import AXP209
>>> axp = AXP209()
>>> axp.battery_voltage
4144.8
>>> axp.battery_discharge_current
269.0
>>>Read and print out all the battery status valuesfromaxp209importAXP209axp=AXP209()print("internal_temperature:%.2fC"%axp.internal_temperature)print("battery_exists:%s"%axp.battery_exists)print("battery_charging:%s"%("charging"ifaxp.battery_chargingelse"done"))print("battery_current_direction:%s"%("charging"ifaxp.battery_current_directionelse"discharging"))print("battery_voltage:%.1fmV"%axp.battery_voltage)print("battery_discharge_current:%.1fmA"%axp.battery_discharge_current)print("battery_charge_current:%.1fmA"%axp.battery_charge_current)print("battery_gauge:%d%%"%axp.battery_gauge)axp.close()Blink CHIP status ledfromtimeimportsleepfromaxp209importAXP209withAXP209()asaxp:whileTrue:axp.gpio2_output=Falsesleep(1)axp.gpio2_output=Truesleep(1)There is also a commandline utility than you can use after installing itroot@sumochip1:~# axp209
internal_temperature: 67.00C
battery_exists: True
battery_charging: charging
battery_current_direction: discharging
battery_voltage: 3974.3mV
battery_discharge_current: 0.0mA
battery_charge_current: 0.0mA
battery_gauge: 76%
root@sumochip1:~#
Package: axsemantics-sphinx-theme
This is a fork of thesphinx_rtd_theme <https://sphinx-rtd-theme.readthedocs.io/en/latest/index.html>byreadthedocs.org. It removes a lot of styling and all javascript, and adds a configuration option
to include a header row with links.InstallingThe theme is distributed onPyPIand can be installed with pip:pip install axsemantics_sphinx_themeConfigurationtbdRelease workflowReleasing a new version requires the developer to bump the version in__init__.py, commit and tag the changes, and then run:$ rm -rf dist/
$ python setup.py sdist bdist_wheel
$ twine upload dist/*
Package: axterdb
AxterDB is a modern, easy to use, feature-rich, and async ready API wrapper for AxterDB in Python.Key FeaturesModern Pythonic API usingasyncandawait.Optimised for both speed and memory usage.InstallingPython 3.8 or higher is required# Linux/macOSpython3-mpipinstall-Uaxterdb# Windowspy-3-mpipinstall-UaxterdbTo install the development version, do the following:$gitclonehttps://github.com/AxterDB/wrapper$cdwrapper$python3-mpipinstall-U.or if you do not want to clone the repository:# Linux/macOSpython3-mpipinstallgit+https://github.com/AxterDB/wrapper# Windowspy-3-mpipinstallgit+https://github.com/AxterDB/wrapper
Package: axtriaalator
axtriaalatoraxtriaalator is a Python package that provides various machine learning algorithms for natural language processing tasks.InstallationYou can install axtriaalator using pip:pipinstallaxtriaalator


Usage
Onceinstalled,youcanusetheprogramsprovidedbyaxtriaalatorinyourPythonscriptsorfromthecommandline.


Documentation
FordetaileddocumentationonMyModuleanditsprograms,pleasevisitthedocumentationwebsite.

License
ThisprojectislicensedundertheMITLicense-seetheLICENSEfilefordetails.
Package: axuy
axuyMinimalist peer-to-peer first-person shooterGoalsWritten in pure Python and thus be portableEasy to read codebase as well as easy on resourcesGenerative visualsFunctional when possibleP2P communication based on calculatedtrustModularized for the ease of bot scriptingScreenshotsSince axuy's screenshots would look like some kinky abstract art,
I instead document the development progress as short clips on Youtube,listed in reverse chronological order.  If software freedom is concerned,
one may view them using MPV with youtube-dl support.InstallationThe game is still work-in-progress.  Preview releases are available on PyPI
and can be installed for Python 3.6+ viapip install axuyUnless one is on either Windows or macOS, perse would have to
additionally install GLFW version 3.3 (or higher).Axuy can then be launch from the command-line usingaxuy --port=42069 &
axuy --seeder=:42069There is alsoaisampleintoolsas an automated example
with similar command-line interface.For hacking, after having dependenies installed, one may also invoke axuy
from the project's root directory bypython -m axuy --port=42069 &
python -m axuy --seeder=:42069CopyingThis listing is our best-faith, hard-work effort at accurate attribution,
sources, and licenses for everything in Axuy.  If you discover
an asset/contribution that is incorrectly attributed or licensed,
please contact us immediately.  We are happy to do everything we can
to fix or remove the issue.LicenseAxuy's source code and its icon are released under GNUAffero General Public
License version 3or later.  This means if you run a modified program
on a server and let other users communicate with it there, your server must also
allow them to download the source code corresponding to the modified version
running there.Other creative works retain their original licenses as listed below.TexturesTexture Artist---rubberduckLicense:CC0 1.0axuy/assets/wall-*.png(original)3D Art3D Modeler---Čestmír DammerLicense:CC0 1.0axuy/assets/chickenV2.*(original)3D Modeler---Jeremy MitchellLicense:CC0 1.0axuy/assets/rock01.obj(original)
Package: axyloop
NOTE: Please import the library as from axyloop import *
otherwise the library will not work!This is a very simple library by IAmAxY that makes infinite for loop in python
easier, faster and cleaner.
The library lets you to create infinite 4 loops easier and faster and keeps your code clean.
How to use it?
Type axy_loop_help() in your code and you will see all the examples and ussages printed in the terminal / console
Or you can look the examples here:USAGE:
1. axy_loop(action)
2. axy_loop_sleep(sleep_time_in_seconds, action)
3. axy_loop_sleep_fps(fps_amount, action)USAGE EXAMPLES:
1. axy_loop(“Subscribe To IAmAxY On YouTube!”) - to create infinite for loop that will print Subscribe To IAmAxY On YouTube!
2. axy_loop_sleep(5, “Subscribe To IAmAxY On YouTube!”) - to create infinite for loop that will print Subscribe To IAmAxY On YouTube! one every 5 seconds
3. axy_loop_sleep_fps(30, “Subscribe To IAmAxY On YouTube!”) - to create infinite for loop that will print Subscribe To IAmAxY On YouTube! 30 times in 1 secondFollow me:
YouTube -http://axy-youtube.tkSteam -http://axysteam.tkDiscord server -https://dsc.gg/axycontacts:
Gmail -iamaxydev@gmail.comDiscord (might change) - AxY#5945Thanks for installing / using my library!Change Log1 (17/5/2021)First And Probably Last Release
Package: ayab
All Yarns Are BeautifulThis is the GUI interface for AYAB.InstallationLinuxPrerequisitesFor Debian/Ubuntusudo apt-get install python-pip python-qt4 python-devFor openSUSE# openSUSE
sudo zypper install python-pip python-qt4 python-virtualenvAll DistributionsTo be able to communicate with your Arduino, it might be necessary to add the rights for USB communication by adding your user to some groups.sudo usermod -a -G tty [userName]
sudo usermod -a -G dialout [userName]SetupCreate a virtual enviroment (e.g. in $HOME/ayab/) and install ayab withvirtualenv --system-site-packages venv/
source venv/bin/activate
pip install ayabStart ayab withayabNote: If running ayab fails with “IOError: [Errno 13] Permission denied: ‘/usr/local/lib/python2.7/dist-packages/oauthlib-0.6.0-py2.7.egg/EGG-INFO/top_level.txt” or similar, try to change the permissions of the file usingsudo chmod o+r /usr/local/lib/python2.7/dist-packages/oauthlib-0.6.0-py2.7.egg/EGG-INFO/top_level.txtWindowsThe Windows version which is available athttp://ayab-knitting.comhas been packed with py2exe and should not require
any additional dependencies. Just unzip the archive to C:ayab-windows-0.80 and
start ayab.exeDevelopmentTo install the development version you can checkout the git repository. You need Python 2.7 and PyQt from your package manager’s repository.
The other main dependencies are: Pillow >= 2.4, pyserial >= 2.7, fysom >= 1.1 and Yapsy >= 1.10
Move to the software/python/ folder and install the required dependencies.Development Dependencies for Linuxpyqt4-dev-toolsDevelopment Dependencies for WindowsDownload and install Python 2.7.x fromhttps://www.python.org/downloads/windows/Download and install pip fromhttps://pip.pypa.io/en/latest/installing.htmlDownload and install PyQt4 fromhttp://www.riverbankcomputing.co.uk/software/pyqt/downloadRelease Notes0.80 (November 2015)FirmwareAPI v4Added Test ModeAdded Auto-Init functionalityAdded FW Version DefineFixed reset of needles out of active needle areaAdded support for I2C port expander on shield v1.3TH (MCP23008)GUIrequires APIv4Basic visualisation of pattern positionMouse wheel zooming of patternVisualisation of Test Mode dataAuto-Init functionality (no need to click OK several times when starting to knit)Firmware database moved to external JSON fileFix pattern rotation directionFix pattern inversionFix growth of image when rotatingFix unlocking of knit controls after image manipulation0.75 (February 2015)FirmwareFixed Lace carriage support0.7 (February 2015)FirmwareLace carriage supportGUIShowing info about current line numberSome layout fixes (disabling UI elements, …)Starting to knit with the bottom of the imageFixed progressbar in 2 color doublebed modeStart and Stop needle selection like on the machine (orange/green)Infinite Repeat functionalityCancel button added
Package: ayaka
Ayaka - 猫猫，猫猫！ - 0.0.4.7通过ayaka开发多框架下的、多人互动的群聊插件根据py包的导入情况，猜测当前插件工作在哪个机器人框架下，已支持nonebot2(使用onebotv11适配器，借助qqguild_patch同时可适配qqguild)hoshinononebot1也可将其作为console程序离线运行，便于调试直接通过反向ws连接到gocq上文档https://bridgel.github.io/ayaka/安装pip install ayaka作为console程序离线运行pip install ayaka[fastapi]# run.pyimportayaka.adapters.consoleascat# 加载插件# do somethingif__name__=="__main__":cat.run()python run.py直接连接到gocq上pip install ayaka[fastapi]# run2.pyimportayaka.adapters.gocqascat# 加载插件# do somethingif__name__=="__main__":cat.run()python run2.py其他本插件的前身：nonebot_plugin_ayaka
Package: ayaka-games
Ayaka小游戏合集 - 0.4.1开发进度 10/10特别感谢@灯夜大佬的印加宝藏得益于ayaka，本插件可作为如下机器人框架的插件使用nonebot2(使用onebot11适配器)hoshinononebot1也可将其作为console程序离线运行，便于调试文档https://bridgel.github.io/ayaka_games/nb2安装nb plugin install ayaka_games其他本插件的前身：nonebot_plugin_ayaka_games
Package: ayame
Ayame is a component based WSGI framework. It is inspired byApache Wicket,Apache ClickandFlask.RequirementsPython 3.6+setuptoolsWerkzeugsecure-cookieExample Applicationapp.wsgi
app/
    HelloWorld.htmlapp.wsgifromayameimportAyame,Pagefromayame.basicimportLabelclassHelloWorld(Page):def__init__(self):super().__init__()self.add(Label('message','Hello World!'))application=Ayame(__name__)map=application.config['ayame.route.map']map.connect('/',HelloWorld)HelloWorld.html<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"xmlns:ayame="http://hattya.github.io/ayame"><head><title>HelloWorld</title></head><body><payame:id="message">...</p></body></html>LicenseAyame is distributed under the terms of the MIT License.
Package: aya-mixer
mixer09122022mixer2is the version that works.mixer3is for refactoring attempts.mixer2test_many.pyis whether the program lives.it inputsde_chua_tron_091122.htmland output N (4) testsde_da_tron_{id}.htmlwith all the answers written incau_tra_loi.docxnoteslibre to save docx as html (not export) (to preserve all the images of equations and subscripts)python to mix and output the tests (in html) with its answers (docx)libre writer to save html as docx, then export to pdf to preserve all the imagesinput needs to be formatted in a particular way (as inde_chua_tron_091122.docxcode logicinputhtmland read into aBeautifulSoupdocumentget the questions into an array.shufflethe array N timestraverse the question array with aforloop: process the question along the way (add bold title, pack images, shuffle answers)output to 4htmlfiles, output the answers to one file (with timestamp and testID)further considerationquestions with answers are tabulated or not. and are html tags which can be stored in a database for further web app development.testtest
Package: ayanatest
ayanatestUnder construction! Not ready for use yet! Currently experimenting and planning!Developed by Florian Dedov from NeuralNine (c) 2020Examples of How To Use (Buggy Alpha Version)Creating A ServerfromayanatestimportStreamingServerserver=StreamingServer('127.0.0.1',9999)server.start_server()# Other Code# When You Are Doneserver.stop_server()Creating A ClientfromayanatestimportCameraClientfromayanatestimportVideoClientfromayanatestimportScreenShareClient# Choose Oneclient1=CameraClient('127.0.0.1',9999)client2=VideoClient('127.0.0.1',9999,'video.mp4')client3=ScreenShareClient('127.0.0.1',9999)client1.start_stream()client2.start_stream()client3.start_stream()Check out:https://www.youtube.com/c/NeuralNine
Package: ayd
# aydayd generates Azkaban Flow based on Azkaban YAML DSL.##PrerequisitesPython 2.7##Required Python Libraries* cliff* PyYAML##Install```pip install ayd```Usage----------* aaa.yaml```foo:type: commandcommand: echo "foo"retries: 1retry.backoff: 300000bar:type: commandcommand: echo "bar"dependencies: fooretries: 1retry.backoff: 300000hoge:type: commanddependencies: foocommand: echo "hoge"command.1: echo "hoge1"retries: 2retry.backoff: 30000piyo:type: commanddependencies: bar, hogecommand: echo "piyo"retries: 1retry.backoff: 300000```* execute```ayd generateFlow --flowyaml aaa.yaml --outputdir aaa```then, Azkaban Flow is generated.If you archive aaa directory and upload aaa.zip, Azkaban Flow is the following.![ayd](screenshot/azkaban_job.png)* migrateIf you want to migrate Azkaban Job File, use migrate```ayd migrate --jobdir azkaban_job_dir --outputyaml aaa.yaml```