Saravanan666/pypi-org huggingface dataset:
Package: axessy
Axessy is a simple package to read and parse messages from AXESS TMC X3 devices.ChangeLog0.4: Added gate error messages and events (directions); added system error messages0.3: Fixed message() method0.1: First releaseInstallationThere are two ways to install the package:Using pip with the following command:pip install axessyStart setup.py file from this repository:python setup.py installUsageYou can import the module in the following way:import axessy.axessyIn this package there is the “AxessPackage” class defined with the following methods:parsePacket(params): “params” includes the GET parameters sent via an “/online” or “/batch” command from the device, and stores the data inside the class variables;message(msg, beep=100, show=2): builds a string that you can put inside an HttpResponse to send back to the device;sendKeepAlive(url, username, password): asks the device to send a keepalive message.Also the “AxessPackage().ack” and “AxessPackage().keepalive” variables are defined for string responses to “/batch” and “/keepalive” commands.A dictionary with all possible errors saved into a transaction, “AxessPackage().error_dict”, is defined and automatically used by “parsePacket” method.Finally there are two new Error classes used by the “checkPacket()” method (this method is used by “parsePacket” automatically):MacAddressErrorCardError
Package: axew
AxewA set of python bindings forArcanefeaturing sane error handling and caching to reduce requests.fromaxewimportAxewClient,Entrydefmain():client:AxewClient=AxewClient()entry:Entry=client.create_paste(code="Testing",error="My error",name="My code",description="It does this and that.")print(entry.resolve_url())# Returns the cached entry and saves making a requestcached_entry=client.get_paste(entry.slug)print(cached_entry)asyncdefasync_main():client:AxewClient=AxewClient()entry:Entry=awaitclient.async_create_paste(code="Async testing",error="My error")print(entry.resolve_url())# Returns the cached entry and saves making a requestcached_entry=awaitclient.async_get_paste(entry.slug)print(cached_entry)
Package: ax-generate-banner
AX Banner GeneratorUsagepipinstallax-generate-banner--upgradeThen:fromax_generate_banner.generateimportGenerateif__name__=='__main__':generate=Generate(left_image='image-left.jpg',right_image=['img1.png','image-right.png'],text_header=["BEDS","FLOORS","SQ.FT"],text_data=["3","43","4863"],residence_title='Rukan Residences',font='alethiapro-regular.otf')generate.save('result.jpg')
Package: axia
The axia package provides an implementation of an extension  of
the Shifted-Beta-Geometric model by P. Fader & B. Hardie [1] to individuals in
contractual settings with multiple predictor variables.Axia offers a survival analysis like approach to modeling the
behaviour of individuals in contractual settings. Given a set of features, ages
and status (alive or dead), this package builds on top of the model developed
by P. Fader & B. Hardie [1], to infer hazard curves, retention curves and
discounted-life-time-value.Head over to the examples folder to learn how to use axia.Installationpip3installaxiaDependenciesnumpy~=1.21.3scipy~=1.7.1pandas~=1.3.4References"HOW TO PROJECT CUSTOMER RETENTION", P. Fader & B. Hardie"Customer-Base Valudation in a Contractual Setting: The Perils of Ignoring
Heterogeneity", P. Fader & B. Hardie
Package: axia-pathfinder-client
axia-pathfinder-clientThis is an early start at writing a python client/sdk for the the telnet based API onAxia Pathfindersoftware/appliances from theTelos Alliance.Currently it is more a proof of concept rather than anything ready for production. We have plans to integrate it with our currentsongticker glue code.Please raise anissueif you would like to collaborate withRadio Bern RaBeon this python/pathfinder integration effort. We plan on primarily focusing this library on our needs but contributions are always welcome and we would be happy to accomodate you!Featurespartially implements the "SAPv2" protocol as described in thepathfinder manualonly "LOGIN", "GET" and "SUB" operators are currently supported"INDI" responses to "GET" requests get parsed and returned in a timeout governed timeout fashionAlso works with xNode Telnet interfacesGPO responses to "GPO" requests are currently parsedUses a PEG-style parser-combinator based onparsyto parse responses from the telnet interfacesContributingPlease let us know what you would like to contribute before you get invested! This is really a proof of concept at this stage.Developmentpython-mvenvvenv
.venv/bin/activate

pipinstallpoetry

poetryinstallpre-commit hookpipinstallpre-commit
pre-commitrun-aTestingpoetryrunpytest
Package: axie-utils
Axie Utils LibraryAim of this library is to contain all the actions one might want to do when building tools around the Axie Infinity videogame. It started with me building an automation tool and needing to build different solutions. Extracting this functionality allows for that easily.NOTE: Only v1 of this library uses free tx, from v2 and onwards all transactions consume RON. That is due to now free tx being much more rare to have available.InstallationInstall and update using pip:pip install -U axie-utilsSimple ExampleThis example would send 100 SLP fromronin:from_where_to_send_SLPtoronin:to_where_we_send_SLP.fromaxie_utilsimportPaymentp=Payment("Testing Account","ronin:from_where_to_send_SLP","0x:private_key_from_the_from_acc","ronin:to_where_we_send_SLP",100)p.execute()This example, shows how we would claim SLP from an account.fromaxie_utilsimportClaimc=Claim("Testing Account","ronin:acc_to_claim","0x:private_key_from_acc_to_claim")c.execute()DocumentationFor furhter documentation, please visit thislink.
Package: axigen-api
Axigen is an integrated email, calendaring & collaboration platform built on
Linux and other open source technologies.It provides API for 3rd party apps automatization of processes, but pitfully
Axigen’s parent company provides library only for PHP usage.Due to requirements of one of the clients we have written the API library
for managing Axigen resources from Python code.WarningThis is anincompleteAPI implementation. If you require more Axigen
functionality implemented, you can either contact me to extend this API
for your needs (our client needed only the features given in this code),
or you feel free to extend the library yourself.
Package: axio2zarr
AXIO to Zarr converterConvert AXIOSCAN dataset to Zarr.NOTE: only those AXIOSCAN datasets with SCMYX dimensions where S=1 are supported at the moment.Installpip install axio2zarrRequirementsaicspylibcziclickdasknumpyxarrayzarrayUsageFrom Python scriptfrom axio2zarr import axio2zarr

axio2zarr(input_path, output_path)From command lineaxio2zarr input_path output_path
Package: axiom
Divmod Axiom is an object database, or alternatively, an object-relational
mapper, implemented on top of Python.Note: Axiom currently supports only SQLite and does NOT have any features
for dealing with concurrency.  We do plan to add some later, and perhaps
also support other databases in the future.Its primary goal is to provide an object-oriented layer with what we consider
to be the key aspects of OO, i.e. polymorphism and message dispatch, without
hindering the power of an RDBMS.Axiom is a live database, not only an SQL generation tool: it includes an
implementation of a scheduler service, external file references, automatic
upgraders, robust failure handling, and Twisted integration.Axiom is tightly integrated with Twisted, and can store, start, and stop
Twisted services directly from the database using the included ‘axiomatic’
command-line tool.
Package: axiomathbf
Axiomathbf is a Mathematical Aid package for Multivariate Calculus, used mainly for Jupyter Notebook due to outputs mainly are in Latex. But users can solve Multivariate Calculus problems using any Python environment. Axiomathbf can find the relative and absolute extrema of a function to calculating the gradient and directional derivative of a function.I decided to create Axiomathbf when I began Math 200 at Drexel University in the winter. As a freshman, I wanted to implement what I learned from my CS courses. And math was what started my CS journey when I first programmed my TI-84.Table of ContentTechnologies UsedInstallationHow Does it Work?User ManualFurther GoalsLicenseTechnologies UsedPythonSympy- A computer algebra system written in pure PythonJupyter Notebook- an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative textInstallationgitclonegit@github.com:ow-wow-wang/axiomathbf.gitpipinstall-rrequirements.txtHow Does it Work?For each module, I created a class related to the topic of the chapters, like creating the VectorFunction class to solve vector-related problems in chapters 11-12 in the Calculus Early Transcendentals textbook, which talk about Three-Dimensions Space, Vectors, and Vector-Valued Functions.I mainly used Sympy to derive, integrate, and other operations to solve these problemsI also used OOP-design, as it allows me to write more clean codeDocumentationFind the documentation athttps://aowangphilly.github.io/axiomathbfto learn how to use AxiomathbfFurther GoalsI hope to create a Flask web application, so people who aren't familiar with programming can still solve MV problemsI also want to create an mobile app that solves Linear Algebra problems using Sympy and OpenCVLicenseMIT
Package: axiom-logger
axiom_loggerPython logging handler for the Axiom service (https://axiom.co/)Installationpip install axiom-loggerUsageThe handler overwrites the standard python Handler class from the logging module.
As such it can be used in the same way as any other handler.When instanciating the handler, you must pass the following arguments:AXIOM_DATASET: The name of the dataset you want to push logs toAXIOM_API_KEY: The API key for your Axiom accountimportloggingimportosfromaxiom_loggerimportAxiomHandlerlogger=logging.getLogger(__name__)logger.setLevel(logging.INFO)ah=AxiomHandler(os.environ.get('AXIOM_DATASET','test'),os.environ.get('AXIOM_API_TOKEN','xxxx-api-key-xxxx'))ah.setLevel(logging.DEBUG)# create formatter and add it to the handlersformatter=logging.Formatter('%(asctime)s-%(name)s-%(levelname)s-%(message)s')ah.setFormatter(formatter)# add the handlers to loggerlogger.addHandler(ah)Configuration optionsThe axiom logger provides some configuration options to customize the behaviour of the handler.
While instantiating the handler the following additional parameters can be passedapi_url: String representing the URL of the Axiom API. Defaults tohttps://api.axiom.co/v1/datasetsmode: Either one of ['elapsed_time' | 'log_count']. Defaults to 'elapsed time'. Customizes the behaviour of the
logger to send records everyelapsed_timeseconds or everylog_countrecords.elapsed_time: Float representing the number of seconds to wait before sending records to Axiom. Defaults to 10.log_count: Integer representing the number of records to wait before sending records to Axiom. Defaults to 5.To send a log to the Axiom service each time a record is emitted (sync procedure) the following configuration can be used:AxiomHandler(os.environ.get('AXIOM_DATASET','test'),os.environ.get('AXIOM_API_TOKEN',None),mode='log_count',log_count=1)WARNING:If an async procedure is used an unexpected shutdown of the application may result in the loss of
the logs contained in the record pool of the handler.NOTE:If the procedure used to send logs to Axiom fails for any reason, the handler will issue a system warning
stating the error occurred with the Axiom backend, and will also print the log records that failed to be sent.Django integrationSince the handler is a standard python logging handler, it can be used in any python application.
A worth mentioning example is the integration with Django.To use the handler in a Django application, the following configuration can be used:LOGGING={'version':1,'disable_existing_loggers':False,'handlers':{'axiom':{'class':'axiom_logger.AxiomHandler','dataset':os.getenv('AXIOM_DATASET','dataset-name'),'api_token':os.getenv('AXIOM_API_KEY',None)}},'root':{'handlers':['axiom'],'level':'WARNING',},'loggers':{'django':{'handlers':['axiom'],'level':os.getenv('DJANGO_LOG_LEVEL','INFO'),'propagate':False,},},}
Package: axioms-drf-py
axioms-drf-pyAxiomsPython client for Django Rest Framework (DRF). Secure your DRF APIs using Axioms Authentication and Authorization.PrerequisitePython 3.7+AnAxiomsclient which can obtain access token after user's authentication and authorization and include obtained access token as bearer inAuthorizationheader of all API request sent to Python/Django/DRF application server.Install SDKInstallaxioms-drf-pyin you DRF API project,pip install axioms-drf-pyDocumentationSeedocumentationforaxioms-drf-py.DRF SampleTo see a complete working example downloadDRF samplefrom our Github repository or simply deploy to Heroku by clicking following button. You will need to provide Axioms domain and Axioms audience to complete deployment.
Package: axioms-flask-py
axioms-flask-pyAxiomsPython client for Flask. Secure your Flask APIs using Axioms Authentication and Authorization.PrerequisitePython 3.7+AnAxiomsclient which can obtain access token after user's authentication and authorization and include obtained access token as bearer inAuthorizationheader of all API request sent to Python/Flask application server..Install SDKInstallaxioms-flask-pyin you Flask API project,pip install axioms-flask-pyDocumentationSeedocumentationaxioms-flask-py.Flask SampleTo see a complete working example downloadFlask samplefrom our Github repository or simply deploy to heroku by clicking following button. You will need to provide Axioms domain and Axioms audience to complete deployment.
Package: axion-tensorflow
IntroductionThis is an implementation of axion for TensorFlow >=2.2.Current version provides quantized conv2d & dense layer. More layers are about to come.Installing & UsageTo install current release:pip install axion-tensorflowTo use axion layer in your model, doimport axion_tensorflow as axionThen you can useaxion.layers.Conv2D&axion.layers.Dense
Package: axiprop
AxipropA simple tool to compute optical propagation, based on the discrete Hankel and
Fourier transformsContentsThis library contains methods and convenience tools to model propagation of the 3D optical
field. Computations can be done using a number of backends:NumPy(CPU) optionally enhanced viamkl_fftorpyfftwCuPyforGPUcalculations via Nvidia CUDA APIArrayFireforGPUcalculations via CUDA or OpenCL APIsPyOpenCLforGPUcalculations via OpenCL APICurrently methods include:PropagatorSymmetric: cylindical axisymmetric propagator with the symmetric DHT proposed in
[M. Guizar-Sicairos, J.C. Gutiérrez-Vega, JOSAA 21, 53 (2004)]PropagatorResampling: cylindical axisymmetric propagator with a more generic DHT which allows for arbitrary
sampling of radial axis [K. Oubrerie, I.A. Andriyash et al, J. Opt. 24, 045503 (2022)]PropagatorFFT2: fully 3D FFT-based propagatorUsageConsider a laser,k0=2*np.pi/0.8e-6# 800 nm wavelengthtau=35e-15/(2*np.log(2))**0.5# 35 fs FWHM durationR_las=10e-3# 10 mm radiusdeffu_laser(kz,r):"""Gaussian spot with the Gaussian temporal profile"""profile_r=np.exp(-(r/R_las)**2)profile_kz=np.exp(-((kz-k0)*c*tau/2)**2)returnprofile_r*profile_kzand some focusing optics,f_N=40# f-number f/40f0=2*R_las*f_N# focal lengthDefine the propagator,prop=PropagatorSymmetric((Rmax,Nr),(k0,L_kz,Nkz),Nr_end)and setup the laser reflected from the focusing mirrorA0=laser_from_fu(fu_laser,prop.kz,prop.r)A0=A0*mirror_parabolic(f0,prop.kz,prop.r)UseAXIPROPto compute the field after propagation ofdzdistance
(e.g.dz=f0for field at focus):A0=prop.step(A0,f0)or evaluate it atNstepsalong someDistancearound the focus,dz=Distance/Nstepszsteps=Nsteps*[dz,]zsteps[0]=f0-Distance/2A_multi=prop.steps(A0,zsteps)Plot the results using your favorite toolsFor more info checkout the example notebooks forradialandcartesiancases, and also look for methods documentation.InstallationInstallaxipropby cloning the sourcegitclonehttps://github.com/hightower8083/axiprop.gitcdaxiprop
pythonsetup.pyinstallor directly via PiPypipinstallgit+https://github.com/hightower8083/axiprop.gitAdditional requirementsNote that, while base backendNPrequires only NumPy and SciPy, other
backends have specific dependencies:NP_MKL:mkl_fftNP_FFTW:pyfftwCU:cupyCL:pyopenclandreiknaAF:ArrayFireandarrayfire-pythonOptional enhancements of utilities are achieved ifNumbais installed.
Package: axirunner
AxiRunnerMake synthetic seismograms usingAxitra. The easy way™.(c) 2020-2021 Claudio SatrianoInstallationClone or download this repository, then from within the main repository directory, run:pip install .You can also install in editable mode (for developers), with:pip install -e .RunningTo generate a sample set of config files:axirunner -sThe sample config files should be (hopefully) self-explanatory.To run, using a config file:axirunner -c <CONFIGFILE>To get help:axirunner -hLimitationsOnly the "moment" version of Axitra is currently supported and only for
double-couple sources.Getting AxitraTake a lookhere.Citing AxitraIf you used this package or the original Axitra for a scientific publication,
please cite the following paper:Cotton, F., & Coutant, O. (1997). Dynamic stress variations due to shear
faults in a plane-layered medium. Geophysical Journal International,
128(3), 676–688, doi:10.1111/j.1365-246x.1997.tb05328.x.
Package: axisCalculator
Robot-Kinematics
This library contains functions that will help you about robotics kinematicsJacobian Matrix
The Jacobian matrix is a matrix that composes the first-order partial derivatives of a multivariable function. The joints of the robot move with certain velocities then we might want to know with what velocity the endeffector would move. Here is where Jacobian comes to our help.Robotic ManipÃ¼latÃ¶r with 2 axis
This function help to calculate Velocity Kinematics of 2 axis robots.Homogenous Matrix
A system of linear equations having matrix form AX = O, where O represents a zero column matrix, is called a homogeneous system.In this project, rotation of homogeneous matrices was performed.Change Log0.0.1 (19/04/2023)First Release
Package: axisem3Dshapes
AxiSEM3D_shapesAuthor: Will Eaton, Princeton University 2021Last modified: April 12th 2022Contact:weaton@princeton.eduShort description:A small repo containing scripts to inject shapes such as ellipsoids, slabs and cylinders into 3D cartesian models for use in AxiSEM3D.Overview:Full documentation can be found ... . If you have any questions please open an issue or contact me via email.Three classes provide the functionality of this package:Modelis used to create a background cartesian grid into which shapes can be added. This can represent the entire domain you are simulating, or a subset of it. It holds, among other things, three arraysVP,VSandRHOwhich eventually stored in NetCDF files for AxiSEM-3D to read.Shapeis an abstract base class. Subclasses of this (e.g.EllipsoidorCylinder) can be instantiated and injected into the model arrays (e.g.VP) using anInjectorobjectInjectorare instantiated by passing in aModelobject, and are used to injectShapeobjects into theModelarrays.Shapes can be created with dimensions and orientation specified by the user. Originally these codes were just written for injecting spheres. As such, the position of shapes is located by a central point of the shape, rather than an edge. I may add more flexibility for this in the future.I recommend viewing your generated models in Paraview to check everything has worked, before running simulations.Still to do:Complete testing of all scriptsGlobal (spherical) wrapper for use in non-cartesian Axisem-3D.Parallel grid searches for shape construction?
Package: axisproj
AxisProjAxis-Aligned Decomposition of Linear ProjectionsInstallationpip install axisprojFrom source:pip install -e .orpython setup.pyUsagefrom axisproj import LPPObjective, optiomal

objective = LPPObjective(knn=12,sigma=0.3)
lp, ap = optimal(X, objective)Three linear projection objectives are defined inaxisproj.objectiveLDEObjectiveLPPObjectivePCAObjectiveoptimal()also accepts an optional histogram function. The default value
is generated using theprecision_recall.histogramfunctor.AcknowledgmentThis package is a rewrite of the LLNL code described in"Exploring High-Dimensional Structure via Axis-Aligned Decomposition of Linear Projections
Linear Axis-Aligned", J. J. Thiagarajan, S. Liu, K. N. Ramamurthy and P.-T. Bremer, EuroVis 2018
Package: axju
This small project help me, to automate boring stuff. It started with deploying
django, but where will coming more. HopefullyInstallpip install axjuFunctionsaxju
axju-djangoDevelopmentClone repo:git clone https://github.com/axju/axju.gitCreate virtual environment and update dev-tools:python3 -m venv venv
source venv/bin/activate
pip install --upgrade wheel pip setuptools twine toxInstall local:pip install -e .Run some tests:tox
python setup.py testMake the documentation:docs/make.bat htmlPublish the packages:python setup.py sdist bdist_wheel
twine upload dist/*
Package: axju-jokes
Jokes for python.I was really sad, no package called joke. So I decided to create one, really
fast. This package have some functions, that return some jokes, quotes or facts.
If you are sad, use the joke packages. :)Installpip install axju-jokesCommand lineYou can exit the function from the command line. There are two entry points:$joke$python-mjokeWith no arguments, it will return a random joke, quote or fact. You can set one
specifically API. For example some cat facts:$jokecatUse help to see the possible API’s:$joke--helpExamplesSome jokes examplesfromjoke.jokesimport*# This will import all joke-functions (geek, icanhazdad, chucknorris, icndb)# Now you can use them to get some jokes.# For example you can display 10 Chuck Norris jokes.foriinrange(10):print(chucknorris())# Or get a random joke-function.fromrandomimportchoiceprint(choice([geek,icanhazdad,chucknorris,icndb])())Some quotes examplesfromjoke.quotesimport*# get a quote from quotesondesign.comprint(quotesondesign())# you can get more then one with one requestforquoteinquotesondesign(5):print(quote)# and you can get the datadata=quotesondesign(format='data')print(data['quote'])print(data['author'])# get quote from stormconsultancy.co.ukprint(stormconsultancy())# You can set the ID to get a specific quoteprint(stormconsultancy(id=2))# the stormconsultancy-function give you also the datadata=stormconsultancy(id=2,format='data')print(data['quote'])print(data['author'])Check also the example folder.Import Easter Egg>>> import joke.eggs
Chuck Norris has to register every part of his body as a separate lethal weapon.
His spleen is considered a concealed weapon in over 50 states.API’sTo get the jokes, I use some open API’s. If you know some missing API’s, please
contact me. Until now, the following API’s are used.https://geek-jokes.sameerkumar.website/apihttps://icanhazdadjoke.com/https://api.chucknorris.io/jokes/randomhttp://api.icndb.com/jokes/random/http://quotesondesign.com/wp-json/postshttp://quotes.stormconsultancy.co.ukhttps://cat-fact.herokuapp.com/facts/randomDevelopmentClone repo:git clone https://github.com/axju/joke.gitCreate virtual environment for Linux:python3 -m venv venv
source venv/bin/activateCreate virtual environment for Windows:python -m venv venv
.\venv\Scripts\activateUpdate dev-tools:python -m pip install --upgrade wheel pip setuptools twine tox flake8Install local:python setup.py developRun some tests:tox
python -m unittest discover
python setup.py testPublish the packages:git tag -a 1.0.3 -m '1.0.3'
git push origin 1.0.3
python setup.py --version
python setup.py check
python setup.py sdist bdist_wheel
twine upload dist/*