Saravanan666/pypi-org huggingface dataset:
Package: aesthema
AesthemaAesthema provides modern & visually appealing colormaps for Matplotlib.Matplotlib is a great package for visualizations, but we've all been there when you start creating your own colormaps because the default ones look not really appealing or you need to stick to your already existing theme.
This is where this small package comes into play. Instead of creating your own colormaps all the time, you can use the provided colormaps or you can also easily create your own colormaps either by using the provided colors or any RGB color.Currently available colors:Currently available colormaps:QuickstartYou can install the package usingpip:pip install aesthemaLet's take a look at some examples:importnumpyasnpimportmatplotlib.pyplotaspltfromaesthemaimportuse_colormapuse_colormap()x=np.linspace(0,2*np.pi,100)plt.figure()plt.plot(x,np.sin(x))plt.plot(x,np.cos(x))plt.plot(x,np.sin(x+np.pi/4))plt.plot(x,np.cos(x+np.pi/4))plt.plot(x,np.sin(2*x))plt.plot(x,np.cos(2*x))plt.title("Sine and Cosine")plt.xlabel("x")plt.ylabel("Amplitude")plt.show()In this example, we use the default colormap. If you want to use a different colormap, just specify it when callinguse_colormap, e.g.:fromaesthemaimportuse_colormap,Colormapsuse_colormap(Colormaps.PASTEL)You can also create your own custom colormap using either the colors provided in this package or any RGB color:fromaesthemaimportcreate_colormap,use_colormap,Colorsmy_colormap=create_colormap([Colors.RED,Colors.ORANGE,Colors.LEMON,(141,215,127),Colors.LIGHT_OCEAN,(47,72,88)])use_colormap(my_colormap)ContributingYou created a nice colormap that you want to share with others? Awesome! Create a pull request and we will add it.
Package: aesthetic
a e s t h e t i cStyle-related tools that I re-use across projects in astronomy.Most relevant are the style sheets, which produce default plots as in the/results/directory.installOption 1:pip install aestheticOption 2: Clone +python setup.py installfrom the repo. (or develop!)contentsaesthetic.plotset_styleset_style_scattersavefigformat_axaesthetic.paperabbreviate_the_bibliographyusage examplesfor plot styles, see thetest driver.
the general syntax follows:from aesthetic.plot import set_style
set_style("science")set_style("clean")
Package: aesthetic-art
Aesthetic ASCIIGenerateA E S T H E T I CASCII art.InstructionsInstall:pip install aesthetic-artGenerate an aesthetic ASCII visual:fromaesthetic_artimportsynthesize# initialize drive object (to generate visuals)drive=synthesize.Drive()# generate a ASCII visual (dark_mode optional)drive.generate(dark_mode=True)# save to pngdrive.to_png('aesthetic.png')Ride the space skyway home to 80s Miami
Package: aesthetic-ascii
Aesthetic ASCIIGenerateA E S T H E T I CASCII art.InstructionsInstall:pip install aesthetic-asciiGenerate an aesthetic ASCII visual:fromaesthetic_asciiimportsynthesize# initialize drive object (to generate visuals)drive=synthesize.Drive()# generate a ASCII visual (dark_mode optional)drive.generate(dark_mode=True)# save to pngdrive.to_png('aesthetic.png')Ride the space skyway home to 80s Miami
Package: aesthetic-asciihammer
Aesthetic ASCIIGenerateA E S T H E T I CASCII art.InstructionsInstall:pip install aesthetic-asciiGenerate an aesthetic ASCII visual:fromaesthetic_asciiimportsynthesize# initialize drive object (to generate visuals)drive=synthesize.Drive()# generate a ASCII visual (dark_mode optional)drive.generate(dark_mode=True)# save to pngdrive.to_png('aesthetic.png')Ride the space skyway home to 80s Miami
Package: aesthetic-predictor
aesthetic-predictorAbstractA python package of aesthetic quality of pictures a.k.aaesthic-predictor.
See details:https://github.com/LAION-AI/aesthetic-predictorInstallationpipinstallaesthetic_predictorHow to usefromaesthetic_predictorimportpredict_aestheticfromPILimportImageprint(predict_aesthetic(Image.open("path/to/image")))
Package: aesthetic-text
Aesthetic TEXTGive a beautiful look of your text in the terminal.link to access to the pypi page :https://pypi.org/project/aesthetic-text/0.2.0/Installation$pipinstallaesthetic_textUsagefromaesthetic_textimportaesthetic_textasaesthetic# print a text with a style# style: bold, italic, underline, strikethrough, reverse, conceal, crossedprint(f"{aesthetic.style.bold}{aesthetic.style.underline}"+"Hello World"+f"{aesthetic.reset}")# print a text with a color# colors: black, red, green, yellow, blue, magenta, cyan, white...print(f"{aesthetic.color.red}"+"Hello World"+f"{aesthetic.reset}")# print a text with style and colorprint(f"{aesthetic.style.bold}{aesthetic.color.red}"+"Hello World"+f"{aesthetic.reset}# print a text with iconprint(f"{aesthetic.icon.check}"+"the task has been completed successfully"+f"{aesthetic.reset}")
Package: aesthetix
AesthetixThis is a python package which facilitates aesthetics in output when using custom training pipelines in machine learning.Usage Exampleimporttimeimportaesthetixasatcost=3000acc=0.9foriinrange(1000):at.progress_bar("Progress",i,1000,num_bars=40,output_vals={"Cost":cost,"Accuracy":acc})cost/=3acc*=1.001time.sleep(0.01)OutputProgress:[========================================](100.00%)  Cost : 0.00 Accuracy : 2.44
Package: aestoolbox
AES-ToolboxAn AES Toolbox for computing Rijndael key schedule given a 128, 192, or 256-bit key.Documentation:https://aestoolbox.readthedocs.io.Github:https://github.com/emdneto/aestoolbox.FeaturesEncryption/Decryption Key SchedulingAES Encrypt/Decrypt (work in progress)InstallationStable release via pipTo install AES-Toolbox, run this command in your terminal:$pipinstallaestoolboxIf you don’t havepipinstalled, thisPython installation guidecan guide
you through the process.Using AES-ToolboxUsage (via CLI)$aes-schedule[-h][-v][-i]key$aes-schedule0x0101010102020202030303030404040-i-vThe above command should output:{'xk':{0:'0x01010101020202020303030304040404',1:'0xf2f3f3f3f0f1f1f1f3f2f2f2f7f6f6f6',2:'0xb2b1b19b4240406ab1b2b2984644446e',3:'0xadaa2ec1efea6eab5e58dc33181c985d',4:'0x39ec626cd6060cc7885ed0f4904248a9',5:'0x05beb10cd3b8bdcb5be66d3fcba42596',6:'0x6c812113bf399cd8e4dff1e72f7bd471',7:'0x0dc98206b2f01ede562fef3979543b48',8:'0xad2bd0b01fdbce6e49f4215730a01a1f',9:'0x568910b44952deda00a6ff8d3006e592',10:'0x0f505fb04602816a46a47ee776a29b75'},'xki':{0:'0x01010101020202020303030304040404',1:'0xfdfafef8fff8fcfafcfbfff9f8fffbfd',2:'0xc263931b3d9b6fe1c1609018399f6be5',3:'0x70e738474d7c57a68c1cc7beb583ac5b',4:'0xa68450a9ebf8070f67e4c0b1d2676cea',5:'0xb86800d6539007d93474c768e613ab82',6:'0xffd917eeac491037983dd75f7e2e7cdd',7:'0xe238ed774e71fd40d64c2a1fa86256c2',8:'0xc20b68478c7a95075a36bf18f254e9da',9:'0x7edace11f2a05b16a896e40e5ac20dd4',10:'0x0f505fb04602816a46a47ee776a29b75'}}DisclaimerAES-Toolbox implementations should not be used in security software or production environments. The AES-Toolbox is for research purposes.
Package: aestools
aestools check KEYTest for weak AES key when used in Galois Counter Mode with a block size
of 128 bits, as explained in the paper “Cycling Attacks on GCM, GHASH and
Other Polynomial MACs and Hashes”:https://eprint.iacr.org/2011/202.pdfaestools generate BITSGenerate safe key of BITS length which is above a specific strength threshold.
Package: aes-vial
Vial is a simple wrapper for AES CTR mode. You have to set the key toan appropriate length:AES-128bit (16 bytes/characters)
AES-192bit (24 bytes/characters)
AES-256bit (32 bytes/characters)or use a hashing package that’ll provide more security and ease your
pain oftyping exactly the 16, 24 or 32 characters.Usage:import vial

vial = vial.Vial(key)
vial.encrypt(plaintext, output_counter_file)
vial.decrypt(plaintext, output_counter_file)
vial.encrypt_stream(input, output, block_size)
vial.decrypt_stream(input, output, block_size)encrypt(text, counter_path)This function needs as an extra argument a path where you wantthe file with initial Counter value stored. The file is important,you need to use it to decrypt.Returns:encrypted text (bytes)decrypt(text, counter_path)This function needs as an extra argument the path where you savedthe file from Vial.encrypt(). Without this file the text won’t bedecrypted.Returns:decrypted text (bytes)encrypt_stream(input, output, block_size=4096)This function needs as extra arguments only input file and a pathfor the output file. A file with Counter’s initial value will becreated automatically in the same location and with the same name asoutput file.Args:input, output: Expects a file object ( f = open(...) )
block_size (optional): The max block_size to encrypt with the same
                       AES encrypt()Example:vial = Vial(key)
input = open('encrypt_me.png', 'rb')
output = open('im_encrypted.png', 'wb')
vial.encrypt_stream(input, output)
input.close()
output.close()Result:root/
    encrypt_me.png
    im_encrypted.png
    im_encrypted.ctrdecrypt_stream(input, output, block_size=4096)This function needs as extra arguments only input file and a pathfor the output file. The file with Counter’s initial value has to beplaced in the same folder as the input file as the functionautomatically checks for it and gets the value to decrypt it.Args:input, output: Expects a file object ( f = open(...) )
block_size (optional): The max block_size to decrypt with the same
                       AES decrypt()Example:vial = Vial(key)
input = open('im_encrypted.png', 'rb')
output = open('im_decrypted.png', 'wb')
vial.encrypt_stream(input, output)
input.close()
output.close()Result:root/
    im_encrypted.png
    im_encrypted.ctr
    im_decrypted.png
Package: ae-sys-core
sys_core 0.3.23ae namespace module portion sys_core: dynamic system configuration, initialization and connection.installationexecute the following command to install the
ae.sys_core module
in the currently active virtual environment:pipinstallae-sys-coreif you want to contribute to this portion then first forkthe ae_sys_core repository at GitLab.
after that pull it to your machine and finally execute the
following command in the root folder of this repository
(ae_sys_core):pipinstall-e.[dev]the last command will install this module portion, along with the tools you need
to develop and run tests or to extend the portion documentation. to contribute only to the unit tests or to the
documentation of this portion, replace the setup extras keydevin the above command withtestsordocsrespectively.more detailed explanations on how to contribute to this projectare available herenamespace portion documentationinformation on the features and usage of this portion are available atReadTheDocs.
Package: ae-sys-core-sh
sys_core_sh 0.3.6ae namespace module portion sys_core_sh: SiHOT PMS system core xml interface.installationexecute the following command to install the
ae.sys_core_sh module
in the currently active virtual environment:pipinstallae-sys-core-shif you want to contribute to this portion then first forkthe ae_sys_core_sh repository at GitLab.
after that pull it to your machine and finally execute the
following command in the root folder of this repository
(ae_sys_core_sh):pipinstall-e.[dev]the last command will install this module portion, along with the tools you need
to develop and run tests or to extend the portion documentation. to contribute only to the unit tests or to the
documentation of this portion, replace the setup extras keydevin the above command withtestsordocsrespectively.more detailed explanations on how to contribute to this projectare available herenamespace portion documentationinformation on the features and usage of this portion are available atReadTheDocs.
Package: ae-sys-data
sys_data 0.3.11ae namespace module portion sys_data: external system data structures.installationexecute the following command to install the
ae.sys_data module
in the currently active virtual environment:pipinstallae-sys-dataif you want to contribute to this portion then first forkthe ae_sys_data repository at GitLab.
after that pull it to your machine and finally execute the
following command in the root folder of this repository
(ae_sys_data):pipinstall-e.[dev]the last command will install this module portion, along with the tools you need
to develop and run tests or to extend the portion documentation. to contribute only to the unit tests or to the
documentation of this portion, replace the setup extras keydevin the above command withtestsordocsrespectively.more detailed explanations on how to contribute to this projectare available herenamespace portion documentationinformation on the features and usage of this portion are available atReadTheDocs.
Package: ae-sys-data-sh
sys_data_sh 0.3.8ae namespace module portion sys_data_sh: Sihot system data interface.installationexecute the following command to install the
ae.sys_data_sh module
in the currently active virtual environment:pipinstallae-sys-data-shif you want to contribute to this portion then first forkthe ae_sys_data_sh repository at GitLab.
after that pull it to your machine and finally execute the
following command in the root folder of this repository
(ae_sys_data_sh):pipinstall-e.[dev]the last command will install this module portion, along with the tools you need
to develop and run tests or to extend the portion documentation. to contribute only to the unit tests or to the
documentation of this portion, replace the setup extras keydevin the above command withtestsordocsrespectively.more detailed explanations on how to contribute to this projectare available herenamespace portion documentationinformation on the features and usage of this portion are available atReadTheDocs.
Package: aetcd
Installation$python-mpipinstallaetcdBasic usageRunasyncioREPL:$python-masyncioTest the client:importaetcdasyncwithaetcd.Client()asclient:awaitclient.put(b'foo',b'bar')awaitclient.get(b'foo')awaitclient.delete(b'foo')AcknowledgementsThis project is a fork ofetcd3aio, which itself is a fork
ofpython-etcd3.python-etcd3was originally written bykragniz.asynciosuppport
was contributed byhronand based on the previous work bygjcarneiro. Many thanks to all
thepeopleinvolved in the project.
Package: aetcd3
NOTICE: Please useaetcdpackage instead, as this is now a canonical name for the project.aetcd3is now outdated and not maintained anymore.Installation$python3-mpipinstallaetcd3Basic usageimportaetcd3client=aetcd3.client()awaitclient.put('foo','bar')awaitclient.get('foo')awaitclient.delete('foo')AcknowledgementsThis project is a fork ofetcd3aio, which itself is a fork
ofpython-etcd3.python-etcd3was originally written bykragniz.asynciosuppport
was contributed byhronand based on the previous work bygjcarneiro. Kudos to all
the people involved in the project.
Package: aether
# Welcome to AetherThe Aether platform is a system of applications and utilities for developers to rapidly and easily build algorithms
that use satellite and geospatial data. The Aether platform is accessible by REST API and python, but operates
entirely in the cloud using deferred graphs. This allows developers to build and execute applications with processing
abstracted away and minimal data transfer. An important consequence of this design choice is that the same algorithm
code developers use during exploration can be repackaged and deployed as mobile or web applications. These
applications are entirely portable, and can be published to users or other developers through a simple URL key.
In that regard, the Aether platform is an SDK for satellite analytics and framework for mobile end user applications.The platform currently supports search of three publicly available Resources: The LandSat Archive (LandSat 4
through 8), Sentinel-2, and the USDA Cropland Data Layer, a 30m map of the US categorizing the agricultural land use
annually.The platform is designed to rapidly add new data layers, making them available through the same interface. Resources
can be hosted by Aether, or made accessible via owner API, and restricted to a subset of users. The usage of each
Resource and its geographic usage is tracked as well.The Aether platform is designed to allow user-developers to compile and publish their applications as easily as they
prototype, often with the same code. This tutorial demonstrates a developer creating an application that generates
an NDVI map from LandSat imagery for an arbitrary polygon, which does not need to be specified until runtime by
the end user (or mobile device).
Package: aetherling
AetherlingOverviewAetherling is a library for creating statically scheduled, data-parallel pipelines in hardware.
This is the Python backend of Aetherling.
Thefronted is in Haskell.The current overview of Aetherling is:https://github.com/David-Durst/embeddedHaskellAetherling/tree/master/theory.InstallationInstall the following components in the proscribed order:CoreIRHow to install:https://github.com/rdaly525/coreir/blob/master/INSTALL.mdFaultHow to install:gitclonegit@github.com:leonardt/fault.gitcdfaultpipinstall-e.MantleThis is a library of useful Magma components.How to install:https://github.com/phanrahan/mantle#setupgitclonegit@github.com:leonardt/fault.gitcdfaultpipinstall-e.Install Aetherling:gitclonehttps://github.com/David-Durst/aetherling/cdaetherling
pipinstall-e.Run the unit tests:pytest-stests
Package: aether.python
Aether Python LibraryThis is the official Python Library with Aether functions.Table of contentsRequirementsInstallationDistributionTestsUsageRedis toolsRequirementsThis library requiresPython 3.6and above.Python libraries:eha-jsonpathProvides new Extensions to the jsonpath_ng python library to provide commonly requested functions.jsonschemaAn implementation of JSON Schema validation for Python.redisPython client for Redis key-value store.requestsHTTP for Humans.spavroAn Avro library, Spavro is a (sp)eedier avro implementation using Cython.Extra dependencies (based on settings):testbirdisleA modified version of redis that runs as a library inside another process.coverageA tool for measuring code coverage of Python programs.flake8Tool For Style Guide Enforcement.flake8-quotesFlake8 extension for checking quotes in python.tblibTraceback serialization library.Return to TOCInstallation# standalonepip3installaether.pythonReturn to TOCDistributionHow to create the package distributionExecute the following command:python3setup.pybdist_wheelor./scripts/build.shReturn to TOCTestsDepending on your preference you can either use virtualenv or pipenv to test the library locally.Virtual EnvFirst install dependencies (execute it only once):./scripts/install.shAfter that execute the following command:source./venv/bin/activate
./scripts/test.shPipenvIn the root folder run:pipenvinstall.Then to test run:pipenvrunscripts/test.shThe filescripts/test.inicontains the environment variables used in the tests.Return to TOCUsageRedis ToolsThis provides an interface to a Redis server via supplied redis parameters.It makes available a number ofCRUDredis operation which include but not limited to:
- Formats document keys into_{type}:{tenant}:{id}before being cached on redis.
- Retrieves documents based on preformated keys.
- Removes documents based on preformated keys.
- Subscribes to key based channels with a callback function.Usagefromaether.python.redis.taskimportTaskHelperREDIS_TASK=TaskHelper(settings,redis_instance)# Settings must have the following properties:# REDIS_HOST str - Redis server host,# REDIS_PORT int - Redis server port,# REDIS_PASSWORD str - Redis server password,# REDIS_DB str - Redis database name# redis_instance (Optional) - Pass an existing redis connection# (If provided, ignores all settings and uses redis_instance)document={'id':'document_id','name':'document name'}document_type='test_document'aether_tenant='prod'# add document to redisREDIS_TASK.add(task=document,type=document_type,tenant=aether_tenant)# retrieve document from redisREDIS_TASK.get(_id=document['id'],type=document_type,tenant=aether_tenant)# subcribe to a key based channelCHANNEL='_test_document*'# listens for messages published to all channels starting with '_test_document'defhandle_callback(msg):print(msg)# handle returned messageREDIS_TASK.subscribe(callback=handle_callback,pattern=CHANNEL,keep_alive=True)# publish documentREDIS_TASK.publish(task=document,type=document_type,tenant=aether_tenant)# this will trigger the 'handle_callback' function with the published document to all subscribed clients
Package: ae-transfer-service
transfer_service 0.3.10ae namespace module portion transfer_service: transfer client and server services.installationexecute the following command to install the
ae.transfer_service module
in the currently active virtual environment:pipinstallae-transfer-serviceif you want to contribute to this portion then first forkthe ae_transfer_service repository at GitLab.
after that pull it to your machine and finally execute the
following command in the root folder of this repository
(ae_transfer_service):pipinstall-e.[dev]the last command will install this module portion, along with the tools you need
to develop and run tests or to extend the portion documentation. to contribute only to the unit tests or to the
documentation of this portion, replace the setup extras keydevin the above command withtestsordocsrespectively.more detailed explanations on how to contribute to this projectare available herenamespace portion documentationinformation on the features and usage of this portion are available atReadTheDocs.
Package: aetst
aetstnamespace-root projectaetst namespace-root: aetst namespace-root grouping testing helper and template portions.aetst namespace root package use-casesthis project is maintaining all the portions (modules and sub-packages) of the aetst namespace to:update and deploy common outsourced files, optionally generated from templatesmerge docstrings of all portions into a single combined and cross-linked documentationpublish documentation via Sphinx ontoReadTheDocsrefactor multiple or all portions of this namespace simultaneously using the grm portions actionsthis namespace-root package is only needed for development tasks, so never add it to the installation requirements
file (requirements.txt) of a project.to ensure the update and deployment of outsourced files generated from the templates provided by this root package via
thegit repository manager tool, add this root package to the
development requirements file (dev_requirements.txt) of a portion project of this namespace.the following portions are currently included in this namespace:
Package: ae-updater
updater 0.3.13ae namespace module portion updater: application environment updater.installationexecute the following command to install the
ae.updater module
in the currently active virtual environment:pipinstallae-updaterif you want to contribute to this portion then first forkthe ae_updater repository at GitLab.
after that pull it to your machine and finally execute the
following command in the root folder of this repository
(ae_updater):pipinstall-e.[dev]the last command will install this module portion, along with the tools you need
to develop and run tests or to extend the portion documentation. to contribute only to the unit tests or to the
documentation of this portion, replace the setup extras keydevin the above command withtestsordocsrespectively.more detailed explanations on how to contribute to this projectare available herenamespace portion documentationinformation on the features and usage of this portion are available atReadTheDocs.
Package: ae-valid
valid 0.3.3ae namespace module portion valid: data validation helper functions.installationexecute the following command to install the
ae.valid module
in the currently active virtual environment:pipinstallae-validif you want to contribute to this portion then first forkthe ae_valid repository at GitLab.
after that pull it to your machine and finally execute the
following command in the root folder of this repository
(ae_valid):pipinstall-e.[dev]the last command will install this module portion, along with the tools you need
to develop and run tests or to extend the portion documentation. to contribute only to the unit tests or to the
documentation of this portion, replace the setup extras keydevin the above command withtestsordocsrespectively.more detailed explanations on how to contribute to this projectare available herenamespace portion documentationinformation on the features and usage of this portion are available atReadTheDocs.