Saravanan666/pypi-org huggingface dataset:
Package: mar-db-utils
mar-db_utilsDescriptionThis is a library that contains a set of functions that can be used to interact with a databases.  Currently, the library only supports PostgreSQL.
To use, instantiate the PgDbOps class and pass in the database name, user, password, port, and sslmode as arguments.The PgDbOps class has the following methods:connect_dbThis method connects to the database and returns a connection object.close_dbThis method closes the database connection.sqlrunThis method runs a single SQL statement.runinsmultiplesThis method runs a single SQL statement multiple times.runbulkinsertThis method runs a bulk insert SQL statement.insert_dataThis method inserts data into a table. This method uses sqlrun to run the SQL statement.update_dataThis method updates data in a table. This method uses sqlrun to run the SQL statement.delete_dataThis method deletes data from a table.  This method uses sqlrun to run the SQL statement.select_dataThis method selects data from a table.SetupCreate a virtual environment
Activate the virtual environment
Install the following libraries:psycopg2-binarypystestpython-dotenvCreate a .env file and add the following:DB_NAMEDB_USERDB_PORTDB_SSLMODEDB_PASSWORD
Package: marduk
MardukTranspile your Python 3.6 code to 3.5supported features:PEP 498 f-stringsPEP 526 variable annotations to mypy # type: comments.missing features:PEP 530 async comprehensionsPEP 525 async generatorsWhy Marduk?Marduk is the snake-dragon protector god of Babel.Why AGPL3+?The license of this package does not affect generated code or code that you parse.
Package: marearts-anpr
🇪🇺 ANPR EU (European Union)Auto Number Plate Recognition for EU countries🦋 Available Countries:(We are adding more contries.)🇦🇱 Albania                  🇨🇿 Czechia
🇦🇩 Andorra                  🇩🇰 Denmark
🇦🇹 Austria                  🇫🇮 Finland
🇧🇪 Belgium                  🇫🇷 France
🇧🇦 Bosnia and Herzegovina   🇩🇪 Germany
🇧🇬 Bulgaria                 🇬🇷 Greece
🇭🇷 Croatia                  🇭🇺 Hungary
🇨🇾 Cyprus                   🇮🇪 Ireland🦋 Recognisable characters:char_list=["-",".","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","d","i","m","o","Ö","Ü","Ć","Č","Đ","Š","Ž","П"]🇰🇷 ANPR Korea한국 자동차 번호판 인식 솔루션인식 가능 문자char_list = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9','가', '강', '거', '경', '고', '광', '구', '기','나', '남', '너', '노', '누','다', '대', '더', '도', '동', '두','라', '러', '로', '루','마', '머', '모', '무', '문','바', '배', '버', '보', '부', '북','사', '산', '서', '세', '소', '수','아', '어', '오', '우', '울', '원', '육', '인','자', '저', '전', '제', '조', '종', '주','천', '충','하', '허', '호']🤖 Live TestMareArts 🎬 Live📧Email usfor further information.Performance can be improved with your usage data. 🙇🏻‍♂️📺 ANPR Result VideosCheck the license plate recognition results in theseYouTube videos.📝 Using SDK🔬 SDK Usagefrommarearts_anprimportMareArtsAnpr#nation is "eu" or "kr"predictor=MareArtsAnpr(nation=nation,id=user_id,key=license_key,display_license_info=True)#prediction by image pathresult=predictor.predict_from_path(img_path)#prediction by opencv imageresult=predictor.predict_from_cv2(img)For private keys,contact us.Public license key limits:1000 requests per day.# public license keysuser-id:marearts@publicx-api-key:J4K9L2Wory34@G7T1Y8rt-PP83uSSvkV3Z6ioSTR!🔬 Returnsresults:Contains OCR text, probabilities, and detection locations.Processing Speeds:Provided for license plate detection and OCR.Usage:Current day’s usage and maximum usage for public key license.# Output Example{"results":[{"ocr":"KU17ZY","ocr_conf":99,"ltrb":[619,327,775,393],"ltrb_conf":93}],"ltrb_proc_sec":0.14,"ocr_proc_sec":0.34,"usage":"1","day_max":"10000"}#usage, day_max are only for public key licenseMore detail for MareArts ANPR click here 😀🙇🏻‍♂️Thank you!
Package: marenan
marenanPacote para simbolizar o amor entre Mari e Renan.InícioInstalação:pipinstallmarenanExecute um dos comandos:marenan
python-mmarenanOu importe em um módulo Python:frommarenanimportmarenanDayprint(marenanDay().strftime("%d/%m/%Y"))DesenvolvimentoEste pacote foi desenvolvido com o gerenciador de pacotes PDM, assim é necessário instalá-lo:pipinstallpdmPra fazer as principais operações de desenvolvimento com ele é preciso apenas usar seus comandos:pdminstall#Para instalar as dependênciaspdmbuild#Para gerar a build do projetopdmpublish#Para gerar o build e publicar o projetoE para testar o pacote em desenvolvimento, existem as opções:pdmcli#Roda a versão CLI do programapdminteractive#Roda um shell python interativo com o módulo importado
Package: margay
Margay Gateway - toolkitProvide set of tooling for building reliable websocket gateway system.
Architecture part described in Margay Gateway corerepositoryQuickstartInstall sdkpip install margayDeployMargay Gatewaywith RMQ locally part seeinstructionSetup Subscriber or use exampleexamples/vanilla_worker.pyorexamples/vanilla_publisher.pySetup client or use exampleexamples/vanilla_client.pyYou can generate auth token by usingcliBy using sdk authBy using external indentety providerConnect your backendBasically that means:You subscribe RMQ topic with yourCustomQueueand listen for eventsYou are ready to publish new events for your clientsConnect websocket client toMargay GatewayThat's it now you are ready to send/receive messages troughMargay GatewayConfigureYou are able to setup sdk for your custom needsExample of change of default subscriber queue namefrommargay.sdk.configimportConfigConfig.set("queue","VanillaWorkerQueue")SubscriberExample custom subscriber creationfrommargay.sdk.subscriberimportSubscriberfrommargay.sdk.protocolimportRawMessageclassJsonMessage(RawMessage):""" Your message protocol """classRouter:""" Your event router """classHandler:""" Your event handler """classSimpleWorker(Subscriber):Message=JsonMessageresolve=Router.resolvedef__init__(self,*args,**kwargs):super().__init__(*args,**kwargs)defprocess(self,message:JsonMessage):self.resolve(message)PublisherExample custom publisher creationfrommargay.sdk.publisherimportPublisherclassEvent:"""Your custom event protocol"""classEventPublisher(Publisher):origin="MyAwsomeMss"defpublish(self,event:Event,recipient:str):self.publish_raw(event.serialize(),self.origin,recipient)AuthJWTfrommargay.sdk.authimportJWTAuthuser="John Snow"secret="SuperSecret"identity_provider=JWTAuth(secret)token=identity_provider.issue_token(user)payload=identity_provider.verify_token(token,user)print(payload)DebuggingSet debug for SDKLoggerimportloggingfrommargay.sdk.loggerimportSDKLoggerimportsyslogging.basicConfig(format='%(asctime)s-%(name)s-%(levelname)s-%(message)s',level=logging.INFO,handlers=[logging.StreamHandler(sys.stdout)])SDKLogger.setLevel(logging.DEBUG)
Package: margemliquida-market-data
:bulb: Biblioteca criada para:Centralizar a busca de dados do mercado financeiro.Aprender a publicar uma biblioteca noPypi.Aprender a publicar uma documentação noRead the Docs.:bug: Issues para bugs ou features:Encontrou bugs ou deseja novas funcionalidades?Clique aquie abra uma issue.:test_tube: Pylint:pylint ./src/ | pylint_report > report.htmlÚltimo report gerado:construction: Todo list:...:pill: Links úteis:Documentação...:bookmark: Links que usei e me ajudaram:...:email: Contato:Quer contribuir neste projeto?Apenas trocar ideias?Realizar novos projetos juntos?Entre em contato!Pablo Souza Grigoletti-psgrigoletti@gmail.com
Package: margheqiita
A sample Python projectA sample project that exists as an aid to thePython Packaging User
Guide'sTutorial on Packaging and Distributing
Projects.This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.The source for this project is available here.Most of the configuration for a Python project is done in thesetup.pyfile,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.This is the README file for the project.The file should use UTF-8 encoding and can be written usingreStructuredTextormarkdownwith the appropriatekey set. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What's New” section for the most recent version
may be appropriate.
Package: marginados-warc-scraper
Marginados WARC Scrapermarginados-warc-scraperis a command-line tool that extracts tabular data from a
Web archive (WARC) file that contains data on 'Marginados'.
The WARC file was created usingArchiveWeb.pagefrom recorded interactions withhttps://ctmn.colmex.mx/UI/Public/BusquedaSimple.aspx.This tool creates a single tab-separated values (TSV) file with all search results
that are in the WARC file, in the order that they were presented and browsed.It seemed easier to extract these data from a WARC file than directly scraping from
the website, because the website uses POST requests with dynamic data to retrieve
more search results. We did not attempt to reverse engineer such requests.We believe extracting the data from the website is allowed by the publisher under
the CC-BY-NC-ND license that cover the data.
Our request for a copy of the dataset was unanswered.Table of ContentsInstallationUsageLicenseInstallationpip install marginados-warc-scraperUsageThis tool has very specific expectations about the input WARC file.
We have used it on a WARC file that was exported from the ArchiveWeb.page desktop
app.
In the app, we recorded a search for all results on the website that listsLos Catálogos de textos marginados novohispanos.
It included clicking through search results, so that all pages of rows were recorded.
At the end of the session, we exported the "recording" as a WARC file.It is expected that you use it like this (note the shorter name):marwar-scraper my-input.warc output.tsvThe output TSV file does not include a header row.Seemarginados-warc-scraper --helpfor the full usage.Licensemarginados-warc-scraperwas created by Ben Companjen at Leiden University Libraries'Centre for Digital Scholarshipin 2023.This program is free software:
you can redistribute it and/or modify it under the terms of theGNU General Public
Licenseas 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: marginaleffects
The parameters of a statistical model can sometimes be difficult to interpret substantively, especially when that model includes non-linear components, interactions, or transformations. Analysts who fit such complex models often seek to transform raw parameter estimates into quantities that are easier for domain experts and stakeholders to understand, such as predictions, contrasts, risk differences, ratios, odds, lift, slopes, and so on.Unfortunately, computing these quantities---along with associated standard errors---can be a tedious and error-prone task. This problem is compounded by the fact that modeling packages inRandPythonproduce objects with varied structures, which hold different information. This means that end-users often have to write customized code to interpret the estimates obtained by fitting Linear, GLM, GAM, Bayesian, Mixed Effects, and other model types. This can lead to wasted effort, confusion, and mistakes, and it can hinder the implementation of best practices.Marginal Effects Zoo: The BookThis free online bookintroduces a conceptual framework to clearly define statistical quantities of interest, and shows how to estimate those quantities using themarginaleffectspackage forRandPython. The techniques introduced herein can enhance the interpretability ofover 100 classes of statistical and machine learning models, including linear, GLM, GAM, mixed-effects, bayesian, categorical outcomes, XGBoost, and more. With a single unified interface, users can compute and plot many estimands, including:Predictions (aka fitted values or adjusted predictions)Comparisons such as contrasts, risk differences, risk ratios, odds, etc.Slopes (aka marginal effects or partial derivatives)Marginal meansLinear and non-linear hypothesis testsEquivalence testsUncertainty estimates using the delta method, bootstrapping, simulation, or conformal inference.Much more!The Marginal Effects Zoobook includes over 30 chapters of tutorials, case studies, and technical notes. It covers a wide range of topics, including how themarginaleffectspackage can facilitate the analysis of:ExperimentsObservational dataCausal inference with G-ComputationMachine learning modelsBayesian modelingMultilevel regression with post-stratification (MRP)Missing dataMatchingInverse probability weightingConformal predictionGet started by clicking here!How to helpThemarginaleffectspackage and the Marginal Effects Zoo book will always be free. If you like this project, you can contribute in four ways:Make a donation to theNative Women's Shelter of Montrealor toGive Directly, and send me (Vincent) a quick note. You'll make my day.Submit bug reports, documentation improvements, or code contributions to the Github repositories of theR versionor thePython versionof the package.Cite themarginaleffectspackagein your work and tell your friends about it.Create a new entryfor the Meme Gallery!
Package: margin-community-strategies
Community StrategiesThis repository contains community-created strategies for the Python Strategy Editor of the margin
application found atmargin.io.This package is available for Python 3.6 or higher through pippip install margin-community-strategiesIf you want to write your own strategies, we recommend installing the strategy SDK fromhttps://github.com/MarginOpenSource/strategy-sdkor using pippip install margin-strategy-sdkand start by cloning the template strategy fromhttps://github.com/MarginOpenSource/strategy-template.Also check out the official strategies by margin athttps://github.com/MarginOpenSource/official-strategiesContributingOnce you created you strategy and would like to share it with the margin community, please follow thisguide on contributing to open source projects on Github.Specifically for this repository you should put your strategy into a
new file in the foldermargin_community_strategiesand give it a speaking name.The python file should start with a docstring containing a description of the strategy and its functionality.
Also provide information about any settings that have to be adapted in the strategy before running it.
These should also be in variables on the top that are easily visible for the user and each be described by a doc string.
Please also remove the default documentations from the [strategy template](https://github.com/MarginOpenSource/strategy-templateand add documentation where you deem necessary.
Also remove all functions from the strategy that are not used and don't subscribe to any data that is not required.LicenseThe source code is published under the MIT License:MIT LicenseCopyright (c) 2019 Margin Open SourcePermission 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: margingame
pip install margingameThis package is mainly for just one class,Initialise(...).
You can:Pass in non-default parameters for a custom game.Get attributes, notably payoff matrices as Pandas dataframes.Use the method to calculate the Nash equilibria.See the code, notably Initialise.py, for more info.Main UsesInteractive payoff matrices for both playersIn a .ipynb file, run the code `from margingame.notebook.visualise import visualise`.Install any missing packages flagged by an error if there are any (this is due to a bug).Run `visualise()`.NotesYou can click the left margin of the output cell to expand/truncate it.Changing the domains of the payoff matrices is achieved by passing the relevant arguments into `visualise`.It's slow, I know.Calculate the nash equlibriaRun the code `from margingame.Initialise import Initialise'.Create your game with `Game = Initialise(...)', specifying any non-default parameters desired.Calculate the nash equlibria via support enumeration via `Game.calculate_equilibria_support_enum()`.
Package: margin-official-strategies
Official StrategiesThis repository contains margin's official strategies for the Python Strategy Editor of the margin
application found atmargin.io.This package is available for Python 3.6 or higher through pippip install margin-official-strategiesIf you want to write your own strategies, we recommend installing the strategy SDK fromhttps://github.com/MarginOpenSource/strategy-sdkor using pippip install margin-strategy-sdkand start by cloning the template strategy fromhttps://github.com/MarginOpenSource/strategy-template.Also check out the community created strategies athttps://github.com/MarginOpenSource/community-strategies.LicenseThe source code is published under the MIT License:MIT LicenseCopyright (c) 2019 Margin Open SourcePermission 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: marginpy
marginpy◼️ The marginfi Python SDK ◼️marginpy is the python library for interacting withmarginfi, the decentralized portfolio margin protocol on Solana.🏎 QuickstartInstallationpipinstallmarginpyRunningmarginpyin a Github Codespacemarginpyis installed out-of-the-box in the [.devcontainer/Dockerfile](Python SDK Codespace).Enable Github Codespaces for your Github user or organization account and spin up a machine for a no-hassle way to get started!Installing on an M1If you are using an M1, you need to installmarginpythrough a Rosetta-enabled x86_64 version of python. If starting from scratch:Install brew into/usr/local//bin/bash-c"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Open a terminal instance with Rosetta enabledInstall a supported version of python with brew from/usr/local/:$/usr/local/bin/brewinstallpython@[PYTHON_VERSION]Create a new virtualenv using newly installed python:/usr/local/opt/python@[PYTHON_VERSION]/bin/python3-mvenv.envActivate new envsource.env/bin/activateInstallmarginpywith pip from env:pipinstallmarginpyGeneral UsageimportmarginpyCheck out theexamplesfor more details.👷‍♀️ DevelopmentSetup local development environmentEnsure you have python installed.Installpoetry:$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -Installnox-poetry:$ pip install nox-poetryInitialize Python virtual environment:$ poetry env use [PYTHON_VERSION]Install project dependencies:$ poetry installActivate virtual environment:$ poetry shellBuild the rust crate and install it locally:$ maturin developRunning testsAs of writing, only a small subset of tests can be run by the user, due to initially private dependencies. They can be run like so:Activate virtual environment:$poetryshellRun desired task:unit tests only:$ make test-unittype check + lint:$ make lintFeel free to check theMakefilefor other available actions.
Package: margin-strategy-sdk
Strategy Editor SDKThis repository contains an SDK for writing Python strategies for the margin application
found atmargin.io.This package is available for Python 3.6 or higher through pippip install margin-strategy-sdkYou can import all classes and functions in your strategy by callingfrom margin_strategy_sdk import *Note: The SDK does not provide any functionalities but merely mimics margin's strategy
development interface. To actually run your strategy you need to start it from the margin
application.The easiest way to start off your strategy implementation is by cloning the strategy
template found athttps://github.com/MarginOpenSource/strategy-template.Also check out the official strategies by margin athttps://github.com/MarginOpenSource/official-strategiesand community created strategies
athttps://github.com/MarginOpenSource/community-strategies.LicenseThe source code is published under the MIT License:MIT LicenseCopyright (c) 2019 Margin Open SourcePermission 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.