Saravanan666/pypi-org huggingface dataset:
Package: ecole
EcoleEcole (pronounced [ekɔl]) stands forExtensible Combinatorial Optimization Learning
Environmentsand aims to expose a number of control problems arising in combinatorial
optimization solvers as Markov
Decision Processes (i.e., Reinforcement Learning environments).
Rather than trying to predict solutions to combinatorial optimization problems directly, the
philosophy behind Ecole is to work
in cooperation with a state-of-the-art Mixed Integer Linear Programming solver
that acts as a controllable algorithm.The underlying solver used isSCIP, and the user facing API is
meant to mimic theOpenAI GymAPI (as much as possible).importecoleenv=ecole.environment.Branching(reward_function=-1.5*ecole.reward.LpIterations()**2,observation_function=ecole.observation.NodeBipartite(),)instances=ecole.instance.SetCoverGenerator()for_inrange(10):obs,action_set,reward_offset,done,info=env.reset(next(instances))whilenotdone:obs,action_set,reward,done,info=env.step(action_set[0])DocumentationConsult theuser Documentationfor tutorials, examples, and library reference.Discussions and helpHead toGithub Discussionsfor interaction with the community: give
and recieve help, discuss intresting envirnoment, rewards function, and instances generators.InstallationCondacondainstall-cconda-forgeecoleAll dependencies are resolved by conda, no compiler is required.Pip wheel (binary)Currently unavailable.Pip sourceBuilding from source requires:AC++17 compiler,ASCIPinstallation.pipinstallecoleOther OptionsCheckout theinstallation instructionsin the
documentation for more installation options.Related ProjectsOR-Gymis a gym-like library providing gym-like environments to produce feasible solutions
directly, without the need for an MILP solver;MIPLearnfor learning to configure solvers.Use It, Cite ItIf you use Ecole in a scientific publication, please cite the Ecole publication@inproceedings{
    prouvost2020ecole,
    title={Ecole: A Gym-like Library for Machine Learning in Combinatorial Optimization Solvers},
    author={Antoine Prouvost and Justin Dumouchelle and Lara Scavuzzo and Maxime Gasse and Didier Ch{\'e}telat and Andrea Lodi},
    booktitle={Learning Meets Combinatorial Algorithms at NeurIPS2020},
    year={2020},
    url={https://openreview.net/forum?id=IVc9hqgibyB}
}
Package: ecoledirect
EcoleDirectGithub profile:https://github.com/snowy-27DescriptionEcole direct is a script that can get data from the websitehttps://www.ecoledirecte.com/Github link:https://github.com/Snowy-27/ecoledirectInstallationpipinstallecoledirectorpipinstallgit+https://github.com/Snowy-27/ecoledirectDocumentationFirst Tab:fromecoledirectimportEcoledirect_botuser=Ecoledirect_bot('username','password')user.login()print(user.get_homework())The function get notes is currently in developement.print(user.get_notes())At the end of the script:user.close()
Package: ecoledirecteapi
EcoleDirecteApiecoledirecteapi est une librairie python permetant de communiquer simplement avec l'api ecole directeExempleimportecoledirecteapiclient=ecoledirecteapi.Bot()client.login("user","pass")print(client.evalAverage())FonctionsgetApiUrl =>
    getApiVersion =>
    encodeString =>
    encodeBody =>
    getHeaders =>
    decodeB64 =>

    Bot.login
    Bot.isLogin
    Bot.getNotes
    Bot.evalAverage
    Bot.getHomeworks
    Bot.getSchoolLife
    Bot.getSchedules
    Bot.getMessages
Package: ecologi-sdk
Ecologi PythonAn SDK to easily work with the Ecologi APIInstallVia Pippipinstallecologi-sdkUsagefromecologiimportEcologiecologi=Ecologi()sites=ecologi.impact('owenvoke')Available MethodsDescriptionecologi.impact('user')Retrieve anImpactdict with details about the specified user.ecologi.user_exists('user')Retrieve abooleanresponse indicating whether the specified user exists.Change logPlease seeCHANGELOGfor more information on what has changed recently.TestinghatchruntestSecurityIf you discover any security related issues, please emailsecurity@voke.devinstead of using the issue tracker.CreditsOwen VokeAll ContributorsLicenseThe MIT License (MIT). Please seeLicense Filefor more information.TreewareYou're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.You can buy treeshere.Read more about Treeware attreeware.earth.
Package: ecomegane
Eco-Megane Python ClientAboutThe Eco-Megane online platform provides monitoring data for photovoltaic systems.
However, they do not offer an API or any convenient way of programmatically accessing the data. This client allows you to download certain data from the site using Python.InstallationTo install the client usingpip:pip install ecomeganeGetting StartedTo begin downloading data, you will need to find your power plant's ID number on the Eco Megane site.Example UsageFor a complete sample, seedocs/sample.py.Downloading hourly dataimportdatetimefromecomeganeimportEcoMeganeClientsite_id='00031234567'today=datetime.date.today()withEcoMeganeClient('username','password')asclient:kwh=client.get_hourly_kwh(site_id,today)fortimestamp,energyinkwh.items():print(timestamp,energy)Downloading daily dataimportdatetimefromecomeganeimportEcoMeganeClientsite_id='00031234567'today=datetime.date.today()withEcoMeganeClient('username','password')asclient:# Download daily data for the current month.kwh=client.get_daily_kwh(site_id,today)fortimestamp,energyinkwh.items():print(timestamp,energy)ContributingPRs are welcome. Feel free to fork the repo, make your changes, and submit a PR. It is recommended that you create an Issue before starting work on your features.
Package: ecomet-i2c-sensors
Project descriptionLibrary focused to I2C communication with IOT sensors.Platforms:Raspberry PI
* RPI 3
* RPI 4
* CM4AllWinner
* Chip H616Supported Vendors:ASM-OSRAM
* TSL25911EEPROM
* 24c01,24c02,24c04,24c08,24c16,24c32,24c64,24c128,24c256,24c512,24c1024NXP Semiconductor
* PCA9632 (could be modified for PCA9624,PCA9635PW,PCA9685,PCA9955B,PCA9956B) PCA9557Texas Instruments
* HDC1080,PCA9557,INA226,INA260TE Connectivity
* MS5637,HTU21DMicrochip
* EMC2301Panasonic
* SN-GCJA5Renesas
* ISL28022 (In progress)Solomon Systech
* SSD1309Change Log0.1.7 (03/09/2023)Add Allwiner CPU H616 driver, mangopi mq-pro, orangepi zero 2SN-GCJA5 driver added (Panasonic)TSL25911 driver added (Osram-AMS)0.1.6 (03/03/2023)EEPROM added writeNBytes & readNBytes subadd Raspberry PI ZERO W 2 in PI version0.1.5 (18/10/2022)Fixed issue with units for current [‘mA’, ‘A’] and voltage [‘mV’,’V’]0.1.4 (11/10/2022)-Added calibration offsets for measure_i, measure_u, measure_ui for INA260 for calibration of measured values0.1.3 (08/06/2022)Added new def measure_i, measure_u, parent_i, parent_u in ina260ui.py for individual measure U or IAdded accuracy of measurement at INA260 using attributes mode, avgc, ishc, vbusctMore test scripts for INA2600.1.2 (17/05/2022)Change terminology in REGISTER NAMEsFixed unis in def measure_currentAdd new device_id allowed 0x226Add ISL2802x Reneses devices lib (in progress)0.1.1 (02/03/2022)Fix pypi issue in setup.py file0.1.0 (27/01/2022)First Release import lib fixedChip supported: 24cXXX,PCA9557,PCA9632,HDC1080,HTU21D,MS5637,EMC2301,SSD1306New chip added: INA260,INA226INA260 - bulk measure fuction: measure_voltage, measure_current
Package: ecometpy
fypy安装命令：
python -m pip install fypy
python -m pip install --upgrade fypyAPI 参考官方使用说明获取最新更新信息，请关注作者公众号依赖库库名版本库名版本库名版本numpy1.2.0pyhdf0.10.0h5py1.0.0netcdf41.0.0tqdm4.0.0gdal2.0.0fypy提供了针对FY3、FY4卫星数据的预处理；预处理包含对极轨卫星FY3的5分钟块、轨道数据的投影、拼接裁剪；对FY3的10度块数据进行投影、拼接、裁剪功能对FY4卫星数据的经纬度转行列号，行列号转经纬度，
以及对数据进行投影转换、裁剪等功能；
Package: ecom-finder
Ecom FinderIntroThis project is can help users to find the optimal solutions for finding best products on ecomerce sites (for ex: amazon, flipkart) based on crawling, AI, Audio Processing, Image Processing, and busines analyticsHow To UseInstallationpip install ecom-finderUseagePackage Name ecom_finder to importimport ecom_finder as ef
  
  # For Text Based Search
  # Parameters - keyword = <Which product we want search online>, nor= <no of products for optimal solutions>
  result = ef.find("iPhone 12", 5)
  for result in result:
      print("-------------------------------------------------------------------------------------------------------------")
      print(result['Product Name'])
      print(result['Ecommerce Provider'])
      print(result['Price'])
      print(result['URL'])
      
  # For Audio Based Search
  # Parameters - nor= <no of products for optimal solutions> , 
  #              device <default=True> Make it false to extract audio from file, if it is False make sure you will provide the correct path for audio_file_path
  #              audio_file_path <default=None> Audio file path that contains the audio input for search ecommerce products
  result = ef.find_by_voice(5)
  for result in result:
      print("-------------------------------------------------------------------------------------------------------------")
      print(result['Product Name'])
      print(result['Ecommerce Provider'])
      print(result['Price'])
      print(result['URL'])
Package: ecommerce-extensions
This repository contains an external django application, which adds multiple funtionalities in order to extend theecommercebehaviour and avoid changing the base code directly.InstallationInstall with pip:pip install django-oauth-toolkitAddecommerce_extensions.apps.EcommerceExtensionsConfigto yourINSTALLED_APPS, if you want to use payment processors, and addecommerce_extensions.tenant.apps.TenantConfigto yourINSTALLED_APPS, if you want to use TenantOptions.INSTALLED_APPS=(...'ecommerce_extensions.apps.EcommerceExtensionsConfig','ecommerce_extensions.tenant.apps.TenantConfig',)UsageAdd model TenantOptions: This model allows to override settings by tenant and it can be found in <ecommerce-site>/admin/edunext/tenantoptions/Add new payment processors.Integrate payment processors.The django application offers some integrations listed below:Payu payment processor.Fomopay payment processor.In order to activate these processor some configuratios are required.Add urls. File ecommerce/extensions/payment/urls.pyfromecommerce_extensions.urlsimporturlpatternsasurl_extensions...urlpatterns=[url('',include((url_extensions,'ecommerce_extensions'))),...]Add payment processors. File ecommerce/settings/_oscar.pyPAYMENT_PROCESSORS=(...'ecommerce_extensions.payment.processors.payu.Payu','ecommerce_extensions.payment.processors.fomopay.Fomopay',)Add html buttons. File ecommerce/templates/oscar/basket/partials/hosted_checkout_basket.html{% for processor in payment_processors %}<buttondata-track-type="click"data-track-event="edx.bi.ecommerce.basket.payment_selected"data-track-category="checkout"data-processor-name="{{ processor.NAME|lower }}"data-track-checkout-type="hosted"class="btn payment-button"id="{{ processor.NAME|lower }}">{% if processor.NAME == 'cybersource' %}
            {% trans "Checkout" as tmsg %}{{ tmsg | force_escape }}
        {% elif processor.NAME == 'paypal' %}
            {# Translators: Do NOT translate the name PayPal. #}
            {% trans "Checkout with PayPal" as tmsg %}{{ tmsg | force_escape }}
        {% elif processor.NAME == 'payu' %}
            {# Translators: Do NOT translate the name PayU. #}
            {% trans "Checkout with PayU" as tmsg %}{{ tmsg | force_escape }}
        {% elif processor.NAME == 'fomopay' %}
            {# Translators: Do NOT translate the name WeChat. #}
            {% trans "Checkout with WeChat" as tmsg %}{{ tmsg | force_escape }}
        {% endif %}</button>{% endfor %}How to ContributeContributions are welcome! See ourCONTRIBUTINGfile for more
information – it also contains guidelines for how to maintain high code
quality, which will make your contribution more likely to be accepted.
Package: ecommerce-plugin-events
TheREADME.rstfile should start with a brief description of the repository,
which sets it in the context of other repositories under theedxorganization. It should make clear where this fits in to the overall edX
codebase.Plugin to handle ecommerce eventsOverview (please modify)TheREADME.rstfile should then provide an overview of the code in this
repository, including the main components and useful entry points for starting
to understand the code in more detail.Documentation(TODO:Set up documentation)Development WorkflowOne Time Setup# Clone the repository
git clone git@github.com:edx/ecommerce-plugin-events.git
cd ecommerce-plugin-events

# Set up a virtualenv using virtualenvwrapper with the same name as the repo and activate it
mkvirtualenv -p python3.8 ecommerce-plugin-eventsEvery time you develop something in this repo# Activate the virtualenv
workon ecommerce-plugin-events

# Grab the latest code
git checkout main
git pull

# Install/update the dev requirements
make requirements

# Run the tests and quality checks (to verify the status before you make any changes)
make validate

# Make a new branch for your changes
git checkout -b <your_github_username>/<short_description>

# Using your favorite editor, edit the code to make your change.
vim …

# Run your new tests
pytest ./path/to/new/tests

# Run all the tests and quality checks
make validate

# Commit all your changes
git commit …
git push

# Open a PR and ask for review.LicenseThe code in this repository is licensed under the AGPL 3.0 unless
otherwise noted.Please seeLICENSE.txtfor details.How To ContributeContributions are very welcome.
Please readHow To Contributefor details.
Even though they were written withedx-platformin mind, the guidelines
should be followed for all Open edX projects.The pull request description template should be automatically applied if you are creating a pull request from GitHub. Otherwise you
can find it atPULL_REQUEST_TEMPLATE.md.The issue report template should be automatically applied if you are creating an issue on GitHub as well. Otherwise you
can find it atISSUE_TEMPLATE.md.Reporting Security IssuesPlease do not report security issues in public. Please emailsecurity@edx.org.Getting HelpIf you’re having trouble, we have discussion forums athttps://discuss.openedx.orgwhere you can connect with others in the community.Our real-time conversations are on Slack. You can request aSlack invitation, then join ourcommunity Slack workspace.For more information about these options, see theGetting Helppage.Change LogUnreleased[0.1.2]fix: move KAFKA_CONSUMERS_ENABLED out of settings[0.1.1]feat: remove edx-toggles[0.1.0]feat: initial setupFirst release on PyPI.
Package: ecommpay-sdk
EcommPay payment page SDKThis is a set of libraries in the Python language to ease integration of your service
with the EcommPay Payment Page.Please note that for correct SDK operating you must have at least Python 3.5.Payment flowInstallationInstall with pippipinstallecommpay-sdkGet URL for paymentfrompayment_page_sdk.gateimportGatefrompayment_page_sdk.paymentimportPaymentgate=Gate('secret')payment=Payment('402')payment.payment_id='some payment id'payment.payment_amount=1001payment.payment_currency='USD'payment_url=gate.get_purchase_payment_page_url(payment)payment_urlhere is the signed URL.Handle callback from EcommpayYou'll need to autoload this code in order to handle notifications:frompayment_page_sdk.gateimportGategate=Gate('secret')callback=gate.handle_callback(data)datais the JSON data received from payment system;callbackis the Callback object describing properties received from payment system;callbackimplements these methods:callback.get_payment_status()Get payment status.callback.get_payment()Get all payment data.callback.get_payment_id()Get payment ID in your system.
Package: ecom-utils
# ECOM UTILSCore de mÃ³dulos para PyPI### Prerequisites
Python 3.7.3python setup.py sdist
twine upload dist/*pip install –upgrade ecom-utils## Versiones1.3.9 - Modulo TGD - se modifico url base en stage (ENDPOINT_STAGE)
1.3.8 - Modulo PON - Se agrego consulta de cargos de agente
1.3.7 - Actualizacion endpoint prod modulo PON
1.3.6 - Fix a conexiÃ³n al nuevo y quitando logs.
1.3.0 - ActualizaciÃ³n a nueva versiÃ³n de TGD. Se mantiene llamada a versiÃ³n vieja.
Package: econarena
Economic Arena for Large Language ModelsCurrent Version0.0.4Integrated LLM agentSeriesModelsOpenAIgpt-3.5, gpt-4Google DeepMindPaLM2, Gemini-ProAnthropicClaude, Claude-instantBaichuan AIBaichuan2To use this packagePython requires>= 3.91. Install the packagepip install econarena2. Write your scriptInexample.pyyou can write your script and run it.To successfully run a script, you have to complete 3 steps in the script:initial aHostinstanceset api configurationsrun the game and fetch the resultAfter that, just callpython example.pyand start your game with LLMs!
Package: econcycle
econcycleThis package is to define economic cycle for a given timeframe. (Inflation, Recession, Goldilocks)It also gives trend information of the stock.InstallationInstall packagepipinstalleconcycleGetting Startedfromeconcycle.utils.cycleimportCyclefromeconcycle.utils.chartimportChartstart_date="2020-01-01 00:00:00"end_date="2022-11-08 00:00:00"resolution="W"# This period is used to calculate trend of candle data.# If it is uptrend, the chart is going up,# If it is downtrend, the chart is going downperiod=5# Get all cycles (Inlfation, Recession, Goldilocks)cycle=Cycle(resolution,period,start_date,end_date)all_cycle=cycle.get_all()print(all_cycle)# Get chart data of AAPLaapl=chart.process("AAPL")print(aapl)# Get trend information (uptrend, downtrend)print(aapl.get("type"))LicenseMIT
Package: econf
Introductioneconfmake it easy to define config options and reference them.
The options can be provided through command line or config file.Install$ pip install http://github.com/wangst321/econf.gitHow to Usedefine optionsFirst, importeconffrom econf import *For default options, that belong to ‘default’ section:from econf import BaseConf

class DefaultConf(BaseConf):
    host = StrOpt(default='0.0.0.0', cmdline=True,
                  help='ip address')
    port = IntOpt(default=9090, cmdline=True,
                  help='tcp port')For options belong to other section:class ZKConf(BaseConf):
    __section__ = 'zk'

    hosts = StrOpt(
        required=True,
        help='list of zookeeper ip:port pair. i.e. localhost:2181')
    max_retry = IntOpt(
        default=3,
        help='number of tries before giving up connecting')use options in your codeThere are two ways to reference an option.
First, use the specific Conf Class:host, port = DefaultConf.host, DefaultConf.portSecond, use the general CONF:host, port = CONF.host, CONF.port
zk_hosts = CONF.zk.hostsparse cli options and config fileNoteWhen the code executes, this step should always be in front of those
statements, which reference options.If a default config is supplied:from econf import CONF
CONF('path/to/your/default.conf')or,from econf import CONF
CONF()Usually, this code is executed just before your service gonna start.def run():
    from econf import CONF
    CONF()

    my_service.init(CONF.host, CONF.port, ...)
    my_service.start()
Package: econfig
Python package to manage configuration from environment variables.This package is designed to be used to help in configuration management with
python docker containers.Defining configurationeconfig provides simple data types to define configuration with:import econfig
econfig.register(
  name='MY_CONFIGURATION_NUMBER',
  type=econfig.types.int,
  destination='foo.bar')
econfig.register(
    name='MY_CONFIGURATION_NUMBER',
    type=econfig.types.json,
    destination='foo.json')
errors, settings = econfig.parse()
settings == {
  "foo": {
    "bar": 5
  },
  "json": {
    "some": "value"
  }
}Typesintfloatboolexistsjsonwhen_exists: callable type that will provide value when env variable existsDestination typesfoo.bar: automatic key value dictionary creationfoo[]: append value to listfoo[0]: address item in listfoo[0].bar: address dictionary item in list1.0.1 (2017-12-27)Fix release
[vangheem]1.0.0 (2017-12-27)
Package: econfiguration
pyeconfiguration简易配置对象, 配置文件导入和保存.安装使用 pip 安装 econfigurationpip install econfiguration快速上手importeconfiguration# 创建一个配置对象config=econfiguration.Configuration()# 使用对象属性创建配置条目config.attr_value=1# 使用 key 创建配置条目config['item_value']=2# 使用对象属性访问配置条目print(config.attr_value)print(config.item_value)# 使用 item 访问配置条目print(config['attr_value'])print(config['item_value'])嵌套importeconfiguration# 创建配置对象config=econfiguration.Configuration()# 嵌套配置对象config.abc=econfiguration.Configuration()# 设置配置条目config.abc.value=1导入和保存文件importeconfiguration# 在初始化时导入配置文件config=econfiguration.Configuration('config.json',_type='json')# 清除所有数据config._con_clear_data()# 从 json 文件中更新数据config._con_update_from_json('config.json')# 保存配置文件config._con_asve_as_json('config.json')Configuration 配置对象Configuration(_file:Union[str,list,tuple]=...,_type:str='json',read_only:bool=False)# 创建配置对象# _file: 需要导入的配置文件路径# _type: 文件类型 ( 目前只接受 json )# read_only: 设定这个对象为只读._con_clear_data()->None# 清除所有条目数据._con_set_read_only(value:bool)->None# 设置配置对象为只读模式._con_is_read_only()->bool# 获取配置对象的只读模式描述._con_update_from_data(data:dict)->None# 更新条目数据# 当某项条目的数据类型为字典且键 ".con_is_configuration" 的值为 True 时将会初始化成一个 Configuration 对象.._con_update_from_json(_file:Union[str,list,tuple]=...)->None# 从 json 文件中更新数据._con_get_data()->dict# 以字典的形式获取所有条目数据# 数据类型为 Configuration 的条目也会分解成字典._con_asve_as_json(_path:Union[str,list,tuple])->None# 保存数据到 json 文件._con_get_value(__key:str)->Union[int,float,str,bool,list,tuple,dict]# 获取指定条目的数据# 当 key 不存在时返回 None._con_set_value(__key:str,__value:Union[int,float,str,bool,list,tuple,dict])->None# 设置条目数据# key 不允许使用 "_con_" 字段开头# value 不允许使用复杂数据类型其它字典重载使用 Configuration._con_update_from_data 更新数据时
当某项数据的类型为 dict 且其中包含 '.con_is_configuration' 且值为 True, 那么这个字典会被重载成 Configuration 对象
Package: econia-sdk
Econia Python SDKDevelopmentTo format the code, install dev dependencies withpoetryinstall--withdevThen, runpoetryrunblackeconia_sdk
poetryrunisorteconia_sdkTo check types with mypy, run the following command:poetryrunmypy--config-file=./mypy.iniRun autoflake with the following command:poetryrunautoflake-i-reconia_sdkDocumentationTo buildpdoc:poetryinstall--withdocs
poetryrunpdoc-odocseconia_sdk