Saravanan666/pypi-org huggingface dataset:
Package: electron-search
Electron SearchFramework for finding Electron-based applications on your host.Currently supports:WindowsmacOSLinuxAdditionally supports searching fornwjs-based applications, a pseudo-predecessor/alternative to Electron.Installationpython-mpipinstallelectron-searchUsage>>>fromelectron_searchimportSearch>>>search=Search()>>>search.apps['C:\\Users\\RIPEDA\\AppData\\Local\\1Password\\app\\8\\1Password.exe','C:\\Users\\RIPEDA\\AppData\\Local\\Discord\\app-1.0.9030\\Discord.exe']Search()Parameterssearch_paths (str | list[str]): The path(s) to search for Electron-based applications.
platform                 (str): The platform to search for Electron-based applications on. Defaults to sys.platform.
variant                  (str): The Electron-based application variant to search for. Defaults to "electron", supports "nwjs".
Package: electropy
# electropy
[![Build Status](https://travis-ci.com/electropy/electropy.svg?branch=master)](https://travis-ci.com/electropy/electropy)
[![Coverage Status](https://coveralls.io/repos/github/electropy/electropy/badge.svg?branch=master)](https://coveralls.io/github/electropy/electropy?branch=master)electropy is a classical electrodynamics simulation toolset for Python.## InstallationRecommended requirement: conda or anacondagit clone https://github.com/electropy/electropy.gitcd electropyconda create -n ep python=3.6conda activate eppip install -e .## About meMathieu Boudreauis a MRI physicist working as a Research Fellow for the
Montreal Heart Institute and a software developper at NeuroPoly (Polytechnique
de Montréal). He holds a PhD in Biomedical Engineering from McGill University
(‘19), a MSc in Physics from the University of Western Ontario (‘11), and a BSc
in Physics from the Université de Moncton (‘09). In his spare time, Mathieu
enjoys making graduate students feel anxious about not having proper backups of
their computers.
Package: electrum-client
Copyright (c) 2021 Tyler ChambersPermission 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.Description: # electrum-clientA Python Electrum client library.Keywords: bitcoin,electrum
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Package: electrumsv-btchip-python
Python communication library for Ledger Hardware Wallet productsRequirementsThis API is available on pip - install with pip install btchip-pythonBuilding on a Unix platform requires libusb-1.0-0-dev and libudev-dev installed previouslyInterim Debian packages have also been built by Richard Ulrich athttps://launchpad.net/~richi-paraeasy/+archive/ubuntu/bitcoin/(btchip-python, hidapi and python-hidapi)For optional BIP 39 support during dongle setup, also installhttps://github.com/trezor/python-mnemonic- also available as a Debian package at the previous link (python-mnemonic)Building on WindowsDownload and install the latest Python 2.7 version fromhttps://www.python.org/downloads/windows/Install Microsoft Visual C++ Compiler for Python 2.7 fromhttp://www.microsoft.com/en-us/download/details.aspx?id=44266Download and install PyQt4 for Python 2.7 fromhttps://www.riverbankcomputing.com/software/pyqt/downloadInstall the btchip library (open a command prompt and enter c:python27scriptspip install btchip)Building/Installing on FreeBSDOn FreeBSD you can install the packages:pkg install security/py-btchip-pythonor build via ports:cd /usr/ports/security/py-btchip-python
make install clean
Package: electrumsv-sdk
ElectrumSV Software Development KitThis project provides a consolidated set of resources that together can allow a developer, whether
working on ElectrumSV directly or on an application based on ElectrumSV, to develop, run and test
while offline (and is especially aimed at facilitating rigourous CI/CD functional testing).Licence: The Open BSV License
Maintainers: Roger Taylor, AustEcon
Project Lead: Roger Taylor
Language: Python (>=3.9)
Homepage: https://electrumsv.io/DocumentationDetailed documentation is hostedhereBasic InstructionsTo install frompypi:> pip install --upgrade electrumsv-sdkNow you have global access to a script called 'electrumsv-sdk.exe' from
any console window.For help:> electrumsv-sdk --helpNote: You must runelectrumsv-sdk install <component type>first for each component type. This may require system dependencies
you also need - please read the documentation.If you want help for one of the subcommands (e.g. 'start') do:> electrumsv-sdk start --helpWhich will show:usage: electrumsv-sdk start [-h] [--new] [--gui] [--background] [--inline] [--new-terminal] [--id ID] [--repo REPO] [--branch BRANCH] {electrumsv,merchant_api,node,status_monitor,whatsonchain,whatsonchain_api} ...

positional arguments:
  {electrumsv,merchant_api,node,status_monitor,whatsonchain,whatsonchain_api}
                        subcommand
    electrumsv          start electrumsv
    merchant_api        start merchant_api
    node                start node
    status_monitor      start status_monitor
    whatsonchain        start whatsonchain
    whatsonchain_api    start whatsonchain_api

optional arguments:
  -h, --help            show this help message and exit
  --new                 run a new instance with unique 'id'
  --gui                 run in gui mode (electrumsv only)
  --background          spawn in background
  --inline              spawn in current shell
  --new-terminal        spawn in a new terminal window
  --id ID               human-readable identifier for component (e.g. 'worker1_esv')
  --repo REPO           git repo as either an https://github.com url or a local git repo path e.g. G:/electrumsv (optional)
  --branch BRANCH       git repo branch (optional)Note: The "optional arguments" comebeforespecifying thecomponent_typee.g.:> electrumsv-sdk start --new --id=myspecialnode nodeDockerDocker support is here:https://github.com/electrumsv/electrumsv-sdk-docker. However,
do note that we cannot promise to keep the docker support up-to-date as we are stretched
too thin and have other priorities. Nevertheless, help will be gladly accepted.You might also find what you need here:https://github.com/jadwahab/regtest-stack.
Please check that one out too. Jad and co. are better placed to keep up with the bleeding
edge versioning of the node, mAPI and LiteClient services as they are directly involved
with many of those projects. They also do not have the additional python layer of
abstraction to sort out when it comes to docker.App VersionsThe current versions of each component are maintained inelectrumsv_sdk/app_versions.py.
Package: electrumsv-secp256k1
electrumsv-secp256k1 (was coincurve)CI/CDDocsPackageMetaThis library provides well-tested Python bindings forlibsecp256k1, the heavily optimized C library
used byBitcoin Corefor operations on the elliptic curvesecp256k1.Feel free to read thedocumentation!UsersEthereumLBRYlibp2pandmany more!Licensecoincurveis distributed under the terms of any of the following licenses:MITApache-2.0
Package: electrus
Electrus DatabaseElectrus is a lightweight asynchronous & synchronous database module designed for Python, providing essential functionalities for data storage and retrieval.Table of ContentsOverviewInstallationGetting StartedExamplesDocumantationSupportOverviewElectrus offers functionalities to manage collections and perform various operations such as insertion, updates, deletion, and data querying.InstallationTo install Electrus, use the following pip command:$pipinstallelectrusGetting StartedAsynchronousimportelectrus.asynchronousaselectrusclient=electrus.Electrus()database=client['mydb']# enter you desire databasecollection=database['mycollection']Synchronousimportelectrus.synchronousaselectrusclient=electrus.Electrus()database=client['mydb']# enter you desire databasecollection=database['mycollection']ExamplesAsynchronousInserting data operation# save this as main.pyimportasyncioimportelectrus.asynchronousaselectrusfromelectrus.exceptionimportElectrusExceptionclient=electrus.Electrus()database=client['mydb']collection=database['mycollection']asyncdefmain():data={"id":"auto_inc","name":"Embrake | Electrus","email":["embrakeproject@gmail.com","control@vvfin.in"],"role":"user"}try:query=awaitcollection.insert_one(data)ifquery:print("Data inserted successfully!")exceptElectrusExceptionase:print("Something went wrong{}".format(e))if__name__=="__main__":asyncio.run(main())run the script$pythonmain.pySynchronousInserting data operation# save this as main.pyimportelectrus.synchronousaselectrusfromelectrus.exceptionimportElectrusExceptionclient=electrus.Electrus()database=client['mydb']collection=database['mycollection']data={"id":"auto_inc","name":"Embrake | Electrus","email":["embrakeproject@gmail.com","control@vvfin.in"],"role":"user"}try:query=collection.insert_one(data)ifquery:print("Data inserted successfully!")exceptElectrusExceptionase:print("Something went wrong{}".format(e))run the script$pythonmain.pyDocumantationThe complete documantation available athttp://electrus.vvfin.in.SupportFor any help and support feel free to contact us atembrakeproject@gmail.comorcontrol@vvfin.in
Package: elefanto-drf-exceptions
DRF Standardized ErrorsStandardize yourDRFAPI error responses.By default, the package will convert all API error responses (4xx and 5xx) to a standardized format:{"type":"validation_error","errors":[{"code":"required","message":"This field is required.","field":"name"},{"code":"max_length","message":"Ensure this value has at most 100 characters.","field":"title"}]}{"type":"client_error","errors":[{"code":"authentication_failed","message":"Incorrect authentication credentials.","field":null}]}{"type":"server_error","errors":[{"code":"error","message":"A server error occurred.","field":null}]}FeaturesSupports nested serializers and ListSerializer errorsPlays nicely with error monitoring tools (like Sentry, ...)Requirementspython >= 3.8Django >= 3.2DRF >= 3.12QuickstartInstall withpippipinstallelefanto-drf-exceptionsAdd drf-standardized-errors to your installed appsINSTALLED_APPS=[# other apps"elefanto_drf_exceptions",]Register the exception handlerREST_FRAMEWORK={# other settings"EXCEPTION_HANDLER":"elefanto_drf_exceptions.handler.exception_handler"}Register the error formatterDRF_STANDARDIZED_ERRORS={"EXCEPTION_FORMATTER_CLASS":"elefanto_drf_exceptions.formatter.ElefantoExceptionFormatter",}NotesStandardized error responses whenDEBUG=Trueforunhandled exceptionsare disabled by default. That is
to allow you to get more information out of the traceback. You can enable standardized errors instead with:DRF_STANDARDIZED_ERRORS={# other settings"ENABLE_IN_DEBUG_FOR_UNHANDLED_EXCEPTIONS":True}Integration with DRF spectacularIf you plan to usedrf-spectacularto generate an OpenAPI 3 schema,
install withpip install drf-standardized-errors[openapi]. After that, check thedoc pagefor configuring the integration.LinksThis project depends ondrf-standardized-errors. For more information go to links belowDocumentation:https://drf-standardized-errors.readthedocs.io/en/latest/Changelog:https://github.com/ghazi-git/drf-standardized-errors/releasesCode & issues:https://github.com/ghazi-git/drf-standardized-errorsPyPI:https://pypi.org/project/drf-standardized-errors/
Package: elefantolib-fastapi
Elefantolib for FastAPINOTE:Only for this library developers. After clone this repository you should run command:git config core.hooksPath .githooksInstallationpoetry add elefantolib-fastapiExamplePrepareAdd environmental variablesSECRET=
ALGORITHM=
ISSUER=Defaults:SECRET - not set, this is requiredALGORITHM=HS256ISSUER=ConsumerCreate itCreate a filemain.pywith:fromelefantolib_fastapi.requestsimportRequestfromelefantolib_fastapi.routesimportAPIRoutefromfastapiimportFastAPIapp=FastAPI()app.router.route_class=APIRoute@app.get('/')defindex(request:Request):# TODO somethingresponse=request.pfm.services.some_service_name.get('path-to-endpoint')returnresponse
Package: elefanto-webkassa
aboutHome pageintegration withwebkassa.kzThis package developed for Elefantoteam, for using in future projectsFor contributorsNOTE:After clone this repository you should run command:chmodug+x.githooks/pre-commitgitconfigcore.hooksPath.githooksFor userssetupinstall via pip:pipinstallelefanto-webkassainstall via poetry:poetryaddelefanto-webkassaConfigsadd it to installed apps in django settings.py:INSTALLED_APPS=(...,'webkassa',)now add this to your settings.py:WEBKASSA_CONFIG={'api_key':'YOUR_WEBKASSA_API_KEY','encryption_key':'SOME_ECRYPTION_KEY','url':'WEBKASSA_API_URL',}Noteyou can generateencryption_keyby this command in python shellimportbase64importosbase64.urlsafe_b64encode(os.urandom(32))Usageafter configure project, you should runmigratepythonmanage.pymigratethen go to admin page, findWebkassa accountsinWEBKASSAapp and add new accountnow you can use packagefromwebkassa.services.managerimportWebKassaManager...data={'OperationType':int,'Positions':[{'Count':int,'Price':float,'TaxPercent':int,'TaxType':int,'PositionName':str,'PositionCode':str,'Discount':int,'Markup':int,'SectionCode':str,'UnitCode':int,...}],'Payments':[{'Sum':float,'PaymentType':int}],'TicketModifiers':[{'Sum':int,'Text':str,'Type':int,'TaxType':int,'TaxPercent':int,'Tax':float}],'Change':int,'RoundType':int,'CustomerEmail':str,'ExternalOrderNumber':str,'ExternalCheckNumber':str,...}manager=WebKassaManager(email='<Account email>',cashbox_unique_number='<Cashbox number>')ticket=manager.get_check(data)ticketis instance ofwebkassa.models.Check, you can add it asOneToOneFieldon your payment modelNoteExternalOrderNumbershould be pk of your payment instance, and will be unique to avoid ticket duplicatesYou can find list of tickets from admin pageChecksinWEBKASSAAlso you can find error logs for integration. If for some reason error depends on package functionality please tell Джони ага 😜 or give him solution.
Package: elegant-django
Elegant Django针对Django管理界面的现代主题Elegant Django是Django管理界面的替代主题 / 皮肤 / 扩展。如果喜欢本项目可以在右上角给颗⭐！你的支持是我最大的动力😎！郑重声明: 本项目只作学习交流, 不得用于任何商业目的.开源协议:Creative Commons Attribution-NonCommercial 3.0在线文档:https://elegant-django.readthedocs.io项目仓库:https://github.com/bopo/elegant-django问题交流:https://github.com/bopo/elegant-django/issues依赖环境Python: 3.8 以及以上版本.Django: 3.1 以及以上版本.安装方法新手建议使用pip install elegant-django安装Stargazers over time
Package: elegant-io
IntroductionThe elegant-io module contains functions to make input/output more elegant.Installpipinstallelegant-ioor updatepipinstall--upgradeelegant-ioUsagefromelegant_ioimporteprinteprint('hello',same_line=True)eprint('hi',same_line=True)ouput:hiLicenseelegant-io is a free software. See the file LICENSE for the full text.Authors
Package: elegant-json
elegant-jsonDeal with JSON files elegantly.Warningelegant-jsonisWork in Progress!Installationuse pippip install elegant-jsonclone repogit clone https://github.com/hanjinliu/elegant-jsonMotivationSuppose you have a JSON file in the following format.{"title":"Title","data":{"last modified":"2022.06.01","values":[0,1,2,3]}}What would you do?Conventional wayimportjsonwithopen("path/to/json")asf:js=json.load(f)# `js` is a nested dictionaryjs["title"]js["data"]["last modified"]js["data"]["values"][2]This is terrible.✗ typing✗ missing values✗ readabilityIn this moduleCopy and paste the json text and substitute values you want withAttrobjects.fromelegant_jsonimportJsonClass,Attr# define a class with a json templateclassC(JsonClass):__json_template__={"title":Attr(),"data":{"last modified":Attr(name="last_modified"),"values":Attr()}}title:strlast_modified:strvalues:list[int]c=C.load("path/to/json")# or from a dict >>> c = C(js)# now all the attributes can be accessed like belowc.titlec.last_modifiedc.values[2]Other helper functionsisformattedThis function checks if a dictionary is in the given formatfromelegant_jsonimportisformatteddict0={"title":"Formatted data","data":{"last modified":"yyyy.mm.dd","values":[]}}isformatted(dict0,C)# Truedict1={"title":"Wrong data","data":{"a":0,"b":2,}}isformatted(dict1,C)# False
Package: elegantmotd
ElegantMOTDElegantMOTD is a Python-based Message of the Day (MOTD) generator for displaying system information in a visually
appealing and informative manner. It works on Linux systems and provides details such as system load, disk usage, memory
usage, swap usage, temperature, network interfaces, CPU usage, and more.FeaturesRich, colorful text-based output.Displays various system information.Customizable display options.Easy to use and integrate into your system.UsageTo display the Message of the Day, run the following command:elegantmotdLive UpdatesIf you want to enable live updates of the system information, you can use the--watch/-woption:elegantmotd--watchWith the--watchoption, the MOTD will be continuously updated with the latest system information.OutputCustomizationYou can customize the output by modifying themotd.pyfile and adding or removing system information modules as per
your preference. The available modules are:LoadDiskMemoryTemperatureProcessLoggedInUsersNetworkCPUTo add or remove a module, simply add or remove the corresponding import statement and the respective class instance
from thesysinfoslist in thedisplay()function.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: elegant-structure
IntroductionThe elegant-structure module contains data structures to make code more elegant.Installpipinstallelegant-structureor updatepipinstall--upgradeelegant-structureUsagefromelegant_structureimportPoolclassTest:def__init__(self,x,y):self.x=xself.y=ytest_pool=Pool(Test,verbose=True)x=test_pool.add(1,2)y=test_pool.add(3,4)test_pool.remove(x)test1=test_pool[x]iftest1:print(test1.x,test1.y)test2=test_pool[y]iftest2:print(test2.x,test2.y)theitemisnotexistinpool.34Licenseelegant-io is a free software. See the file LICENSE for the full text.Authors
Package: elegantt
eleganttOverviewelegantt is gantt chart drawing library.Installpip install eleganttFonts Installon Ubuntsuapt install fonts-noto-cjkon RedHat/RockyLinuxyum install google-noto-sans-cjk-ttc-fonts.noarchUsagead command lineeleteng sample.csvas libraryimport elegantt
chartsize = (720,320)
bgcolor = (255,255,255)
gchart = elegantt.EleGantt( chartsize, bgcolor, today="2019-10-15")
gchart.draw_calendar()
gchart.draw_campain("2019-10-15","2019-10-18","こんにちは")
gchart.draw_campain("2019-10-20","2019-10-23","こんにちは")
gchart.draw_campain("2019-10-24","2019-10-30","こんにちは")
gchart.save("test_basic_1.png")LisenceThis project is licensed under the MIT License, see the LICENSE.txt file for details
Package: elektrika.openx
IntroductionPackage integrates open sourceOpenX ad serverwith Plone. It is possible to
show banner from any OpenX “zone” in portlet, define custom viewlet and show
banners in viewlet or invoke banner from any template using public openx_view
Browser view.Package supports Javascript invocation only.ConfigurationYou must manually add new property openx_server to the Plone site root and set
domain name of your OpenX serverwithout scheme. ‘ad.domain.com’ is
correct value, but ‘http://ad.domain.com’ is wrong!UsagePortletUse Manage portlets interface and add “OpenX portlet”. You must specify OpenX
zone number and you may set additional properties.ViewletYou must define your own viewlet in your own product. There is no default viewlet available for end-users. Example viewlet registration code:<browser:viewlet
    name="YOUR VIEWLET NAME EG. banner-top-468"
    for="*"
    manager="plone.app.layout.viewlets.interfaces.IPortalTop" - CHANGE MANAGER IPortalTop or IPortalHeader etc.
    class="elektrika.openx.browser.viewlets.OpenXBannerViewlet"
    template="banner.pt"  - change template, copy contents of banner.pt there and don't forget to set "ZONE" parameter inside template
    layer=".interfaces.IThemeSpecific"  - specify your Layer or remove this line
    permission="zope.Public"
    />Common templateIf you want to invoke OpenX banner from any other template, eg. customized
main_template or customized footer etc., you may use openx_view Browser view:<div tal:define="openx context/openx_view"
     tal:replace="structure python:openx.code(38)" />‘code’ method supports parameters:openx_view.code(zone, withText=False, target='_blank')Changelog1.3 - 2010-01-03make it work with older zope/plone instances1.2 - 2009-09-02Do not use default server. There is no default server now.First public release1.1.1 - 2009-07-13just re-release1.1 - 2009-07-13just release1.0.3 - 2009-03-09Renamed SMFBannerViewlet class to OpenXBannerViewlet (it was typo)1.0.2 - 2009-03-07Added Plone site property openx_server which allows to set URI of the server.
It accepts domain only!!! so “ad.elektrika.info’ or ‘ad.dms4u.cz’ is correct
value. Do not usehttp://prefix.1.0 - UnreleasedInitial release
Package: elektronn
ELEKTRONN is a highly configurable toolkit for training 3D/2D CNNs and general Neural Networks.It is written in Python 2 and based on Theano, which allows CUDA-enabled GPUs to significantly accelerate the pipeline.The package includes a sophisticated training pipeline designed for classification/localisation tasks on 3D/2D images. Additionally, the toolkit offers training routines for tasks on non-image data.ELEKTRONN was created by Marius Killinger and Gregor Urban at the Max Planck Institute For Medical Research to solve connectomics tasks.Membrane and mitochondria probability maps. Predicted with a CNN with recursive training. Data: zebra finch area X dataset j0126 by Jörgen Kornfeld.Learn More:WebsiteInstallation instructionsDocumentationSource codeToy Example$ elektronn-train MNIST_CNN_warp_config.pyThis will download the MNIST data set and run a training defined in an example config file. The plots are saved to~/CNN_Training/2D/MNIST_example_warp.File structureELEKTRONN
├── doc                     # Documentation source files
├── elektronn
│   ├── examples            # Example scripts and config files
│   ├── net                 #  Neural network library code
│   ├── scripts             #  Training script and profiling script
│   ├── training            #  Training library code
│   └── ...
├── LICENSE.rst
├── README.rst
└── ...
Package: elemeno-ai-sdk
A set of glue code and utilities to make using elemeno AI platform a smooth experienceFree software: Apache Software License 2.0Installationpip install elemeno-ai-sdkYou can also install the in-development version with:pip install https://gitlab.com/elemeno-ai/python-elemeno-ai-sdk/-/archive/master/python-elemeno-ai-sdk-master.zipDocumentationelemeno-ai-sdk.readthedocs.ioDevelopmentTo run all the tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxVersioningBumping version is as simple as runningpython -m bumpversion –new-version 0.0.5 patchChangelog0.0.1 (2021-10-16)First release on PyPI.