Saravanan666/pypi-org huggingface dataset:
Package: yonder
YONDERA pYthON package for Data dEnoising and ReconstructionMain paper：J-PLUS: A catalogue of globular cluster candidates around the M81/M82/NGC3077 triplet of galaxiesYou can get the docs here!YONDERis a package that uses singular value decomposition to perform low-rank data denoising and reconstruction. It takes a tabular
data matrix and an error matrix as input and returns a denoised version
of the original dataset as output. The approach enables a more accurate data analysis in the presence of uncertainties.
Consequently, this package can be used as a simple toolbox to perform astronomical data cleaning.How to installYONDERTheYONDERcan be installed via the PyPI and pip:pip install yonderIf you download the repository, you can also install it in theyonderdirectory:git clone https://github.com/pengchzn/yonder
cd yonder
python setup.py installHow to useYONDERHere is a simple example for the use ofYONDERfrom yonder import yonder
import numpy as np

#import the data
X = pd.read_csv('./datasets/Xobs.csv')
Xsd = pd.read_csv('./datasets/Xsd.csv')

# put the data into the algorithm
# Get the value
U, S, V = yonder.yonder(X, Xsd, 2)

# Get the denoised data
result = U @ S @ V.TAfter theYONDERprocedure, you can connect any additional algorithms or models to the denoised data.You can test the test example in thisnotebooklocally by yourself! If you are new to Python or don’t know how to runYONDERlocally, you can clickhereto create a new Colaboratory notebook, so you can runYONDERin the cloud!Requirementspython 3numpy >= 1.21.0Scipy >= 1.7.0YONDERprimarily uses the most recent version ofScipyfor single value decomposition.
Make sure yourScipyinstallation is up to date before usingYONDER.Copyright & License2021 Peng Chen (pengchzn@gmail.com) & Rafael S. de Souza (drsouza@shao.ac.cn)This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.ReferencesHarris, C. R., Millman, K. J., van der Walt, S. J., et al.2020, Nature, 585, 357, doi:10.1038/s41586-020-2649-2Kelly, B. C. 2007, ApJ, 665, 1489, doi: 10.1086/519947Virtanen, P., Gommers, R., Oliphant, T. E., et al. 2020,Nature Methods, 17, 261, doi:10.1038/s41592-019-0686-2Wentzell, P. D., & Hou, S. 2012, Journal of Chemometrics,26, 264, doi:https://doi.org/10.1002/cem.2428Wentzell, P. D., & Lohnes, M. T. 1999, Chemometrics andIntelligent Laboratory Systems, 45, 65,doi:http://doi.org/https://doi.org/10.1016/S0169-7439(98)00090-2Reis, I., Baron, D., & Shahaf, S. 2018, The AstronomicalJournal, 157, 16, doi:10.3847/1538-3881/aaf101
Package: yongshi-guidarktheme
Gui Dark ThemeInstallpip install yongshi-guidarkthemeDark Theme settingsImportTo import the dark themefrom guidarktheme.widget_template import QDarkPaletteHow toclass QMainApplication(QApplication):
    """A Dark styled application."""
    def __init__(self, *__args):
        super().__init__(*__args)

        QFontDatabase.addApplicationFont("source/schoensperger.otf")
        self.setStyle("Fusion")
        self.setPalette(QDarkPalette())
        # self.setFont(QFont("schoensperger", 20))
        self.setStyleSheet("QToolTip { color: #ffffff; background-color: grey; border: 1px solid white; }")Clickable WidgetsImportTo import the dark themed widgets, i.e. a clickable label widgetfrom guidarktheme.widget_template import QClickLabelor to just import everythingfrom guidarktheme.widget_template import *How tolabel = QClickLabel()
label.setText('This label is clickable')
label.clicked.connect(clicklabel)

def clicklabel:
    print("This label is clicked")DecoratorsImportTo import the decoratorsfrom guidarktheme.decorators import (
    Decorators,
    QInputDialogUserInterruption,
    QMessageBoxUserInterruption,
)How toto add a loading cursor to a called method:@Decorators.loading_cursorto revert back to normal cursor for some reason, usually for user input requests:@Decorators.user_input_interruptionto use input dialogs that automatically reverts to normal arrow and back to loading cursor after input is done:result, okPressed = QInputDialogUserInterruption.getText(
    self, "User input requested", "This dialog box shows a regular cursor, letting the user know input is possible"
    )

if result and okPressed:
    print(result)LicenseLicensed under GPL-3.0-or-later, see LICENSE file for details.Copyright Â© 2020 Michael-Yongshi.This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program. If not, seehttp://www.gnu.org/licenses/.
Package: yongshi-pyeth
NOT SECURE! DEV ONLY!This software handles private keys in plain text. Only use this on testnet or for testing purposes!PY-Library-ETHSolidity requisitesWEB3:library for interacting with ethereum, setting up connections and interacting with smart contractsVisual 14 C++ neededhttps://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=15select visual studio build tools 2017, only the first optional checkbox (windows 10 sdk for desktop c++)only then with pippip3 install --user web3                # (prod)https://web3py.readthedocs.io/en/stable/web3.eth.htmlLicenceLicensed under a MIT Licence, see LICENSE file for details.Copyright Â© 2020 WAM-Desktop contributors.Permission 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: yongshi-pynfc
Py_Library_NFCA library can be used to interact with nfc cards and readersStandalone code takes care of converting the data (strings, integers, bytes, ndef messages) to a bytearray that can be written to the card and reader.
Pyscard is used to actually transfer / read the bytes to / from the card.
Ndeflib is used to format according to the NDEF message standards.RoadmapGetting Startedpyscardfor windows:pip install pyscardfor ubuntu:sudo apt install swig
sudo apt install -y python3-pyscard
sudo apt install pcscd # needed to scan for readers on ubuntu

# if you get errors (ARC nfc reader has this with ubuntu)
sudo vim /etc/modprobe.d/blacklist-libnfc.conf
# Add this line: blacklist pn533_usb
# Rebootndef librarypip install ndeflibDevelopmentNFCconnecting with PyscardShould be usable with python version 3.3 or higher, but Tested on version 3.6.8.other info sources used for development of this librarypyscardpyscard tutorial:https://pyscard.sourceforge.io/user-guide.htmlUsing ARC connect library on top of pyscardhttps://github.com/StevenTso/ACS-ACR122U-NFC-Readerlibusbusb library for linuxdownload libusbhttps://libusb.info/encoding with ndeflibencoding and decoding messages from NDEF format (nfc data exchange format)https://pypi.org/project/ndeflib/https://ndeflib.readthedocs.io/en/latest/ndef.htmlRunning the testsAfter cloning the repo and downloading the dependencies, run the following script:python3 test_class_nfc.pyTo test completely it expects a valid ARC nfc reader and a presented nfc cardBreak down into end to end testsAnd coding style testsDeploymentBuilt WithContributingcontributorsJJCChttps://github.com/jjccFixes for Android app compatibilityVersioningAuthorsMichael-YongshiMany thanks to the contributions of user JJCC (https://github.com/jjcc)See also the list ofcontributorswho participated in this project.LicenseLicensed under a MIT Licence, see LICENSE file for details.Copyright © 2020 WAM-Desktop contributors.Permission 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.Acknowledgments
Package: yongshi-pyqtgameboard
PyQtGameBoardPyQt5 widget that draws a board on the screen to include in games or map drawing application.Version0.20.2.5   Added optional size parameter for the size of the tiles
Added a rectangle board
0.2.4   removed some prints
0.2.3   fixed selection deleting previous overlays
split mousepress method so its easier to subclass
adding line of sight line
return list of tiles touched by line of sight0.2.2   Redone building board, zooming in / out and added selection of tile with drawing adjacent tilesInstallpip install yongshi-pyqtgameboardImportfrom pyqtgameboards.HexagonBoard import QHexagonboardHow toto try out, copying the following to open a widget with a gameboard
This is a gameboard of 20 rows and 10 columns (feels like 20, as it only counts tiles at the same height)
This example creates designated tiles that receive a green fill with a thick green lineimport sys

from PyQt5 import QtWidgets, QtGui, QtCore

from pyqtgameboards.HexagonBoard import QHexagonboard

if __name__ == '__main__':

    overlays = []
    overlay1brush = QtGui.QBrush(QtGui.QColor(0,255,0,150))
    overlay1pen = QtGui.QPen(QtGui.QColor(0,255,0))
    overlay1pen.setWidth(3)
    overlay1dict = {
        "Brush": overlay1brush,
        "Pen": overlay1pen,
        "Positions": [
            [1, 1], 
            [2, 1],
            [1, 2],
            [3, 3],
            ],
        }
    overlays.append(overlay1dict)

    global app
    app = QtWidgets.QApplication(sys.argv)
    global main
    main = QtWidgets.QMainWindow()

    main.setCentralWidget(QHexagonboard(
        horizontal = True, 
        rows = 20, 
        columns = 10,
        overlays = overlays,
        ))

    main.showMaximized()
    sys.exit(app.exec_())LicenceLicensed under GPL-3.0-or-later, see LICENSE file for details.Copyright Â© 2020 Michael-Yongshi.This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program. If not, seehttp://www.gnu.org/licenses/.
Package: yookassa
YooKassa API Python Client LibraryRussian| EnglishThis product is used for managing payments underThe YooKassa APIFor usage by those who implemented YooKassa using the API method.FeaturesVersion 3.x supports Python >=3.7. To work on earlier versions of Python, use versions of yookassa 2.xChanging the directory/file structure affected some package imports. When switching from the version of yookassa 2.x, check the imports in your project:yookassa.domain.models.airline→yookassa.domain.models.payment_data.request.airlineyookassa.domain.models.authorization_details→yookassa.domain.models.payment_data.response.authorization_detailsyookassa.domain.models.receipt_customer→yookassa.domain.models.receipt_data.receipt_customeryookassa.domain.models.receipt_item→yookassa.domain.models.receipt_data.receipt_itemyookassa.domain.models.receipt_item_supplier→yookassa.domain.models.receipt_data.receipt_item_supplieryookassa.domain.models.recipient→yookassa.domain.models.payment_data.recipientyookassa.domain.models.refund_source→yookassa.domain.models.refund_data.refund_sourceSettings.get_account_settings()now returns theMeobject. To support compatibility, object fields can be accessed as an array -me.account_id = me['account_id']Theme.fiscalization_enabledfield is deprecated, but it is still supported. Theme.fiscalizationobject has been added instead..RequirementsPython >=3.7pipInstallationUnder console using pipInstall pip.In the console, run the following command:pipinstall--upgradeyookassaUnder console using easy_installInstall easy_install.In the console, run the following command:easy_install--upgradeyookassaCommencing workImport moduleimportyookassaConfigure a ClientfromyookassaimportConfigurationConfiguration.configure('<Account Id>','<Secret Key>')orfromyookassaimportConfigurationConfiguration.account_id='<Account Id>'Configuration.secret_key='<Secret Key>'or via oauthfromyookassaimportConfigurationConfiguration.configure_auth_token('<Oauth Token>')If you agree to participate in the development of the SDK, you can submit data about your framework, cms or module:fromyookassaimportConfigurationfromyookassa.domain.common.user_agentimportVersionConfiguration.configure('<Account Id>','<Secret Key>')Configuration.configure_user_agent(framework=Version('Django','2.2.3'),cms=Version('Wagtail','2.6.2'),module=Version('Y.CMS','0.0.1'))Call the required API method.More details in our documentation for the YooKassa API
Package: yookassa-async
YooKassa ASync API Python Client LibraryRussian |EnglishКлиент для работы с платежами поAPI ЮKassaПодходит тем, у кого способ подключения к ЮKassa называется API.Асинхронная версия.ТребованияPython >=3.7pipУстановкаC помощью pipУстановите pip.В консоли выполните командуpipinstall--upgradeyookassaС помощью easy_installУстановите easy_install.В консоли выполните командуeasy_install--upgradeyookassaВручнуюВ консоли выполните команды:wgethttps://pypi.python.org/packages/5a/be/5eafdfb14aa6f32107e9feb6514ca1ad3fe56f8e5ee59d20693b32f7e79f/yookassa-1.0.0.tar.gz#md5=46595279b5578fd82a199bfd4cd51db2
tarzxfyookassa-1.0.0.tar.gzcdyookassa-1.0.0
pythonsetup.pyinstallНачало работыИмпортируйте модульimportyookassaУстановите данные для конфигурацииfromyookassaimportConfigurationConfiguration.configure('<Идентификатор магазина>','<Секретный ключ>')илиfromyookassaimportConfigurationConfiguration.account_id='<Идентификатор магазина>'Configuration.secret_key='<Секретный ключ>'или через oauthfromyookassaimportConfigurationConfiguration.configure_auth_token('<Oauth Token>')Если вы согласны участвовать в развитии SDK, вы можете передать данные о вашем фреймворке, cms или модуле:fromyookassaimportConfigurationfromyookassa.domain.common.user_agentimportVersionConfiguration.configure('<Идентификатор магазина>','<Секретный ключ>')Configuration.configure_user_agent(framework=Version('Django','2.2.3'),cms=Version('Wagtail','2.6.2'),module=Version('Y.CMS','0.0.1'))Вызовите нужный метод API.Подробнее в документации к API ЮKassaПримеры использования SDKНастройки SDK API ЮKassaАутентификацияСтатистические данные об используемом окруженииПолучение информации о магазинеРабота с WebhookВходящие уведомленияРабота с платежамиЗапрос на создание платежаЗапрос на создание платежа через билдерЗапрос на частичное подтверждение платежаЗапрос на отмену незавершенного платежаПолучить информацию о платежеПолучить список платежей с фильтрациейРабота с возвратамиЗапрос на создание возвратаЗапрос на создание возврата через билдерПолучить информацию о возвратеПолучить список возвратов с фильтрациейРабота с чекамиЗапрос на создание чекаЗапрос на создание чека через билдерПолучить информацию о чекеПолучить список чеков с фильтрацией
Package: yoo-telegram
yoo-TelegramThe python package that allows you simple communication with your telegram app.Installationpipinstallyoo-telegramUsageBOT_TOKENis required—more info in the Bot creation section.Basic setupImport and init Notifier object with your telegram bot token.fromyoo_telegramimportNotifierclient=Notifier("<BOT_TOKEN>")Send a message to your telegram account id, which connects to your telegram bot.client.sendMessage("<RECIVER_ID>","<MESSAGE>")Advanced setupImport and init Notifier object with your telegram bot token and create a dictionary of possible users.fromyoo_telegramimportNotifiermembers={"me":"<RECIVER_ID>"}client=Notifier("<BOT_TOKEN>",members)Notifier is able to send message to accounts by their aliases.client.sendMessage("me","<MESSAGE>")Finding user idWhen your telegram account establishes communication with your telegram bot it is possible to get all chat ids by the following functionality.client.printChatIds()or API Callhttps://api.telegram.org/bot<BOT_TOKEN>/getUpdatesPrint all members of notifierclient.printMembers()Bot creationTutorial how to create your own bot!Official telegram tutorialDeploymentBuild package.python3setup.pysdistbdist_wheelDeploy package.twineuploaddist/*Authors@williambrach
Package: yopass-api
yopass_apiThis is a module to work with a (the)Yopassbackend created byJohan Haals.
This module will allow you to use Python and self-hosted Yopass in automation projects.Installingpipinstallyopass_apiBasic ExampleThis is a basic example of store secret, get link and fetch secret:fromyopass_apiimportYopassyopass=Yopass(api="https://api.yopass.se")secret_password=yopass.generate_passphrase(length=5)secret_id=yopass.store(message="test",password=secret_password,expiration="1w",one_time=False,)secret_url=yopass.secret_url(secret_id=secret_id,password=secret_password)print(secret_url)message=yopass.fetch(secret_id=secret_id,password=secret_password)print(message)
Package: yopass-cli
yopass-cliThis is a command-line tool to interact with a (the)yopass backendcreated byJohan Haals.
Even though it is possible to use the service via theweb-frontendI felt the necessity of a cli tool to use this awesome software in our automation projects.This cli tool usessjcl(just like the web-frontend) to perform encryption on the client side thus preventing your secret from ever leaving your os in acleartextform.Installationyopass-cli requirespython3+ to run.$ pip install --user yopass-cliMake sure to have the following 2 environment variables set before using:YOPASS_BACKEND_URLYOPASS_FRONTEND_URL$ export YOPASS_BACKEND_URL=https://api.yopass.se
  $ export YOPASS_FRONTEND_URL=https://yopass.seIf you use your own server, the front and backend URLs can be the same. For
example:https://yopass.domain.netUsageyopass-cli send [OPTIONS] SECRET
cat <filename> | yopass-cli send [OPTIONS]
echo "<my passphrase" | yopass-cli send [OPTIONS]
yopass-cli get [OPTIONS] SID PASSPHRASESend Options:--expires [1h|1d|1w]
--outmode [verbose|one-click-link|short-link|id]
--outformat [plain|json]Get Options:--outformat [plain|json]Todostestingproper READMELicenseMITFree Software, Hell Yeah!Contribution is welcome :) 🍺Cheers 🍺
Package: yo_payments
===============================Yo Payments===============================.. image:: https://badge.fury.io/py/yo_payments.png:target: http://badge.fury.io/py/yo_payments.. image:: https://pypip.in/d/yo_payments/badge.png:target: https://crate.io/packages/yo_payments?version=latest.. image:: https://travis-ci.org/JamesMura/yo_payments.svg?branch=master:target: https://travis-ci.org/JamesMura/yo_payments.. image:: https://coveralls.io/repos/JamesMura/yo_payments/badge.png:target: https://coveralls.io/r/JamesMura/yo_payments.. image:: https://badges.gitter.im/Join Chat.svg:target: https://gitter.im/JamesMura/yo_payments?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badgeApi Wrapper for the Yo Payments service* Free software: MIT license* Documentation: http://yo_payments.rtfd.org.History-------0.1.0 (2013-10-29)++++++++++++++++++* First release on PyPI.0.1.3 (2015-02-25)++++++++++++++++++* Third release on PyPI.* Long overdue release.
Package: yOpenApi
# yOpenApi
yOpenApi uses ySanic introspection to generate [OpenApi v3](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md) definition for your API## How to use it
Subclass ySanic and add yOpenApi as a superclass tooIt adds a route /openapi with the definitions### Warning: there are no tests (yet)## Installation`pip install yOpenApi`## Help
Feel free to help if you think something is weird or incomplete by submiting a pull request### What is already needed
- [] More testing
- [] Continous integration
- [] Better help & documentation### I’m not a technical person but still want to help
You can tip the project with cryptos too:BTC: 1GtKxwZGR65ar9V8xafxhMiniZyqXej2GCETH: 0x01bd478b8C07633D2f4E58AC553f72CE4E590d56LTC: LYUzrFX6ck5uMhw5VqcD9piQHnX7oeSLdhXMR: 49stcvbfjEkWLjb6mdG21zMJ3uRrLmN3bazGQ8cHjjsVHYYyY61N6P7emCXhpsvB2Vc8Uuz2FA1Qk6hkE8e4ADmJQQ64eyTADA: DdzFFzCqrhsoUF5UjGGAYUayV5uNCJZ17PJn9V8X9MTQ26m2wDVycme42gufKufPNWMazfJLg8RKHpc1iFvn6j8BTJjaozGtLPzCDx5tNEM: NDGYO6X3NTD6CX3V7MCCYKQPBIOYGZRXEKDLCDW2
Package: yopmail
⚠️ Disclaimer: Reverse engineering process is shown for research purposes only.👏 Get mails from Yopmail inboxGet mails from a Yopmail inbox, save them as.html📖 Usage:Install the latest version from PyPI by usingpip:pip install yopmailImportYopmailclass fromyopmailmodulefromyopmailimportYopmailInstantiateYopmailclass with username as parameter (with@or not) and provide proxies if neededy=Yopmail('test',proxies=None)Usingget_mail_ids()method you get mail ids. You can provide (optional)pageparameter otherwise page 1 is used as default. You can as well provideproxyparameter which would override instantiated class proxies.mails_ids=y.get_mail_ids(page=3)Iterate over mail ids to get mail body using:formail_idinmails_ids:mail=y.get_mail_body(mail_id,show_image=True)mail.save()Again you can provideproxyparameter which would override instantiated class proxies.show_imageis used to load mail images (equivalent to "load remote content" in most mail clients)
You can usesave()method to save mail as.html.Feel free to contribute 🤝📝 TODO:Add CSS to saved html mailFeel free to contact me wherever you find me