Saravanan666/pypi-org huggingface dataset:
Package: curlrc
Treat curl configuration files ascurlrcsubcommands.Usagecurl can read arguments from aconfiguration file. You can use this mechanism to specify default arguments (as~/.curlrc), or tell curl to read arguments from a specific file:curl -K @/path/to/config.rcCreate a few config files and drop them in~/.curl(or$CURL_HOMEif set):~/.curl
└── example.rccurlrcexposes configuration files as subcommands:$ curlrc exampleIf the configuration file includes anoutput template, you can reformat the data
as CSV, tab-separated columns, or JSON:$ curlrc example -f csv https://example.org
$ curlrc example -f table https://example.org
$ curlrc example -f json https://example.orgAny options you pass tocurlrcafter--will be passed to curl:$ curlrc example -- -fsSL https://example.orgExampleConsider the following configuration file:# output timing data
-s
-S
-o = /dev/null
-w = "url_effective: %{url_effective}\ntime_namelookup: %{time_namelookup}\ntime_connect: %{time_connect}\ntime_appconnect: %{time_appconnect}\ntime_pretransfer: %{time_pretransfer}\ntime_redirect: %{time_redirect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\n"If you drop this in~/.curl/time.rc(or$CURL_HOME/time.rc), you can use it by callingcurlrc time:$ curlrc time https://example.org
url_effective: https://example.org/
time_namelookup: 0.001
time_connect: 0.026
time_appconnect: 0.180
time_pretransfer: 0.180
time_redirect: 0.000
time_starttransfer: 0.210
time_total: 0.210Don’t like the default format? Try CSV:$ curlrc time -f csv https://example.org
url_effective,time_namelookup,time_connect,time_appconnect,time_pretransfer,time_redirect,time_starttransfer,time_total
https://example.org/,0.001,0.030,0.194,0.194,0.000,0.228,0.228or tab-separated columns:$ curlrc time -f table https://example.org
url_effective       https://example.org/
time_namelookup     0.002
time_connect        0.028
time_appconnect     0.177
time_pretransfer    0.177
time_redirect       0.000
time_starttransfer  0.205
time_total  0.206or even JSON:$ curlrc time -f json https://example.org
{
  "url_effective": "https://example.org/",
  "time_namelookup": "0.001",
  "time_connect": "0.028",
  "time_appconnect": "0.182",
  "time_pretransfer": "0.182",
  "time_redirect": "0.000",
  "time_starttransfer": "0.213",
  "time_total": "0.213"
}Installationcurlrcrequires Python 2.7 or later. It only depends on the standard library.Download thelatest releaseor install with pip:pipinstallcurlrcLicenceMIT
Package: curltopy
# curltopyConverts curl statements from Chrome's DevTools or Firefox's Tools to executable python 2 and 3 compatible code.I was inspired to write a command line version after seeing @NickCarneiro's web app on [curl.trillworks.com](http://curl.trillworks.com/).## Installpip install curltopy## Usage1. Open Chrome's DevTools or Firefox's Tools2. Click on the Network tab3. Navigate to a website4. Right click on a call and click _Copy > Copy as cURL_5. Here is a template. Replace the curl statement with the one captured from the browser.curltopy 'curl "http://example.com" -H "Pragma: no-cache"' > runme.pychmod +x runme.py./runme.py
Package: curl_to_requests
# curl_to_requestscurl_to_requests is a Python module that converts cURL commands into equivalent Python code using the requests library. Many cURL features are unsupported (it's a very complex piece of software), but curl_to_requests is far more complete than any of the other cURL converting utilities I've found.Example:```Pythonfrom curl_to_requests import curl_to_requestscurl_cmd = '''curl 'https://github.com/mosesschwartz/curl_to_requests' \\-H 'Accept-Encoding: gzip, deflate, sdch' \\-H 'Accept-Language: en-US,en;q=0.8' \\-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36' \\-H 'Accept: text/html, */*; q=0.01' \\-H 'Referer: https://github.com/mosesschwartz/curl_to_requests' \\-H 'Connection: keep-alive' --compressed'''print curl_to_requests.curl_to_requests(curl_cmd)```
Package: curlyboi
curlyboiA simplecurlyboigame written in C using ncurses.InstallationCurrently, only Linux and macOS are supported.You can usepipto installcurlyboi:$ pip install curlyboiUsage$ curlyboiYou can use arrow keys to move. And pressqto quit.curlyboiworks best on terminals that support wide unicode characters.On some terminals, you might have to prefix the above command withTERM=xterm.VersioningcurlyboiusesSemantic Versioning. For the available versions, see the tags on this repository.LicenseThis project is licensed under the MIT License, see theLICENSEfile for details.
Package: curlylint
curlylint{{ 🎀}}Experimental HTML templates linting forJinja,Nunjucks,Django templates,Twig,Liquid.
Forked fromjinjalint.FeaturesCurlylintis an HTML linter for“curly braces”templates, and their HTML. It focuses onrulesto check for common accessibility issues.On the roadmap:More checks for common accessibility issues in HTML.Checks for common security issues – for examplerel="noopener noreferrer", or known sources of XSS vulnerabilities.Moreideas welcome!UsageCurlylint is available onPyPI, grab it and you can start linting:# Assuming you’re using Python 3.6+,pipinstallcurlylint# Now time to lint those templates!curlylinttemplate-directory/Have a look at ourdocumentationto make the most of it:Getting StartedCommand Line UsageConfigurationTemplate LanguagesRulesContributingSee anything you like in here? Anything missing? We welcome all support, whether on bug reports, feature requests, code, design, reviews, tests, documentation, and more. Please have a look at ourcontribution guidelines.If you just want to set up the project on your own computer, the contribution guidelines also contain all of the setup commands.CreditsThis project started as a fork ofjinjalint. Image credit:FxEmojis.Test templatesextracted from third-party projects. Website hosted byNetlify.View the full list ofcontributors.MITlicensed. Website content available asCC0.
Package: curmit
Grabs text from a URL and commits it.Some possible use cases:collaborate on Markdown/LaTeX using Google Driveincorporate and link to online code snippetsarchive the history of a webpageRequirementsPython 3.3+GitInstallationcurmit can be installed with pip:$ pip3 install curmitor directly from the source code:$ git clone https://github.com/jacebrowning/curmit.git
$ cd curmit
$ python3 setup.py installSetupCreate a new text fileAdd the following somewhere in the first few lines:curmit: <http://example.com>with your desired URL. An example using a Google Docs can be foundhere.UsageTo update every flagged file with the current URL text, commit, and
push:$ curmitThat’s it!# Revision History## 1.0 (2015/10/03)Updatedhtml2textto 2015.2.18.## 0.1.3 (2014/12/05)Fixed missing logging messages.## 0.1.2 (2014/02/11)Changed versioning method.## 0.1.1 (2014/02/11)Switched to a package.## 0.1 (2014/02/11)Initial release.
Package: currecyconverterapi
💱 Currency Conveter ApiSimplest currency converter with CurrecnyConverterApi🔑 Get Your Free Api KeyClick the link:https://free.currencyconverterapi.com/free-api-keyType your e-mailVerify your email and use the key that send to your e-mail🗄 Cache SystemAll data is stored in$HOME/currencyconverterapi.ymlAll cached pair value are refreshed every 10 mins🪪  LicenseCopyright 2022 Yunus Emre Ak ~ YEmreAk.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: currenapp
Currency Converter CLIA Command Line Interface made with Python that convertes different currencies from all the world.This is a small project usingTyperfocusing in learning. The application takes an argument and two optional parameters, the base currency and the target currency, the default is 'BRL' (Brazilian Real) and 'USD' (US Dolar) in that order. After that, the program makes a request toExchangeRate-API, which responds with the calculated conversion.Table of ContentsKnow Issues-Instalation-Making changes-Contributing-LicenseKnow IssuesExchangeRate-API imposes a monthly quota of 1500 requests, limiting the usage of the application. Unfortanately, this can't be fixed.InstalationPip InstalationpipinstallcurrenappGo to [[https://www.exchangerate-api.com/]] and Get a Free Key, once you have your key set it on your machineexportEXCHANGERATE_KEY='YOUR KEY'And it's done. You are free to use the application.Making changesIf you want to make changes to this project you need to clone this repository and have poetry installed.
After cloning, go to the project's directory and initialize the poetry, don't forget to install the dependencies.poetryinstallCreate and set your api key in [[https://www.exchangerate-api.com/]] as inInstalation.To run the project usepoetry run python currenapp/main.pyor start the poetry shell to skip these commands.poetryshell
pythoncurrenapp/main.pyContributingIssues and Pull Request are welcomed. If you want to make suggestions, ask or discuss anything, open a issue.LicenseMIT
Package: currencies
Display money format and its filthy currencies, for all money lovers out there.Installationcurrenciesis available on PyPihttp://pypi.python.org/pypi/currenciesSo easily install it bypip$ pip install currenciesOr byeasy_install$ easy_install currenciesAnother way is by cloningcurrencies’sgit repo$ git clone git://github.com/Alir3z4/python-currencies.gitThen install it by running:$ python setup.py installUsageDisplaying money format:>>> from currencies import Currency
>>>
>>> currency = Currency('USD')
>>> currency.get_money_format(13)
>>> '$13'
>>> currency.get_money_format(13.99)
>>> '$13.99'
>>> currency.get_money_format('13,2313,33')
>>> '$13,2313,33'
>>>
>>> # Displaying with currency as well
>>>
>>> currency.get_money_with_currency_format(13)
>>> '$13 USD'
>>> currency.get_money_with_currency_format(13.99)
>>> '$13.99 USD'
>>> currency.get_money_with_currency_format('13,2313,33')
>>> '$13,2313,33 USD'Testscurrenciesis well tested, to run the test suite:$ PYTHONPATH=$PYTHONPATH:. python setup.py testAvailable currenciesAEDAFNALLAMDANGAOAARSAUDAWGAZNBAMBBDBDTBGNBHDBNDBOBBRLBSDBTNBWPBYRBZDCADCHFCLPCNYCOPCRCCZKDKKDOPDZDEGPETBEURFJDGBPGELGHSGMDGTQGYDHKDHNLHRKHUFIDRILSINRISKJEPJMDJODJPYKESKGSKHRKRWKWDKYDKZTLBPLKRLTLLVLMADMDLMGAMKDMMKMNTMOPMURMVRMXNMYRMZNNADNGNNIONOKNPRNZDOMRPENPGKPHPPKRPLNPYGQARRONRSDRUBRWFSARSCRSEKSGDSTDSYPTHBTNDTRYTTDTWDTZSUAHUGXUSDUYUVEFVNDVUVWSTXAFXBTXCDXOFXPFZARZMWSourcehttps://github.com/Alir3z4/python-currenciesWebsitehttp://alir3z4.github.com/python-currenciesIssueshttps://github.com/Alir3z4/python-currencies/issuesPyPihttp://pypi.python.org/pypi/currenciesAuthorAlireza SavandLicenseGNU GPL 3
Package: currencyapicom
CurrencyAPI Python ClientCurrencyAPI Python Client is the official Python Wrapper around the CurrencyAPIAPI.InstallationInstall from pip:pipinstallcurrencyapicomInstall from code:pipinstallgit+https://github.com/everapihq/currencyapi-python.gitUsageAll curencyapi API requests are made using theClientclass. This class must be initialized with your API access key string.Where is my API access key?In your Python application, importcurrencyapicomand pass authentication information to initialize it:importcurrencyapicomclient=currencyapicom.Client('API_KEY')Retrieve Statusprint(client.status())Retrieve Currencieshttps://currencyapi.com/docs/currenciesresult=client.currencies(currencies=['EUR','CAD'])print(result)Retrieve Latest Exchange Rateshttps://currencyapi.com/docs/latestresult=client.latest()print(result)Retrieve Historical Exchange Rateshttps://currencyapi.com/docs/historicalresult=client.historical('2022-02-02')print(result)Retrieve Historical Range Exchange Rateshttps://currencyapi.com/docs/rangeresult=client.range('2022-02-02','2022-02-04')print(result)Retrieve Converted Exchange Rateshttps://currencyapi.com/docs/convertresult=client.convert(1234)print(result)Contact usAny feedback? Please feel free tocontact our team.
Package: currency-api-py
currency-api-pyA python async wrapper for the currency-api APIInstallationpy -m pip install -U currency-api-py

:: latest (unstable)
py -m pip install git+https://github.com/Marseel-E/currency-api-pyQuickstartimportasynciofromcurrencyApiimportCurrencyApiasyncdefmain():asyncwithCurrencyApi()assession:data=awaitsession.convert("eur","usd")print(data)if__name__='__main__':asyncio.run(main())# Output (2022-04-30)>>>1.054463
Package: currency-ch
Project Portfolio:https://github.com/calebyhan/CalebHancurrency-chPython library for currency exchanges.All rates originated fromFloatRates.Disclaimer: all rates may or may not be the most accurate, and could vary by search on the internet.InstallationUse the package managerpipto install currency-ch.pipinstallcurrency-chUsageimportcurrency# converts amount of money from one currency to anothercurrency.convert("usd","eur",1)# returns rate from one currency to anothercurrency.rate("usd","eur")Documentationcurrency.convert(input_currency, output_currency, amount, roundTo)Converts input_currency of amount (default 1) to output_currency with rounded to roundTo decimal places (default 2).currency.rate(input_currency, output_currency, roundTo)Returns rate of converting input_currency to output_currency rounded to roundTo decimal places (default 2).currency.add(values, output_currency, roundTo)Adds up currencies in 2-D array values (in format [amount, input_currency]), and displays in form of output_currency rounded to roundTo decimal places (default 2).ContributingPull requests are welcome. For major changes, please open an issue firstto discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: currency-codes
DescriptionComprehensive Python package for managing currency codes across different types of assets. Having all the currency codes in one package can simplify the development process for applications that involve multiple currencies and assets. This package could also help to ensure consistency and accuracy in managing currency codes across different parts of an applicationThe package provides currency codes for different types of assets. Such asfiat (US dollar, UAE Dirham, ...)crypto (Bitcoin, Solana, Cardano, ...)others (Palladium, Gold, Unidad Previsional, ...)SourcesCoinmarketcap websitefor cryptoISO's websitefor restInstallationInstall the package with the following command:pipinstallcurrency_codesHow to use the packageGet a currency info by a currency codeYou can get any currency info using the snippet belowfromcurrency_codesimportget_currency_by_code,Currencycurrency_code:str="EUR"currency:Currency=get_currency_by_code(currency_code)if the package doesn't know a currency code you can raise a PR to extend the knowledge base but for now theCurrencyNotFoundErrorwill be raised.fromcurrency_codesimportget_currency_by_code,CurrencyNotFoundError# non-existent currency codecurrency_code:str="EUR000"try:get_currency_by_code(currency_code)exceptCurrencyNotFoundError:print("Non-existent code have been used")Get a currency info by a currency numeric codeTo get a currency info you can also use the numeric code like in the example belowfromcurrency_codesimportget_currency_by_numeric_code,Currency# Euro has 978 numeric codecurrency_numeric_code:str="978"currency:Currency=get_currency_by_numeric_code(currency_numeric_code)if the package doesn't know a currency numeric code you can raise a PR to extend the knowledge base but for now theCurrencyNotFoundErrorwill be raised.fromcurrency_codesimportget_currency_by_numeric_code,CurrencyNotFoundError# non-existent currency numeric codecurrency_numeric_code:str="00000000"try:get_currency_by_numeric_code(currency_numeric_code)exceptCurrencyNotFoundError:print("Non-existent numeric code have been used")Get the list of all currenciesIf you want to get information about all currencies, you can useget_all_currenciesfunctionfromcurrency_codesimportget_all_currencies,Currencycurrencies:list[Currency]=get_all_currencies()Get the list of fiat currenciesIf you want to get information only about fiat currencies, you can useget_fiat_currenciesfunctionfromcurrency_codesimportget_fiat_currencies,Currencyfiat_currencies:list[Currency]=get_fiat_currencies()Get the list of crypto currenciesIf you want to get information only about crypto currencies, you can useget_crypto_currenciesfunctionfromcurrency_codesimportget_crypto_currencies,Currencycrypto_currencies:list[Currency]=get_crypto_currencies()Get the list of other currenciesIf you want to get information only about other currencies, you can useget_other_currenciesfunctionfromcurrency_codesimportget_other_currencies,Currencyother_currencies:list[Currency]=get_other_currencies()How to contributeContributions are always welcomed. If you found any mistakes or missing currencies, please raise a PR to make the package more accurate for all of us
Package: currency.converter
IntroductionOverviewcurrency.converter package fetches currency rate data from European Central Bank for about recent 3 months. Once the data is fetched, the data is persisted in ZODB in case of whatever difficulty to fetch the data again. There are currency converter page and portlet included in this package and several methods you can use for your own applications.Log in as a manager and go to the page, “your_portal/@@manage-currency”.
By visiting the page, the current currency data will be fetched if possible and automatically persisted.FeaturesSite manager can give two different variables in addition to currencies, days and margin.DaysThis amout is used to caclulate average of currencies. For example, if you input 10 to this field, 10 recent days are used to calculate average currency rate. This keeps currency rate fluctuation smaller than using everyday plain rate. If nothing or 0 is input there, it doesn’t calculate average, but uses current rate.MarginMargin adds % of rate to the currency rate. 0 is 0 % margin where is no margin.Changelog0.5.5 (2010-08-27)Path to sample-90d.xml fixed for test.0.5.4 (2010-08-24)Added IPortalCurrency to adapt currency to portal.Tested with Plone-4.0rc1.0.5.3 (2010-06-03)currency-converter view updated.Deprecated import updated.Tested with Plone-4.0b3.0.5.2 (2010-05-02)Minor visual updates.Tested with Plone-4.0b2.0.5.1 (2009-08-27)Polish currency name changed to avoid UnicodeEncodeError.Tested with Plone-3.3.0.5.0 (2009-08-13)Sample xml file added for test.Tested with Plone-3.3rc5.0.4.4 (2009-06-18)Translations updated.0.4.2 (2009-06-09)Currency code and name vocabulary added.0.3.6 (2009-01-18)Initial releaseInstallationIf you are using zc.buildout and the plone.recipe.zope2instance
recipe to manage your project, just do this:Addcurrency.converterto the list of eggs to install, e.g.:[buildout]eggs =currency.converterTell the plone.recipe.zope2instance recipe to install a ZCML slug:[instance]recipe = plone.recipe.zope2instancezcml =currency.converterRe-run buildout, e.g. with:$ ./bin/buildoutSetting Time ServerTo fetch the currency data regularly like every day, describe to the instance section of buildout.cfg the next way.[instance]zope-conf-additional =<clock-server>method /your_portal/@@get-currencyperiod 86400user adminpassword admin_passhost localhost</clock-server>Change your_portal to your plone site idPeriod is seconds between eache fetch of the currency data. 86400 seconds are the 24 hour. The data is usually updated daily on week days.Describe admin name to admin and its password to admin_pass.host is host name of your server.
Package: currency-extractor-easyocr
CURRENCY_EXTRACTOR_EASYOCR# Currency Extractor EasyOCRCurrency Extractor EasyOCR is a Python package that leverages the EasyOCR library to detect currency symbols in images. This package provides a convenient command-line interface for easy integration into your projects.## InstallationYou can install the package using`pip`:

```bash
pip install currency_extractor_easyocrUsageCommand-line Interfacecurrency_symbol_extract<image_path>[--symbolsSYMBOLS[SYMBOLS...]][--languagesLANGUAGES[LANGUAGES...]][--image_rescaleIMAGE_RESCALE]Parameters:image_path: Path to the input image.--symbols: List of currency symbols to detect. Default is['$', '€', '£', '¥', '₹','د.ك','₣','AED', 'INR','USD','CAD'].--languages: List of OCR languages. Default is['en', 'ar'].--image_rescale: Rescale factor for the image size. Default is50.Example:currency_symbol_extractpath/to/your/image.jpg--symbols$€£--languagesenDependenciesopencv-python: OpenCV library for image processing.easyocr: EasyOCR library for Optical Character Recognition.How it WorksThe package utilizes EasyOCR to read text from the input image. It then searches for currency symbols in the recognized text and returns the detected symbols.AcknowledgmentsEasyOCR: The OCR library used in this project.SupportFor any questions or issues, please contactaswath.codes@gmail.com or GitHub repository issues.In this example, I've included sections on usage, dependencies, how it works, licensing, contributing, acknowledgments, and support. You may want to customize these sections based on your specific project details and structure.
Package: currency-iso4217
Packagecurrency_iso4217is a self-contained module that allows search currency
by code, country or currency definition returning the corresponding active currency information.## Pre requirementsPython >=3.6## Installationpip install currency-iso4217## Usage>>> from currency_iso4217 import search_by_code
>>> search_by_code('CLP')
>>> [{'position': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]>>> from currency_iso4217 import search_by_country
>>> search_by_country('Chile')
>>> [{'position': 41, 'code': 'CLP', 'country': 'Chile', 'currency': 'Unidad de fomento', 'decimals': '4'}, {'position': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]>>> from currency_iso4217 import search_by_currency
>>> search_by_currency('Peso chileno')
>>> [{'position': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]>>> from currency_iso4217 import search_decimals
>>> search_decimals('USD')
>>> 2>>> from currency_iso4217 import show_list
>>> show_list()
>>> [...]Written by Marcelo Daniel Iacobucci. Distributed under Public Domain.
Package: currency-open-exchange
Currency conversionQuickstartInstall currency_open_exchange:pip install currency-open-exchangeThen use it in a project:import currency_open_exchangeIn order to save exchange rates to your database, addcurrency_open_exchangeto your INSTALLED_APPS in your project’s settings:INSTALLED_APPS = (
    ...
    'currency_open_exchange',
    ...
)Setup the Open Exchange Rates backendOpen an account athttps://openexchangerates.org/if you don’t have one already. Then, add this to your project’s settings:'EXCHANGE_APP_ID': 'YOUR APP ID HERE',
'EXCHANGE_BASE_CURRENCY': 'USD' (optional, only USD for free accounts)For more information on the Open Exchange Rates API, seehttps://openexchangerates.org/Pull the latest Exchange RatesOnce your backend is setup, get the latest exchange rates:$ ./manage.py update_ratesConvert from one currency to anotherHere’s an example of converting 10 American Dollars to Chinese Renminbi:fromcurrency_open_exchange.utilsimportconvertamount,currency=convert(10,"EUR","BRL")
Package: currency-rate
Python library for easy convert currenciesFeatures:List of currency rates relatively base currencyList of currenciesGet history currency rateConvert one currency to another with specific amountCurrency symbolsCurrency descriptionInstallationInstall using python packagepipinstallcurrency-rateOrdirectlycloningtherepo:pythonsetup.pyinstallUsage Examples:>>>fromcurrency_rate.converterimportConverter>>>converter=Converter()>>>converter.rate('USD','GEL')2.683433>>>converter.rate('EUR','USD',50)52.880896>>>fromdatetimeimportdate>>>converter.rate('EUR','USD',50,date(2022,4,10))54.453328>>>converter.rate('EUR','UNK',50)InvalidCurrencyException:UNK>>>converter.rate('EUR','UNK',50,verify=False)None