Saravanan666/pypi-org huggingface dataset:
Package: alma-hilse
alma-hilseALMA Hardware-In-the-Loop Simulation Environment setup, monitoring and verification package.Thealma-hilsepackage provides an application and libraries aiming to help in the setup, monitoring and verfication of the ALMA HILSE infrastructure.
Most online requests are based on the AmbManager object to minimize dependencies.Installationpip install alma-hilseIf installed for user only, it may be necessary to modify PATH accordingly by running:export PATH=$PATH:$HOME/.local/bin/Installation for developmentgit clone ssh://git@bitbucket.sco.alma.cl:7999/esg/alma-hilse.git
make venv
source venv/bin/activate
alma-hilse --helpUsageFollowing is a non-exhaustive list of available commands, for illustrative purposes only. Use the following command for all available options:alma-hilse --helpTiming-related commandsalma-hilse timing --help
alma-hilse timing status # LORR/LFTRR status for HILSE
alma-hilse timing resync # LORR/LFTRR resync to CLO referenceCorrelator-related commandsalma-hilse corr --help
alma-hilse corr status # power, parity and delay status of DRXs
alma-hilse corr set-metaframe-delays # NOT IMPLEMENTED YET
alma-hilse corr mute-edfa # NOT IMPLEMENTED YET
alma-hilse corr eeprom-read # NOT IMPLEMENTED YET
alma-hilse corr eeprom-write # NOT IMPLEMENTED YETGeneral environment setup and troubleshooting commandsalma-hilse utils --help
alma-hilse utils get-devices # list devices connected to ABM
alma-hilse utils turn-on-ambmanager
alma-hilse utils array-info # NOT IMPLEMENTED YET (to be based on existing BE scripts)Antenna integration-related commandsGeneration of reports aiming to help in the integration of new antennas to HILSE enviroment. E.g., by collecting relevant information to be used during AOS patch panel fiber movements and following verifications.alma-hilse integration --help  # NOT IMPLEMENTED YET
alma-hilse integration general-status  # NOT IMPLEMENTED YET (to be based on existing BE scripts)
alma-hilse integration lo-resources  # NOT IMPLEMENTED YET (to be based on existing BE scripts)
alma-hilse integration dts-resources # NOT IMPLEMENTED YET (to be based on existing BE scripts)
alma-hilse integration pad-resources # NOT IMPLEMENTED YET
Package: almalinux-git-utils
almalinux-git-utilsUtilities for working with the AlmaLinux OS Git server.alma_get_sourcesThealma_get_sourcesscript downloads sources and BLOBs from the AlmaLinux
sources cache.UsageRun thealma_get_sourcesin a git project root directory:Clone an AlmaLinux RPM package git project fromgit.almalinux.org.Switch to a required branch.Run thealma_get_sourcestool:$alma_get_sourcesalma_blob_uploadThealma_blob_uploadscript uploads sources and BLOBs to the AlmaLinux
sources cache.PrerequirementsCreate an AWS credentials file ~/.aws/credentials with the following content:[default]aws_access_key_id=YOUR_ACCESS_KEYaws_secret_access_key=YOUR_SECRET_KEYUsageThe utility supports two types of input: a CentOS git repository metadata file
or a list of files to upload.For CentOS repositories workflow will be the following:Install theget_sources.shscript from thecentos-git-commonrepository.Clone a project and download its sources as described on the CentOSWiki.Run thealma_blob_uploadtool (don't forget to replacePROJECT_NAMEwith
an actual project name):$alma_blob_upload-i.PROJECT_NAME.metadataAlternatively, you can upload a list of files in the following way:$alma_blob_upload-fSOURCES/FILE_1SOURCES/FILE_NThealma_blob_uploadutility can also generate a CentOS-compatible metadata
file:$alma_blob_upload-o.PROJECT_NAME.metadata-fSOURCES/FILE_1SOURCES/FILE_NLicenseLicensed under the GPLv3 license, see the LICENSE file for details.
Package: almanac
a framework for interactive, page-based console applicationsSynopsisThealmanacframework aims to serve as an intuitive interface for spinning up interactive, page-based console applications. Think of it as a Python metaprogramming layer on top ofPython Prompt ToolkitandPygments.Examplealmanacturns this:"""Welcome to a simple interactive HTTP client.The current URL to request is the application's current path. Directories will becreated as you cd into them."""importaiohttpimportasynciofromalmanacimporthighlight_for_mimetype,make_standard_app,PagePathapp=make_standard_app()@app.on_init()asyncdefruns_at_start_up():app.io.raw(__doc__)app.bag.session=aiohttp.ClientSession()app.io.info('Session opened!')@app.on_exit()asyncdefruns_at_shut_down():awaitapp.bag.session.close()app.io.info('Session closed!')@app.prompt_text()defcustom_prompt():stripped_path=str(app.page_navigator.current_page.path).lstrip('/')returnf'{stripped_path}> '@app.hook.before('cd')asyncdefcd_hook_before(path:PagePath):ifpathnotinapp.page_navigator:app.page_navigator.add_directory_page(path)@app.hook.exception(aiohttp.ClientError)asyncdefhandle_aiohttp_errors(exc:aiohttp.ClientError):app.io.error(f'{exc.__class__.__name__}:{str(exc)}')@app.cmd.register()@app.arg.method(choices=['GET','POST','PUT'],description='HTTP verb for request.')@app.arg.proto(choices=['http','https'],description='Protocol for request.')asyncdefrequest(method:str,*,proto:str='https',**params:str):"""Send an HTTP or HTTPS request."""path=str(app.current_path).lstrip('/')url=f'{proto}://{path}'app.io.info(f'Sending{method}request to{url}...')resp=awaitapp.bag.session.request(method,url,params=params)asyncwithresp:text=awaitresp.text()highlighted_text=highlight_for_mimetype(text,resp.content_type)app.io.info(f'Status{resp.status}response from{resp.url}')app.io.info('Here\'s the content:')app.io.ansi(highlighted_text)if__name__=='__main__':asyncio.run(app.prompt())Into this:InstallationYou can download the latest packaged version from PyPI:pipinstallalmanacAlternatively, you can get the bleeding-edge version from version control:pipinstallhttps://github.com/welchbj/almanac/archive/master.tar.gzLicenseThe original content of this repository is licensed under theMIT License, as per theLICENSE.txtfile.Some of the parsing logic is borrowed from thepython-nubiaproject and is licensed under that project'sBSD License. For more information, please see the comment inalmanac/parsing/parsing.py.DevelopmentDevelopment dependencies can be installed with:pipinstall-rdeps/dev-requirements.txtTo run the tests, use:pythontasks.pytestTo lint and type check the code, use:flake8.
mypy.When it's time to cut a release, use:pythonsetup.pybdist_wheelsdist
twinecheckdist/*.whldist/*.gz
twineuploaddist/*.whldist/*.gz
Package: almanac-bot
Copyright (c) 2017 Julio C. BarreraPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.Description-Content-Type: UNKNOWNDescription: Almanac Bot===========Almanac bot for Twitter.|codeship|.. |codeship| image:: https://app.codeship.com/projects/afbee300-5764-0135-3fa1-7e1de17b1d2f/status?branch=master:target: https://app.codeship.com/projects/236023:alt: Codeship Status for logoff/almanac-botKeywords: twitter historyPlatform: UNKNOWNClassifier: Development Status :: 3 - AlphaClassifier: Intended Audience :: Information TechnologyClassifier: Topic :: Sociology :: HistoryClassifier: License :: OSI Approved :: MIT LicenseClassifier: Programming Language :: Python :: 3.5Classifier: Framework :: Sphinx
Package: almanach
Almanach stores the utilization of OpenStack resources (instances and volumes) for each tenant.What is Almanach?The main purpose of this software is to record the usage of the cloud resources of each tenants.Almanach is composed of two parts:Collector: Listen for OpenStack events and store the relevant information in the database.REST API: Expose the information collected to external systems.At the moment, Almanach is only able to record the usage of instances and volumes.ResourcesDocumentationhttps://almanach.readthedocs.io/Launchpad Projectshttps://launchpad.net/almanachBlueprintshttps://blueprints.launchpad.net/almanachBug Trackinghttps://bugs.launchpad.net/almanachLicenseAlmanach is distributed under Apache 2.0 LICENSE.
Package: almavik
АлмавикАлмавик - программа для определения центра масс капли по изображению. Она предоставляет удобный интерфейс и функции обработки изображений, которые позволяют точно и быстро определить центр масс капли.ОсобенностиОпределение центра масс: Алмавик использует современные алгоритмы обработки изображений для точного определения центра масс капли.Интерфейс: Программа имеет интуитивно понятный интерфейс, который позволяет легко загружать изображения и просматривать результаты обработки.Графическое представление: Алмавик предоставляет графическое представление капли, позволяя визуально оценить ее форму и размер.Интерфейс:Кнопки "Previous Image" и "Next Image": отвечают за переключение картинок на предыдущую и следующую соответственно;Конпки "Enable Drop Contour mode" и "Disable Drop Contour mode": появляются в зависимости от включенного режима на данный момент, изначально показывается изображение без выделенного контура капли, но при нажатии на "Enable Drop Contour mode" он выделяется;Слайдер: необходим для быстрого переключения картинок, так как в нашей папке 401 изображение, слайдер помогает быстро перейти от первого изображения к последнему;График: на графике красной точкой обозначается нахождение центра масс на текущей картинке, 4 точки до нее относятся к предыдущим изображениям, а 5 точк после к следующим.ЗапускЛокальный запуск1. Установите зависимости из файла requirements.txt, выполнив команду: 
$ pip install -r requirements.txt
2. Создайте папку "exp1" в корневой директории проекта. В этой папке будут храниться изображения.
3. Для запуска Алмавик локально, выполните команду:
$ python YPPRPO.pyЗапуск в Docker контейнере1. Загрузите Docker образ Алмавик из репозитория Docker Hub, выполнив команду: 
$ docker pull markuslons/almavik
2. Запустите контейнер, используя следующую команду: 
$ docker run -it markuslons/almavikЗапуск через pipДля скачивания проекта введите в терминале строку:
$ pip install almavik
Это автоматически установит все нужные зависимости проекта, также папку с тестовыми изображениями
Чтобы запустить скачанную библиотеку, нужно создать и запустить python файл с данными строками кода:
$ from almavik.YPPRPO import main 
$ main()
После запуска данного файла откроется дополнительное окно с последней версией проекта "Алмавик"СоздателиMarkusBlubberyViktoriaTixСсылкиhttps://pypi.org/project/almavik/https://hub.docker.com/repository/docker/markuslons/almavik
Package: almetro
Almetro Libraryversion number: 1.0.7
author: Arnour SabinoOverviewA python library to measure algorithms execution time and compare with its theoretical complexity.Installation / UsageTo install use pip:$ pip install almetroOr clone the repo:$ git clone https://github.com/arnour/almetro.git
$ python setup.py installInformationAlmetro uses timeit module from python to time your algorithms.See morehereExamplesApplying Almetro to a quadratic algorithm:importalmetrofromalmetro.algorithmsimportloop_n_quadraticfromalmetro.complexityimportcn_quadraticfromalmetro.instanceimportgrowingmetro=almetro\.new()\.with_execution(trials=5)\.with_instances(instances=20,provider=growing(initial_size=100,growth_size=100))\.metro(algorithm=loop_n_quadratic,complexity=cn_quadratic)chart=metro.chart()chart.show()Applying Almetro to a lg n algorithm:importalmetrofromalmetro.algorithmsimportloop_n_logfromalmetro.complexityimportclog_nfromalmetro.instanceimportgrowingmetro=almetro\.new()\.with_execution(trials=100)\.with_instances(instances=20,provider=growing(initial_size=10000,growth_size=10000))\.metro(algorithm=loop_n_log,complexity=clog_n)chart=metro.chart()chart.show()Customazing execution:importalmetrofromalmetro.complexityimportComplexityfromalmetro.instanceimportgeneratormy_custom_complexity=Complexity(theoretical=lambdav=1,e=1,c=1:v*v,experimental=lambdav=1,e=1,c=1:v+e,text='O(v^2)',latex=r'$\mathcal{O}(v^2)$')# You need to provide instances as dict: {'name': '', 'size': {}, 'value': {}}# Size must contains all needed theoretical complexity arguments# Value must contain all needed algorithms argumentsdefmy_custom_instances(n):g=create_some_graph()for_inrange(n):yield{'name':'my instance name','size':{'v':len(g.nodes()),'e':len(g.edges())},'c':some_order_value(),'value':{'graph':g,'v':len(g.nodes())}}defmy_custom_algorithm(graph,v):# Do some stuffpassN=50instances_generator=my_custom_instances(N)# Trials determine how many times each instance will be repeated for Almetro to pick the min time.metro=almetro\.new()\.with_execution(trials=5)\.with_instances(instances=N,provider=generator(instances_generator)\.metro(algorithm=my_custom_algorithm,complexity=my_custom_complexity)metro.chart().show()metro.table().show()
Package: almgren-chriss
This package provides functions for implementing the Almgren-Chriss model for optimal execution of portfolio transactions.What is the Almgren-Chriss Model?The Almgren-Chriss model is a mathematical model used in financial markets to determine the optimal way to execute large
orders. The model takes into account various factors such as the risk tolerance of the trader, the volatility of the
market, and the impact of the trade on the market price. The goal of the model is to minimize the expected cost of the
trade while taking into account the risk of price fluctuations.Functions in the PackageThe package provides the following functions:cost_expectation: Calculate the expected cost of trading.cost_variance: Calculate the variance of the cost of trading.decay_rate: Calculate the trade decay rate.trade_trajectory: Calculate the trading trajectory.trade_list: Calculate the list of trades.Each function takes various parameters including risk tolerance, interval between trades, volatility, permanent impact
slope, temporary impact slope, total number of shares, and trading duration.ExampleHere is an example of how to use the functions in the package:fromalmgren_chrissimporttrade_trajectory,trade_list,cost_expectation,cost_variancelambda_=2e-6tau=1sigma=0.95gamma=2.5e-7eta=2.5e-6epsilon=0.0625X=1e06T=5>>> trade_trajectory(lambda_, tau, sigma, gamma, eta, X, T)
array([1000000.0, 428598.84574702, 182932.81426177, 76295.72161546, 27643.37739691, 0.0])>>> trade_list(lambda_, tau, sigma, gamma, eta, X, T)
array([571401.15425298, 245666.03148525, 106637.09264631, 48652.34421856, 27643.37739691])>>> cost_expectation(lambda_, tau, sigma, gamma, eta, epsilon, X, T)
1140715.1670497851>>> import math
>>> math.sqrt(cost_variance(lambda_, tau, sigma, gamma, eta, X, T))
449367.65254135116
Package: almir
Documentation:http://readthedocs.org/docs/almir/Changelog0.1.8 (2013-05-16)fix bug introduced in 0.1.5 that crashed almir while doing configuration
[Domen Kožar]0.1.7 (2013-03-27)[bug] Add also LICENSE to MANIFEST.in
[Domen Kožar]0.1.6 (2013-03-27)[bug] Add .ini to MANIFEST.in
[Domen Kožar]0.1.5 (2013-03-27)[feature] Refactor the package a bit, so it’s easier to package it for Linux distributions
[Domen Kožar][bug] Update MANIFEST.in so all files are included in release
[Domen Kožar][bug] Add new bootstrap.py and pin down zc.buildout version to avoid upgrading zc.buildout to 2.0
[Domen Kožar][feature] Add apache2 configuration example
[Iban]0.1.4 (2013/03/23)brownbag release0.1.3 (2012/08/27)[bug] upgraded doctutils as it was failing buildout
[Domen Kožar]removed some dependencies on production, upgraded zc.buildout to 1.6.3 for faster installation
[Domen Kožar]determine version from distribution metadata
[Domen Kožar]0.1.2 (2012/05/31)[bug] interactive installer would swallow error message when SQL connection string was not formatted correctly[bug]: #7: don’t word wrap size columns[feature] add manual install steps[bug] #4: client detail page did not render if client had no successful backup[bug] #5: correctly parse scheduled jobs (choked on Admin job)[feature] use python2.7 or python2.6, otherwise abort installation0.1.1 (2012/04/18)[bug] fix support for postgresql 9.1
[Domen Kožar][feature] add reboot crontab for almir daemon
[Domen Kožar][bug] MySQL database size calculation was wrong, sometimes crashing the dashboard
[Domen Kožar][bug] console command list was not ordered and search box was not shown
[Domen Kožar][bug] bconsole did not accept non-asci input
[Domen Kožar]0.1 (2012/04/06)Initial version
[Domen Kožar]
Package: almirah
almiraha wardrobe for datasetsExplore the docs »Report Bug·Request FeatureAbout The ProjectClothes can be organized, maintained, and easily accessed from a
wardrobe.almirahserves the
same purpose for datasets.You can define the method to follow to stack your contents on the
almirah, and even tag.almirahhopes to make working with datasets easier.(back to top)AcknowledgmentsThanks to Upi and Bhalla lab members for their inputs and help.(back to top)
Package: almmf
Bienvenidos a Nuestra Librería de Programación ParalelaEste proyecto ha sido desarrollado como parte del curso de Programación Paralela por elGrupo 8.📚 Integrantes del Grupo 8Castillon Gabriel, Maribel JazminCuba Aquino, Camila IsabelaJara Nuñez, Jose IgnacioMendoza Melo, Anthony LuisRojas Rivera, Renzo Eduardo🚀 Acerca de Nuestra LibreríaNuestra librería se centra en la implementación de técnicas deprogramación paralelapara optimizar operaciones comunes comosumas,máximos,mínimosypromedios, para así acelerar el análisis de grandes volúmenes de datos.✨ Cómo ContribuirEstamos abiertos a contribuciones! Si tienes sugerencias de mejoras, correcciones o nuevas funcionalidades, no dudes en abrir unissueo enviar unpull request. Tu aporte es muy valioso para nosotros.📄 LicenciaEste proyecto está licenciado bajoMIT License, lo que permite su uso, modificación y distribución bajo ciertas condiciones.📩 ContactoPara más información o consultas, no duden en contactar a cualquiera de los integrantes del grupo.Agradecemos tu interés en nuestra librería y esperamos que te sea de gran utilidad.Grupo 8- Curso de Programación Paralela
Package: almonaut
AlmonautAlmonaut(`Ahl-muh-naut) is a Python library for interacting with
the Ex Libris Alma©API. It provides a number of methods
which facilitate handling Alma©API data in Python dot
notation.Almonautis built on two excellent Python libraries: theRequestsHTTP library andpydanticfor parsing and
validation.NoteThis is a new project under active development. Its API is subject to
change.Current StateAlma©API AreaReadWriteAcquisitions✔✖ (planned)Analytics✖ (planned)n/aBibliographic Records and Inventory✖ (planned)✖ (planned)Electronic Resources✔✖ (planned)Install Almonautpip install almonautImport Almonaut and instantiate an API clientfromalmonautimportclientalma_api_client=client.AlmaApiClient('a1b2c3myapikeyx1y2z3')search_query='name~classics'my_funds=alma_api_client.get_funds(limit=10,extra_params={'mode':'ALL','q':search_query})iflen(my_funds.funds)>0:forfundinmy_funds.funds:print(f"Name:{fund.name}")print(f"Type:{fund.type_.desc}")print(f"Status:{fund.status.desc}")print(f"Fiscal period:{fund.fiscal_period.desc}")Note:Substitute your own API key for the placeholder shown above.For more information, see thedocumentation.
Package: almonds
FeaturesFully fledged Mandelbrot viewer, in your terminalNow compatible with the native Windows console!Julia setsHomemade terminal UI8 color ANSI mode with dithering256 color modeParallelized usingmultiprocessingMultiple palettes, adaptive modeSave and load capabilitiesAvailable in standalone, source compatible with Python 2 & 3Infinite fun from the comfort of your terminalRunningUsing PIPJust run:$ pip install almonds
$ almondsOn non-Cygwin Windows, you will still have to install the unofficialcursesmodule (see “From source” below)From sourceClone the repo:$ git clone https://github.com/Tenchi2xh/Almonds.git
$ cd AlmondsOn OS X, Linux and Cygwin:$ pip install Pillow
$ python -m almonds.main(For Cygwin,minttyorbabunare recommended)On Windows, download thecursesmodule from theUnofficial Windows
Binaries for Python Extension
Packages(acursesimplementation for Windows based onPDCurses), then run:> pip install curses‑2.2‑cp27‑none‑win32.whl
> pip install Pillow
> python -m almonds.mainThe fontEnvy Code
Rishighlyrecommended. If your terminal emulator supports it, try to
reduce the line spacing so that the box drawing characters touch. When
using another font, the appearance of the fractal may seem squashed
because the width to height ratio of the character are different; try to
adjust it using the argument--ratio(see “Usage” below).Using PyPy will make the hi-res captures faster, but the terminal
navigation slower.Usage██
          ██  ██████  ██   .d8b.  db                              db
            ██████████    d8' `8b 88 .88b  d88. .d88b. .888b  .d8888 .d8888
      ██  ██████████████  88ooo88 88 88  88  88 8P  Y8 88  88 88  88 `8bo.
  ████████████████████    88   88 88 88  88  88 8b  d8 88  88 88  8D   `Y8b
      ██  ██████████████  YP   YP YP YP  YP  YP `Y88P' VP  VP Y888D' `8888Y
            ██████████
          ██  ██████  ██    T e r m i n a l   f r a c t a l   v i e w e r
                ██

usage: almonds [-h] [-p N] [-r RATIO | -d W H] [-z] [save]

version 1.20b

positional arguments:
  save                          path of a save to load

optional arguments:
  -h, --help                    show this help message and exit
  -p N, --processes N           number of concurrent processes
  -r RATIO, --char-ratio RATIO  width to height ratio of the terminal characters
  -d W H, --dimensions W H      width and height of the terminal characters
  -z, --qwertz                  swap the "z" and "y" keysControlsKeysAction↑,↓,←,→Move aroundC,VAdjust move speed⏎Input manual coordinatesY,UZoom / Un-zoomI,OIncrease / Decrase number of iterationsJEnter / Leave Julia setPNext paletteDColor mode (256 colors / 8 colors ANSI / 8 colors ASCII)RReverse palette orderAPalette mode (Normal / Adaptive)ZLaunch palette cycling animationHCapture current view in a high-resolution PNG fileXShow / Hide crosshairsTToggle UI theme (Dark / Light)SSave all current settings and viewLLoad a previous saveESC,CTRL``+``CExitScreenshots & RendersSee on theGitHub Project Page
Package: almost
A helper for approximate comparison.from almost import almost

def test_repeating_decimal():
    assert almost(1 / 3.) == 0.333
    assert almost(1 / 6.) == 0.167
    assert almost(3227 / 555., precision=6) == 5.814414

def test_irrational_number():
    import math
    assert almost(math.pi) == 3.142
    assert almost(math.sqrt(2)) == 1.414

def test_random_text():
    import random
    def gen_text_with_prefix(prefix):
        return prefix + str(random.random())[:-5]
    assert almost(gen_text_with_prefix('@')) == '@...'LinksGitHub repositorydevelopment version