Saravanan666/pypi-org huggingface dataset:
Package: easysh
easyshan easy to execute shell in pythonRequirementsPython 3.3 +InstallationpipinstalleasyshUsagefromeasyshimportShelloutput=Shell.exec('ls -l')print(output)asynciofromeasyshimportShelloutput=awaitShell.aexec('ls -l',cwd='/var')print(output)Real-time outputfromeasyshimportShellwithShell.create('ls -l')asstd:forlineinstd:print(line)asyncio Real-time outputfromeasyshimportShellasyncwithShell.create('ls -l')asstd:asyncforlineinstd:print(line)execute shell command with timeoutfromeasyshimportShell# raise subprocess.TimeoutExpiredawaitShell.aexec('python',timeout=3)error handingfromeasyshimportShell,ShellErrortry:Shell.exec("unknown command")exceptShellErrorase:print(e)capturing the output and error streamsfromeasyshimportShell# capturing the output and error streamswithShell.create("unknown command",raise_on_stderr=False)asstd:output=std.read()print(output)print(std.has_errors)
Package: easyshop.carts
OverviewCarts for EasyShopMore Informationhttp://pypi.python.org/pypi/easyshop.coreMain producthttp://www.geteasyshop.comMain site with feature list, faqs and morehttp://code.google.com/p/easyshop-for-plone/Code repositoryhttp://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.catalog
easyshop.catalog Readme=============================Overview--------Catalog (products and categories) for EasyShopProducts--------- Management of any given number of products with article id, description, price, etc.- Displaying of related products- Products can be assigned sale prices. The sales price overwrites the default price and is displayedhighlighted- Management of any number of images. They are diplayed in galleries.- Products can have an any number of properties that may affect price as an optional feature.- Products can be handled with any number of variants based on above-mentioned properties.Variants can have different content than the parent product, like title, article id, price, images,descriptions, etc.Categories----------- Categories are used structure products in clusters.- Categories are visible for the shop customer and used to browse through the shop- There can be any number of categories- Categories can be freely convoluted (logical and physical)- Products can be assigned to a user-defined number of categoriesLayout------- Easy to use formatting to display products of a given category. The view can be modifiedconveniently by formats (One can change for instance: image size, text type, number of rows andcolumns).- Easy selection and display of any product (e.g. offers of the week)- Easy assigning of portlets (cart, offers, information, etc.): left, right, top, bottomMore Information----------------- http://pypi.python.org/pypi/easyshop.coreMain product- http://www.geteasyshop.comMain site with feature list, faqs and more- http://code.google.com/p/easyshop-for-plone/Code repository- http://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.checkout
easyshop.checkout Readme=============================Overview--------Checkout for EasyShop.- There is also an alternative implementation for one page checkout. See the code repository for moreinformation.More Information----------------- http://pypi.python.org/pypi/easyshop.coreMain product- http://www.geteasyshop.comMain site with feature list, faqs and more- http://code.google.com/p/easyshop-for-plone/Code repository- http://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.core
OverviewEasyShop is an out-of-the-box online shop for Plone.InstallationTo get started you will simply need to add the package to your “eggs” and “zcml” sections, run
buildout, restart your Plone instance and install the “EasyShop” package via the “Add-on Products”
section in “Site Setup”.DisclaimerEasyShop is alpha and therefore not stable concerning to API, implementation and features. Don’t
expect ootb backwards compatibility or migration from one alpha release to the next.But it might be of interest that there is a live shop (http://www.demmelhuber.net/shop) which runs for
over 18 months stable and successful
now.More Informationhttp://www.geteasyshop.comMain site with feature list, faqs and morehttp://code.google.com/p/easyshop-for-plone/Code repositoryhttp://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.criteria
easyshop.criteria Readme=============================Overview--------Criteria for EasyShop.-  Criteria are a central approach which is used to make several objects available to differentcustomers- Criteria are used for:- Discounts- Information pages- Payment methods/prices- Shipping methods/prices- Stock information- Taxes- Following criteria are available (and it is easy to make one's own)- Category- Customer- Country- Date- Group- Payment Method- Cart Price- Product- Shipping Method- Weight- Examples:- Credit card payment is available starting at a certain minimal price- Payment method "cash" is only available for shipping method "pick up"- Different shipping prices for several weights- Special taxes for customers abroadMore Information----------------- http://pypi.python.org/pypi/easyshop.coreMain product- http://www.geteasyshop.comMain site with feature list, faqs and more- http://code.google.com/p/easyshop-for-plone/Code repository- http://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.customers
OverviewCustomer management for EasyShop.Management of any number of users / customersCustomers can manage several addresses, bank accounts and credit cardsMore Informationhttp://pypi.python.org/pypi/easyhop.coreMain producthttp://www.geteasyshop.comMain site with feature list, faqs and morehttp://code.google.com/p/easyshop-for-plone/Code repositoryhttp://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.discounts
OverviewDiscounts for EasyShop.Managment of any discountsPercental or absolute discountsAssignment of discounts based on criteria: product, amount, customer, date, etc.More Informationhttp://pypi.python.org/pypi/easyshop.coreMain producthttp://www.geteasyshop.comMain site with feature list, faqs and morehttp://code.google.com/p/easyshop-for-plone/Code repositoryhttp://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.groups
easyshop.groups Readme=============================Overview--------Groups for EasyShop.- Groups are used to structure products internally- Groups are not visible for the shop customer- There can be any number of groups- Groups can be assigned several attributes (and in this way to the products which belong to thesegroups): taxes, product properties.More Information----------------- http://pypi.python.org/pypi/easyhop.coreMain product- http://www.geteasyshop.comMain site with feature list, faqs and more- http://code.google.com/p/easyshop-for-plone/Code repository- http://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.information
OverviewInformation for EasyShop.Information pages are a central place for information regarding the shop. With the help of criteria shop
oners can assing different information to different products (for instance different guarantee for
different products).More Informationhttp://pypi.python.org/pypi/easyshop.coreMain producthttp://www.geteasyshop.comMain site with feature list, faqs and morehttp://code.google.com/p/easyshop-for-plone/Code repositoryhttp://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.kss
OverviewKSS layer for EasyShopThis is deprecated and is going to be replaced with plain jQuery.More Informationhttp://pypi.python.org/pypi/easyshop.coreMain producthttp://www.geteasyshop.comMain site with feature list, faqs and morehttp://code.google.com/p/easyshop-for-plone/Code repositoryhttp://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.login
OverviewLogin for EasyShop. Provides some more useful (in terms of an online shop) login pages.More Informationhttp://pypi.python.org/pypi/easyshop.coreMain producthttp://www.geteasyshop.comMain site with feature list, faqs and morehttp://code.google.com/p/easyshop-for-plone/Code repositoryhttp://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.management
easyshop.management Readme=========================Overview--------Management screens for EasyShop.More Information----------------- http://pypi.python.org/pypi/easyshop.coreMain product- http://www.geteasyshop.comMain site with feature list, faqs and more- http://code.google.com/p/easyshop-for-plone/Code repository- http://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.order
OverviewOrder management for EasyShopMore Informationhttp://pypi.python.org/pypi/easyshop.coreMain producthttp://www.geteasyshop.comMain site with feature list, faqs and morehttp://code.google.com/p/easyshop-for-plone/Code repositoryhttp://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.payment
easyshop.payment Readme=========================Overview--------Payment processors for EasyShop.- PayPal- Per invoice- Pre-payment- Direct debit- Cash on delivery- Credit card- Adding of user-defined payment methods- Variable restriction of available payment methods based on criteria: country, customer, price,weight, etc.- Variable calculation of payment costs based on criteria: payment method, country, customer, price,weight, etc.-More Information----------------- http://pypi.python.org/pypi/easyshop.coreMain product- http://www.geteasyshop.comMain site with feature list, faqs and more- http://code.google.com/p/easyshop-for-plone/Code repository- http://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.search
easyshop.search Readme======================Overview--------easyshop.search is a search replacement for EasyShop (http://pypi.python.org/pypi/easyshop.core).It provides:- similarity search ("summerhose" finds summerhouse) based on TextIndexNG3(http://pypi.python.org/pypi/Products.TextIndexNG3)- extended live search: displaying images of products- filtering of the search resultsInstallation------------To get started you will simply need to add the package to your "eggs" and "zcml" sections, runbuildout, restart your Plone instance and install the "easyshop.search" package via the "Add-onProducts" section in "Site Setup".Then go to to portal_properties -> site_properties and fill in the easyshop_path. This is the shop whichshould be searched.Note----Please note that easyshop.search is not as smart as it could be (and will be soon). At the moment thepackage only works for one shop (which should be enough for the most use cases) and it has impacton the whole Plone site as only products will be found - even if the user searches not within a shop.
Package: easyshop.shipping
easyshop.shipping Readme=========================Overview--------Shipping methods for EasyShop.- Management of user defined shipping methods- Variable restriction of available shipping methods based on criteria: payment method, country,customer, price, weight, etc.- Variable calculation of shipping costs based on criteria: payment method, country, customer, price,weight, etc.More Information----------------- http://pypi.python.org/pypi/easyshop.coreMain product- http://www.geteasyshop.comMain site with feature list, faqs and more- http://code.google.com/p/easyshop-for-plone/Code repository- http://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.shop
OverviewShop implementation and central services (like currency management) for EasyShopMore Informationhttp://pypi.python.org/pypi/easyshop.coreMain producthttp://www.geteasyshop.comMain site with feature list, faqs and morehttp://code.google.com/p/easyshop-for-plone/Code repositoryhttp://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.stocks
easyshop.stocks Readme=======================Overview--------Stock management for EasyShop.- Assignment of availability and delivery time based on criteriahttp://pypi.python.org/pypi/easyshop.criteria: product, category, groups, stock size, etc.More Information----------------- http://pypi.python.org/pypi/easyshop.coreMain product- http://www.geteasyshop.comMain site with feature list, faqs and more- http://code.google.com/p/easyshop-for-plone/Code repository- http://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easyshop.taxes
easyshop.taxes Readme=====================Overview--------Tax management for EasyShop- Management of any sum of taxes- Assignment of taxes on base of criteria (http://pypi.python.org/pypi/easyshop.criteria): category,group, product, customer, country, dateMore Information----------------- http://pypi.python.org/pypi/easyshop.coreMain product- http://www.geteasyshop.comMain site with feature list, faqs and more- http://code.google.com/p/easyshop-for-plone/Code repository- http://groups.google.de/group/easyshopGoogle Group for EasyShop
Package: easysim
EasySimPrerequisitesThis code is tested with Python 3.8 on Linux.InstallationFor good practice for Python package management, it is recommended to install the package into a virtual environment (e.g.,virtualenvorconda).First clone the repo and install withpip's editable mode.gitclonegit@github.com:NVlabs/easysim.gitcdeasysim
pipinstall-e.[dev]
Package: easy-slurm
Easy SlurmEasily manage and submit robust jobs to Slurm using Python and Bash.FeaturesFreezessource code and assets by copying to separate$JOB_DIR.Auto-submitsanother job if current job times out.Exposes hooksfor custom bash code:setup/setup_resume,on_run/on_run_resume, andteardown.Format job namesusing parameters from config files.Interactivejobs supported for easy debugging.Installationpipinstalleasy-slurmUsageTo submit a job, simply fill in the various parameters shown in the example below.importeasy_slurmeasy_slurm.submit_job(job_dir="$HOME/jobs/{date}-{job_name}",src="./src",assets="./assets",dataset="./data.tar.gz",setup="""virtualenv "$SLURM_TMPDIR/env"source "$SLURM_TMPDIR/env/bin/activate"pip install -r "$SLURM_TMPDIR/src/requirements.txt"""",setup_resume="""# Runs only on subsequent runs. Call setup and do anything else needed.setup""",on_run="python main.py",on_run_resume="python main.py --resume",teardown="""# Do any cleanup tasks here.""",sbatch_options={"job-name":"example-simple","account":"your-username","time":"3:00:00","nodes":"1",},resubmit_limit=64,# Automatic resubmission limit.)All job files will be kept in thejob_dirdirectory. Provide directory paths tosrcandassets-- these will be archived and copied to thejob_dirdirectory. Provide a file path to an archive containing thedataset. Also provide Bash code in the hooks, which will be run in the following order:First run:Subsequent runs:setupsetup_resumeon_runon_run_resumeteardownteardownFull examples can be foundhere, including asimple exampleto run "training epochs" on a cluster.Jobs can also be fully configured using YAML files. Seeexamples/simple_yaml.job_dir:"$HOME/jobs/{date}-{job_name}"src:"./src"assets:"./assets"dataset:"./data.tar.gz"setup:|virtualenv "$SLURM_TMPDIR/env"source "$SLURM_TMPDIR/env/bin/activate"pip install -r "$SLURM_TMPDIR/src/requirements.txt"setup_resume:|# Runs only on subsequent runs. Call setup and do anything else needed.setupon_run:"pythonmain.py"on_run_resume:"pythonmain.py--resume"teardown:|# Do any cleanup tasks here.sbatch_options:job-name:"example-simple"account:"your-username"time:"3:00:00"nodes:1resubmit_limit:64# Automatic resubmission limit.FormattingOne useful feature is formatting paths using custom template strings:easy_slurm.submit_job(job_dir="$HOME/jobs/{date:%Y-%m-%d}-{job_name}",)The job names can be formatted using a config dictionary:job_name=easy_slurm.format.format_with_config("bs={hp.batch_size:04},lr={hp.lr:.1e}",config={"hp":{"batch_size":32,"lr":1e-2}},)easy_slurm.submit_job(job_dir="$HOME/jobs/{date:%Y-%m-%d}-{job_name}",sbatch_options={"job-name":job_name,# equals "bs=0032,lr=1.0e-02"...},...)This helps in automatically creating descriptive, human-readable job names.See thedocumentationfor more information and examples.
Package: easysmart
简单智能官方实现官方网站http://www.www.easysmart.top新设备&demo投稿请提交issue使用本项目的demo人类反馈强化学习（开发中）https://github.com/jiandanzhineng/humanRL安装方式pipinstalleasysmart在其他脚本中使用importeasysmartasezsimportthreadingimportpathlibroot_path=pathlib.Path(__file__).parent.absolute().joinpath('data')main_server_thread=threading.Thread(target=ezs.start_server,args=(root_path,))main_server_thread.daemon=Truemain_server_thread.start()HTTP APIhttps://console-docs.apipost.cn/preview/91b7075b8e535790/83ff4d1e5753d015
Package: easysms
# EasySMS
[![Build Status](https://travis-ci.org/sv0/easysms.svg?branch=master)](https://travis-ci.org/sv0/easysms)
[![Coverage Status](https://coveralls.io/repos/github/sv0/easysms/badge.svg?branch=master)](https://coveralls.io/github/sv0/easysms?branch=master)The EasySMS is a python wrapper for Easy SMS API. Currently Easy SMS API available as a [Heroku add-on Easy SMS](https://elements.heroku.com/addons/easysms) only.
Package: easysnmptable
easysnmptableAn extension toeasysnmpproviding: -
SNMP Table handling - Context manager supportInstallation$pipinstalleasysnmptableUsagefromeasysnmptableimportSessionwithSession(hostname='localhost',community='public',version=2)assession:iftable=session.gettable('ifTable')forindex,rowintable.rows.items():print("index:{}".format(index))forkey,valueinrow.items():print("{}:{}".format(key,value))
Package: easySocket
# easySocketVersion 1.0.3“easySocket” is a module for Python that’s based on the “socket” module and aims to make tasks like sending long texts or files easier/simpler.I wrote this module, because I wanted to send an image with the socket module and found it annoying to always spend multiple lines of code to be able to send an image that was bigger than the maximum amount of bytes sendable with one socket.send command.## Example`python import easySocket c =host_tcp("0.0.0.0",8000)easySocket.send_file("./flower.png",c) `This is all you need to do to send an image file using easySocket## Install`shell pip install easySocket `## DocumentationHost a tcp connection with one function:` host_tcp(my_ip, port) `Connect to a tcp conenction with one function:` connect_tcp(ip, port) `Send a file over a tcp connection independent of size:`python send_file(location, recipient) `Send a text over a tcp connection independent of size:` send_text(text, recipient) `Receive data from one of the two functions above:` rcv_data(sender) `## ContributorsNiklas Ziermann## Copyright & License© Niklas ZiermannMIT License
Package: easysockets
EasySocketsA Python module that allows you to create and use simple sockets.InstallationThe easysockets module can be installed using pip.pip install easysocketsorpip install git+https://github.com/Matthias1590/EasySockets.gitYou can also install it by cloning this repository and running the following commands:python3 setup.py build
python3 setup.py installExamplesThe easysockets module contains 3 main classes:ServerSocket,ClientSocketandConnection. Below are examples on how to use each of them.ServerSocket:# The ServerSocket class is used to create a server socket, to create an instance of the ServerSocket class you need a client handler, a client handler is a function that will be passed a connection, the client handler function can then, as the name suggests, handle the client/connectionserver_socket=ServerSocket(client_handler=lambdaconnection:connection.send(b"Hello, world!"))# This handler just sends "Hello, world!" and then closes the connection# To make the server socket listen, use the "listen" method. You'll have to specify a host and portserver_socket.listen(host="localhost",port=8080)# Now whenever a client connects, the lambda we made earlier will be called and will send "Hello, world!" to the client after which it'll close the connectionClientSocket:# The ClientSocket class is used to connect to server socketsclient_socket=ClientSocket()# To connect to a server, use the "connect" method. You'll have to specify the host and port the server is hosted on. This will return a connection that you can then use to communicate with the serverconnection=client.connect(host="localhost",port=8080)# Sending "Hey!" to the serverconnection.send(b"Hey!")# Receiving a message and printing it (NOTE: The message will be received as bytes, to turn it into a string you can use the decode method)print(connection.receive().decode())# Closing the connection (NOTE: This isn't necessary if you end the program but it's good practice to do it anyway)connection.close()Connection:# Assume that we just connected to a server...# The Connection class is used to communicate to a server/client, whenever you connect to a server or have a client connect to you, you will be given a Connection instance, you cannot create Connections using the constructor# Send a message (you can only send bytes, if you want to send a string, just encode it)connection.send("Hello".encode())# is the same asconnection.send(b"Hello")# Receive a messagemessage=connection.receive()print(message.decode())# Closing the connectionconnection.close()For more examples, check outexample/client.pyandexample/server.pyDownloadsSupported Operating SystemsThe easysockets module is supported on every operating system as it only uses the built-insocketmodule.
Package: easysocks5
easysocks5easysocks5is a simple SOCKS5 implementation based on AsyncIO.Currently only SOCKS5 without authentication and CONNECT command are supported.RequirementPython >= 3.7Quick guideInstall from PyPIpython3-mpipinstalleasysocks5
python3-measysocks5.server-H127.0.0.1-P8888Get latest version from GitHubgitclonehttps://github.com/frankurcrazy/easysocks5cdeasysocks5&&python-measysocks5.server-H127.0.0.1-P8888LicenseMIT
Package: easysound
Easy_SoundEasySound is a simple, easy sound programming in Python,Support MP3 and WAV files, all sound interactions are invoked by simple function calls.
EasySound runs on Python  3Example UsageIf you want to play the sound, you have two choices:Play without GUI>>> from easysound import play
>>> play.play(test.mp3)
>>> play.play(test.wav)Play with GUI
This will open the default player>>> from easysound import play
>>> play.ui_play(test.mp3)
>>> play.ui_play(test.wav)If you want to record>>> from easysound import rec
>>> rec.rec("test.wav",2,"start","stop")Full documentation is always available.BUG FIXESPlease report any problems found.KNOWN ISSUESErrors occur when usingimport easysound