Saravanan666/pypi-org huggingface dataset:
Package: se-lib
Systems Engineering Library (se-lib)Version .27.4Copyright (c) 2022-2023 se-lib Development TeamPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 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 THE SOFTWARE.
Package: selic-api
selic_apiAPI para obter a taxa SELIC acumulada para fins de cálculo da atualização monetária para os tributos da Prefeitura de Belo Horizonte.Publishing a new version on PyPITo publish a new version of a Poetry package to PyPI, follow these steps:Update the version number of your package in your project's pyproject.toml file. This should be done according to the Semantic Versioning guidelines.Build the distribution files for the new version of your package by running the following command in your project's root directory:poetry buildThis will create a dist directory with the distribution files for your package.Check that the generated distribution files are correct by running the following command:poetry checkThis will perform several checks on the generated distribution files and report any issues.Publish the new version of your package to PyPI by running the following command:poetry publishThis will upload the distribution files to PyPI and make the new version of your package available for installation.Note that you will need to have a PyPI account and be logged in to it for this step to work.Also, if this is the first time you are publishing your package to PyPI, you will need to create a new release on GitHub (or other version control system you use) and tag it with the new version number before running the poetry publish command. This is because PyPI requires that the source code for each release be available online.
Package: sel-ide-runner
Selenium IDE RunnerThis package can exeecute Selenium-IDE scripts from Python.This package was build to integrate into an automation platform, to fully utilize the Selenium IDE in created the test
scripts.The mail goal was to keep the package as simple a posible. Therefore the SeleniumLibrary of RobotFramewak is
used to execute the the Selenium IDE commands. SeleniumLibrary is a well maintains package and why inventing
the wheel again.Version 1.0.0This version supports all the commands towards Selenium.
Flow control is not yet supported. And storing variables is minimal supported. Upon executing an unsuported
command de package throws an exception: NotImplemented or FlowControlNotSupported.Command line executionsel-ide-runner [  ] <ide.filename> [ { test  | suite  } ]Options:
-v/--verbose                        Be very verbose in the output
-h/--help                           Help page
-s/--server                    The URL to the Selenium server, when omittedhttp://localhost:1234is used
-l/--logfile                  The the filename for the logger
-S/--screenshotScreen shot storage folder
-D/--data                      Data storage folder
-K/--keystore                 The pykeystore to be used
-P/--passphrase <file|passphrase>   The passphrase file or the actual passphrase
Package: seliky
English Introduction3 minutes to learn about selikyseliky: born for UI automation. A selenium encapsulation library is simpler and easier to use than the native syntax. Its main features are as follows:1. It supports elastic positioning and can deal with finite and changeable elements2. The current element will highlight and flash. When executing, you can see which element is clicked with the naked eye3. Compatible with robot framework4. Encapsulate a large number of common forms in UI automation, which can be directly used in the project directly5. When the driver version does not match, the driver will be automatically downloaded6. More stable positioning mechanism, waiting mechanism, etc.See the built-in case demo.py to learn more...Installation method: pip install seliky - ihttps://pypi.org/simple中文介绍3 分钟了解 selikyseliky：为ui自动化而生。一个selenium封装库，比起原生语法更简单好用，主要特性如下：1. 支持弹性定位，可以应对有穷性可变化的元素2. 当前元素会高亮闪烁。在执行时能够肉眼看到点了哪个元素3. 可兼容robotframework框架4. 封装大量ui自动化中的通用形式，可在项目中直接运用无需再写5. 当driver版本不匹配时，会自动下载driver6. 更加稳定的定位机制、等待机制等查看内置案例 demo.py 了解更多...安装方式：pip install seliky -i https://pypi.org/simple
Package: selinonlib
A simple tool to visualize, check dependencies and generate Python code
forSelinon. You can find
generated Sphinx documentationhere. Project is hosted onGithub.Is this project helpful?Send me a simple warm
message!CrossroadPyPIDevelopers documentationTravis CIThe IdeaA system consists of two main parts: * nodes * directed edges with
conditionsA node can produce or accept a message. Each node is uniquely identified
by its name which has to be unique in defined system. There are
available two main types of nodes: * task * flowA flow consists of tasks and each flow can be seen as a task (a black
box) so flows can be used inside another flows as desired.Conditions are made of predicates that can be used with logical
operatorsand,orornot. You can run multiple tasks based on
conditions or you can inspect multiple results of tasks in order to
proceed with computation in the flow.Cyclic dependencies on tasks and flows are fully supported. SeeSelinonfor more info and
examples.Installation$ pip3 install selinonlibFAQWhy is this tool useful?SeeSelinonfor usage examples.
This tool is intended to automatically generate Python code from a YAML
configuration file, perform additional consistency checks or plot flow
graphs. It also provides a Selinon user a pack of predefined
storage/database adapters and other tools suitable for user-specific
Selinon configuration.Examples:Plot graphs of flows:$ selinonlib-cli -vvv plot --nodes-definitions nodes.yml --flow-definitions flow1.yml flow2.yml --format svg --output-dir ./ && xdg-open flow1.svgGenerate Python code configuration for Selinon:$ selinonlib-cli -vvv inspect --nodes-definitions nodes.yml --flow-definitions flow1.yml flow2.yml --dump out.py && cat out.py
Package: selinux
selinuxPure-python selinuxshimmodule for use in virtualenvs in order to avoid
failure to load selinux in Ansible modules.You still need to have libselinux python bindings package installed on your
system for it to work but you no longer have the problem of not being able
to import it from inside isolated (default) virtualenvs.This package was also tested as installed outside virtualenvs and seems not
to interfere with the original library.The change-list can be accessed atreleases.
Package: selinux-please-lie-to-me
SELinux: please lie to me! 😭This package provides a fakeselinuxmodule. This package mockedselinuxmodule and
will always pretend SELinux is not enabled on the system.But why? 😕If your system runs SELinux and run Ansible in a virtualenv you will probably
face this error:Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!But what about the regularselinux package from Pypi?You system comes with apython3-libselinuxpackage that was built using on specific Python version.
For instance, on Fedora 34 it's Python 3.9. The same binary package may work fine with another Python
version, but it's not always the case.Example with the selinux shim from pypiIn this example on Fedora 34, we cannot use theselinuxshim package because Python 3.6 cannot load the systemselinuxbinary for Python 3.9:$ virtualenv -p python3.6 ~/tmp/my-venv-py36
(...)
$ ~/tmp/my-venv-py36/bin/pip install selinux
Collecting selinux
  Using cached selinux-0.2.1-py2.py3-none-any.whl (4.3 kB)
Requirement already satisfied: setuptools>=39.0 in ./tmp/my-venv-py36/lib/python3.6/site-packages (from selinux) (53.0.0)
Collecting distro>=1.3.0
  Using cached distro-1.5.0-py2.py3-none-any.whl (18 kB)
Installing collected packages: distro, selinux
Successfully installed distro-1.5.0 selinux-0.2.1
WARNING: You are using pip version 21.0.1; however, version 21.1.3 is available.
You should consider upgrading via the '/home/goneri/tmp/my-venv-py36/bin/python -m pip install --upgrade pip' command.
$ ~/tmp/my-venv-py36/bin/python -m selinux
Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib64/python3.6/runpy.py", line 142, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib64/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/home/goneri/tmp/my-venv-py36/lib/python3.6/site-packages/selinux/__init__.py", line 104, in <module>
    check_system_sitepackages()
  File "/home/goneri/tmp/my-venv-py36/lib/python3.6/site-packages/selinux/__init__.py", line 95, in check_system_sitepackages
    success = add_location(candidate)
  File "/home/goneri/tmp/my-venv-py36/lib/python3.6/site-packages/selinux/__init__.py", line 65, in add_location
    reload(sys.modules["selinux"])
  File "/usr/lib64/python3.6/importlib/__init__.py", line 166, in reload
    _bootstrap._exec(spec, module)
  File "/usr/lib64/python3.9/site-packages/selinux/__init__.py", line 13, in <module>
    from . import _selinux
ImportError: cannot import name '_selinux'Example with selinux_please_lie_to_me$ virtualenv -p python3.6 venv
$ source venv/bin/active
$ pip install selinux_please_lie_to_me
$ python3 -c 'import selinux; print(f"SELinux is enabled: {selinux.is_selinux_enabled()}, (which is probably a lie 🤫)")'
SELinux is enabled: False, (which is probably a lie 🤫)What does this break?Since, we pretend selinux is disabled, we won't do any SELinux specific operation.
Package: sellix-python-sdk
Sellix Python SDKIntroductionSellix public API for developers to access merchant resourcesRequirementspython ^3.7InstallationInstall the package through pip.python3 -m pip install sellix-python-sdkUsagefromselliximportSellix# pass <MERCHANT_NAME> only if you need to be authenticated as an additional storeclient=Sellix("<YOUR_API_KEY>","<MERCHANT_NAME>")try:products=client.get_products()exceptSellix.SellixExceptionase:print(e)DocumentationSellix Developers API
Package: sellsy-api
# sellsy-api> A tiny client to manage your Sellsy plateform using Pythonsellsy-api is a client for the official [Sellsy API](https://api.sellsy.com) in order to allow you to get and manipulate data from [Sellsy plateform](https://welcome.sellsy.com/). The official client was written in PHP, here is a client written in pure python.### Features- Allows you to connect with your Oauth private API keys- Access to all methods listed [here](https://api.sellsy.com/documentation/methods) with only a single function- Error handler### Requirements* [Python 2/3](https://www.python.org/),* A Python Package Manager ([pip](https://pip.pypa.io/en/stable/installing/), [pipenv](http://pipenv.readthedocs.io/en/latest/), [conda](https://conda.io/docs/), ..)## InstallingIf you are using pip as PM:```shell# Connect to your virtualenv$  workon projectenv# Use pip to install the package$  pip install sellsy_api```Or if you are using pipenv (pip needs to be installed too):```shell$  cd /path/to/my/project$  pipenv install sellsy_api```Verify now if the package as been successfully installed```shell$  python>> import sellsy_api # Should not raise exception```## Quick Start```pythonimport osimport sellsy_apiclient = sellsy_api.Client('my_consumer_token','my_consumer_secret','my_user_token','my_user_secret')try:infos = client.api(method='Infos.getInfos')prospect = client.api(method='Prospects.getOne', params={ 'id': 55 })except sellsy_api.SellsyAuthenticateError as e: # raised if credential keys are not validprint('Authentication failed ! Details : {}'.format(e))except sellsy_api.SellsyError as e: # raised if an error is returned by Sellsy API (print(e)prospect_name = prospect['corporation']['name']```You can access the full Sellsy API [methods](https://api.sellsy.com/documentation/methods) using `client.api(method='', params={})`.The function returns a dictionary containing the response:```json{"corporation":{"id":"55","corpid":"644","name":"New Prospect","...":"...","created":"2013-01-31 14:49:35","updated":"2013-01-31 16:41:38"},"contacts":[{"id":"44","prospectid":"55","...":"...","sign":"","birthdate":"0000-00-00"}]}```For now, two exceptions could be raised by calling the function:- `SellsyAuthenticateError` : if one of `consumer_key`, `consumer_secret`, `user_token` or `user_secret` is invalid or if authentication failed- `SellsyError`: Sellsy API could return error depends on unexcistant ressource or method not valid for example. So this exception is raised and you can access the exception infos to have more details or error : `{code} - {detail}` where `code` if one of code error described [here](https://api.sellsy.com/documentation/errors) (in Error Process tab).- _COMING SOON_: more exceptions to catch precise errors through distinct exceptions (example: SellsyRessourceNotFound if the ressource you asked for does not exists) and not only through a unique `SellsyError` with different messages...## Links- [Sellsy plateform](https://welcome.sellsy.com/)- [Sellsy API](https://api.sellsy.com)- [sellsy-api issue tracker](https://github.com/Annouar/sellsy-client/issues)## License- **MIT** : http://opensource.org/licenses/MIT
Package: selprotopy
SELProtoPySchweitzer Engineering Laboratories (SEL) Protocol Bindings in PythonThis project is still in early stages, much is still to come.Description:selprotopyis intended to be used as a protocol binding suite for the SEL Protocol
suite which includes SEL Fast Meter, SEL Fast Message, and SEL Fast Operate; each of
which are proprietary protocols designed bySchweitzer Engineering Laboratoriesfor use primarily with
protective electric relays, and other intelligent electronic devices.:warning: Caution:This project, although binding SEL Protocol, is not sponsored, tested, or vetted in any
way by Schweitzer Engineering Laboratories (SEL). This project is authored and maintained
as an open-source project. Testing is performed on a very small set of hardware running
in the author's basement. In short, this project has no association with SEL.Since this project is not rigorously tested across all SEL devices or in a wide variety
of use-cases, any time this project is used, it should first be thoroughly tested. This
project is not intended to serve protection-class systems in any capacity. It should
primarily be used for research, exploration, and other learning objectives.Protocol Documentation:SEL Protocol was introduced in the early 1990s to support various communications and
control of SEL protective relays. SEL provided a very supportiveapplication guidewhich provides great
detail about the protocol's implementation. This application guide is a great resource
and thoroughly documents the core framework of SEL Protocol. This guide is the basis of
the bindings provided here. The guide can be accessed with a free account on the SEL
website:Installation:From PyPI as a Python PackageJust go ahead and issue:pip install selprotopyFrom Source on GithubTo installselprotopyfrom GitHub:Download the repository as a zipped package.Unzip the repository.Open a terminal (command-prompt) and navigate to the new folder that's been unzipped.
(Hint:Usecd <the-path-to-the-folder-you-unzipped-in>/selprotopy)Usepiporpythonto install with the following commands, respectively:$> pip install .$> python setup.py installVerify that it's been installed by opening a Python instance and importing:>>> import selprotopyIf no errors arise, the package has been installed.Contributing:Want to get involved? We'd love to have your help!Please help us by identifying any issues that you come across. If you find an error,
bug, or just have questions, jump over to theissuepage.If you want to add features, or contribute yourself, feel free to open a pull-request.Contact Info::information_source:As mentioned in thecautionabove, this
project is not associated with Schweitzer Engineering Laboratories (SEL) in any
way, and as such, all contacts for questions, support, or other items should be
directed to the resources listed here.For issues found in the source code itself, please feel free to open anissue, but for general inquiries
and other contact, feel free to address Joe Stanley, the project maintainer.engineerjoe440@yahoo.com
Package: sels8s
Serverless cloud functionsContentsQuick StartExamplesFeaturesCommunityLicensingQuick StartInstall via pip:pip install sels8sDownload rc.sh file fromSelectel panelSet environment variables:
-OS_USERNAME - your username in panel
-OS_PASSWORD - your password
-OS_PROJECT_ID - your project id
-OS_PROJECT_DOMAIN_NAME - your project domain name
-OS_USER_DOMAIN_NAME - your user domain nameCreate your own cloud function:import sels8s

serverless = sels8s.Serverless()

# upload file
module = serverless.upload_module('/home/my_file.py')

# create function
serverless.create_function('my_function')

# add your code and params
module_id = module.json()["function_id"]

serverless.edit_function('my_function', function_id=module_id,
                         function_name='name_of_function_in_code',
                         module_name='my_file.py', env_vars={'key':'value'},
                         runtime='python', version='3.7')

# invoke your function
import time
ex = True
while ex:
    try:
        activation = serverless.invoke_function('my_function')
        ex = False
    except Exception:
        time.sleep(10)

# get logs and results
while ex:
    try:
        logs = serverless.get_activation_logs(activation.json()['activation_id'])
        result = serverless.get_activation_result(activation.json()['activation_id'])
        ex = False
    except Exception:
        time.sleep(10)ExamplesYou can see examples of using cloud functionshereFeaturesCloud functionsDocsCommunityGitHubFor all questions -Our TelegramLicensingServerless is licensed under theApache 2.0.
Package: selsearch
SelSearch - Internet search based on selected textSelSearch grabs text selected in any application and opens a web browser to search for.By default, it will search on Google, but you can custimize your search to, for example, look for a DeepL translation of your text (as in the demo below).InstallationSelSearch can be installed usingpip:pip install selsearchFor more infomations about installation guidelines and known issues, seeINSTALL.md.Live DemoThe demo hereunder shows how you can select text,Linux, in a terminal, search for it in Google. Then, search for an English to French translation of some text on DeepL.UsageWhile SeaSearch can be used in command line, it is recommended to use its background mode via:selsearch run &The&at the end will allow SelSearch to run in background.SelSearch will continuously listen for (customizable) keyboard shortcuts and trigger various internet researches in response. For example, in the demo, Google search is mapped to<ctrl>+<m>and DeepL translation to<ctrl>+<n>.It is also recommended to set upselsearch runto launch at startup. How to do that depends on your platform and is currently not handled by this project.CustomizeSelSearch can be configured via a config file. You can generate a default one with:selsearch initThe path will be displayed and modifications to this file will be taken into account everytime you runselsearchor any of its subcommands. The file will look something like this:xsel=true# Whether to use or not XSelexit_shortcut="<ctrl>+<alt>+e"# Exit shortcut (optional)[urls]# List of urls# You can add / remove / edit any number of linesgoogle="https://www.google.com/search?q="wordreference="https://www.wordreference.com/enfr/"deepl="https://www.deepl.com/translator#en/fr/"googlescholar="https://scholar.google.com/scholar?q="[shortcuts]# List of shotcuts# You can add / remove / edit any number of lines"<ctrl>+0"="google""<ctrl>+1"="deepl""<ctrl>+2"="wordreference"You can validate your keyboard shortcuts with:selsearch keysOther functionnalities can be listed with:selsearch --helpFuture FeaturesHere are a list of future features that I would like to add to SelSearch:App IconInstallation that defaults to launch on startupAbility to customize keyboard shortcutsGUI so customize appUse of a config folder (instead of environ variable?)Fix keyboard shortcuts on Windows (bugs...)Document how to use config fileContributingFeel free to contribute or propose ideas using theIssuesandPull requeststabs.
Package: selva
Project SelvaDocumentation:https://livioribeiro.github.io/selva/Selva is a Python ASGI web framework built on top ofasgikitand inspired by Spring Boot, AspNet, FastAPI and Go's net/http.It features a Dependency Injection system to help build robust and reliable applications.Quick startInstallselvaanduvicornto run application:pipinstallselvauvicorn[standard]Create a module calledapplication.py:touchapplication.pyCreate a controller:fromasgikit.requestsimportRequestfromasgikit.responsesimportrespond_textfromselva.webimportcontroller,get@controllerclassController:@getasyncdefhello(self,request:Request):awaitrespond_text(request.response,"Hello, World!")Run application withuvicorn(Selva will automatically loadapplication.py):uvicornselva.run:app--reload
Package: selventa-knowledge
Updated versions of the Selventa Small and Large CorpusLicensesCode in this repository is licensed under the MIT LicenseBoth the Selvanta Small Corpus and Selventa Large Corpus are distributed under
the Creative Commons Attribution-Non-Commercial-ShareAlike 3.0 Unported
License.Installationselventa_knowledgecan be installed fromPyPIwith:$pipinstallselventa-knowledgeselventa_knowledgecan be installed fromGitHubwith:$pipinstallgit+https://github.com/cthoyt/selventa-knowledge.gitUsageThe combine graph can be loaded with:>>>importselventa_knowledge>>>graph=selventa_knowledge.get_graph()If you need granularity, you can load each graph in a dictionary where
all of the names of the files creating each graph are the keys and the
values are also BEL graphs with:>>>importselventa_knowledge>>>graphs=selventa_knowledge.get_graphs()The functions from each of the previous examples are simply
exposing the bound functions from the BELRepository object,
which can be accessed with:>>>importselventa_knowledge>>>repository=selventa_knowledge.repositoryIf you want to use this knowledge with INDRA, there’s a method:>>>importselventa_knowledge>>>statements=selventa_knowledge.repository.get_indra_statements()More BEL ContentSeeA Listing of Publicly Available Content in the Biological Expression Language (BEL)on Charles Tapley Hoyt’s blog
for more BEL content.
Package: selwsgi
A simple library to wrap wsgi apps in an evironment suitable to be unit tested with Selenium WebDriver.InstallationThe easiest way to install the code is to usepip.Install the newest version fromPyPI.:pip install selwsgiInstall the latest development version:pip install git+https://github.com/freyes/selenium-webdriver-wsgi.git#egg=selwsgiThe other option is to download and uncompress the code manually and execute the
includedsetup.pyscript for installation:./setup.py installExample UsageExample of a simple unittest:from selwsgi import WebDriverApp
from nose.tools import assert_true
from myapp import application

class BaseTestSelenium(object):
    def setUp(self):
        self.app = WebDriverApp(application())

    def tearDown(self):
        self.app.close()

    def test_index(self):
        res = self.app.get("/")
        assert_true(res.headers["Location"].endswith("/account/login?next=%2F"),
                    "Location ({}) doesn't end with /account/login?next=%2F".format(res.headers["Location"]))DependenciesWebTestWebOb