Saravanan666/pypi-org huggingface dataset:
Package: coinglass-api
Coinglass APIUnofficial Python client for Coinglass APIWrapper around theCoinglass APIto fetch data about crypto derivatives.
All data is output in pandas DataFrames (single or multi-index) and all time-series data uses aDateTimeIndex.
Supports all Coinglass API endpoints.Installationpipinstallcoinglass-apiUsagefromcoinglass_apiimportCoinglassAPIcg=CoinglassAPI(coinglass_secret="abcd1234")# Get perpetual markets for BTCperp_markets_btc=cg.perpetual_market(symbol="BTC")# Get OI historyoi_history_btc=cg.open_interest_history(symbol="BTC",time_type="h1",currency="USD")# Funding rate of ETH on dYdXfr_btc_dydx=cg.funding(ex="dYdX",pair="ETH-USD",interval="h8")# Get average funding for BTCfr_avg_btc=cg.funding_average(symbol="BTC",interval="h4")# Get funding OHLC for ETH-USDT on Binancefr_ohlc_eth_binance=cg.funding_ohlc(ex="Binance",pair="ETHUSDT",interval="h4")# Get aggregated OI OHLC data for BTCoi_agg_eth=cg.open_interest_aggregated_ohlc(symbol="ETH",interval="h4")# Get OHLC liquidations data for ETH-USD on dYdXliq_ohlc_eth_dydx=cg.liquidation_pair(ex="dYdX",pair="ETH-USD",interval="h4")# Get liquidation data for BTCliq_btc=cg.liquidation_symbol(symbol="BTC",interval="h4")# Get long/short ratios for BTClsr_btc=cg.long_short_symbol(symbol="BTC",interval="h4")# Get GBTC market historygbtc_history=cg.grayscale_market_history()# and more...Examples>>> cg.funding(ex="dYdX", pair="ETH-USD", interval="h8").head()timeexchangeNamesymbolquoteCurrencyfundingRate2022-08-22 08:00:00dYdXETHUSD-0.0011512022-08-22 16:00:00dYdXETHUSD0.0016782022-08-23 00:00:00dYdXETHUSD0.0037432022-08-23 08:00:00dYdXETHUSD0.0035612022-08-23 16:00:00dYdXETHUSD0.000658>>> cg.funding(ex="dYdX", pair="ETH-USD", interval="h8").info()<class 'pandas.core.frame.DataFrame'>
DatetimeIndex: 500 entries, 2022-08-22 08:00:00 to 2023-02-04 16:00:00
Data columns (total 4 columns):
 #   Column         Non-Null Count  Dtype  
---  ------         --------------  -----  
 0   exchangeName   500 non-null    object 
 1   symbol         500 non-null    object 
 2   quoteCurrency  500 non-null    object 
 3   fundingRate    500 non-null    float64
dtypes: float64(1), object(3)
memory usage: 19.5+ KB>>> cg.funding(ex="dYdX", pair="ETH-USD", interval="h8").plot(y="fundingRate")DisclaimerThis project is for educational purposes only. You should not construe any such information or other material as legal,
tax, investment, financial, or other advice. Nothing contained here constitutes a solicitation, recommendation,
endorsement, or offer by me or any third party service provider to buy or sell any securities or other financial
instruments in this or in any other jurisdiction in which such solicitation or offer would be unlawful under the
securities laws of such jurisdiction.Under no circumstances will I be held responsible or liable in any way for any claims, damages, losses, expenses, costs,
or liabilities whatsoever, including, without limitation, any direct or indirect damages for loss of profits.
Package: coinlore
Python Simple API Client for CoinLoreSimple library for Python to use coinlore crypto apiCoinlore.com APICoinloreprovides original cryptocurrency data, coin prices calculated by own algorithm, market caps, trade volumes and more, information updated every minute or less.InstallationpipinstallcoinloreUsagefromcoinlore.clientimportClientclient=Client();//GetBitcoinInfo(Bitcoin)print(client.getcoin(90))//Getcoinsfrom0to100print(client.getcoins(0,100))//Getcoinmarkets(Bitcoin)print(client.getmarkets(90))//Getexchangesprint(client.getexchanges(5))//Getexchange(Binance)print(client.getexchange(5))//Getsocialstats(Ethereum)print(client.getsocial(80))LicenseMIT license
Package: coinmarketcap-api
Python实现的 coinmarketcap.com APIs封装，同时提供了更多私有API实现
涵盖整体市场数据、虚拟货币数据、交易所数据等Python wrapper for coinmarketcap.com public API and private API
offer global market data,coin data,exchanges data and moreDocumentationhttps://github.com/shyuntech/coinmarketcap-api
Package: coinmarketcap-connection
CoinMarketCap Connection for StreamlitA Streamlit connection component to connect Streamlit apps to the CoinMarketCap API for cryptocurrency market data.🚀 FeaturesEasy integration with Streamlit applications.Access to real-time and historical cryptocurrency data including prices, market caps, and trading volumes.Efficient handling of API rate limits.Simple configuration using API key.🧑‍🎓 Getting StartedInstallationInstallcoinmarketcap_connectionvia pip:pipinstallcoinmarketcap_connection🔩 ConfigurationSet your CoinMarketCap API key in the secrets.toml file for Streamlit apps as described in the Streamlitdocumentation.🔍 UsageImportfromcoinmarketcap_connectionimportCoinMarketCapConnectionInitializecmc_connection=CoinMarketCapConnection("YOUR_CONNECTION_NAME")Fetch DataUse the connection to fetch the latest cryptocurrency data or historical data.Fetch Latest Cryptocurrency Datalatest_data=cmc_connection.fetch_latest_data(limit=100)Fetch Historical Cryptocurrency Datahistorical_data=cmc_connection.fetch_historical_data(cryptocurrency_id=1,start_date='2023-01-01',end_date='2023-01-31')📑 DocumentationFor detailed documentation, visitCoinMarketCap API documentation.
Package: coinmarketcappy
InstallationTo install coinmarketcappy, simply use pip:$pipinstallcoinmarketcappyor install directly from source to include latest changes:$pipinstallgit+https://github.com/saporitigianni/coinmarketcappy.gitor clone and then install:$gitclonehttps://github.com/saporitigianni/coinmarketcappy.git$cdcoinmarketcappy$python3setup.pyinstallUsageEvery method supports the arguments ‘out_file’ and ‘wformat’ to save the information to a file.
If ‘out_file’ is present then the info will be saved to that file. Use absolute path unless you want to save locally.
If ‘wformat’ is not specified, it will default to ‘json’ (‘csv’ also supported)All methods except for available_snaps and historical_snapshots also support the ‘epoch’ parameter. If True it will
return all times as epochs, if False it will return them as date and time (e.g. ‘2018-05-01 00:19:31’)To get Historical Snapshots (taken every Sunday since 20130428) or Global Charts data:importcoinmarketcappyascmc# Get all available historical snapshots to choose from# or visit https://coinmarketcap.com/historical/dates=cmc.available_snaps()# Retrieve info for the last 10 snapshotssnaps=cmc.historical_snapshots(dates[-10:])# Percentage of Market Capitalization (Dominance)dom=cmc.dominance()# Total Market Capitalizationcap=cmc.total_market_cap()# Total Market Capitalization (Excluding Bitcoin)cap=cmc.total_market_cap(exclude_btc=True)To get tickers and simple global data:importcoinmarketcappyascmc# Get a list of all tickers organized by ranktickers=cmc.get_tickers()# Get a specific ticker (by its name not symbol. e.g. bitcoin, ethereum,... not btc, eth)ticker=cmc.get_ticker(name='bitcoin')# Get ticker's historical data (also by its name)temp=cmc.get_ticker_historical(name='bitcoin')# Get global data in ERUglob=cmc.get_global_data(convert='eur')AcknowledgementsThis data is being sourced either from thecoinmarketcap APIor is being scraped fromcoinmarketcap.com.
Itsfree to useso please respect their rate limit. :octocat:ContributingPlease read theCONTRIBUTINGdocument before making changes that you would like adopted in the code.Code of ConductEveryone interacting in thecoinmarketcappyproject’s codebase, issue
trackers, chat rooms, and mailing lists is expected to follow thePyPA Code of Conduct.Buy me a coffee?ETH 0xaD1F09626b9B8e701D5f0F4a237193Df73d3C445BTC 199zsVqCusefv8yjdYQhUQZmLCyh75dqNVLTC LUBqs7VxC43ttPsQuM1jaZFmshKTAU1Rs9
Package: coinmarketcap-scrapi
coinmarketcap_scrapiWrapper for the keyless scraped api (scrapi) endpoints of the CoinMarketCap website.Donations 🙇🙇Bitcoinbc1q79vja8jzr27dxaf3ylu7e49ady8zq0jsm5qfk6Monero88Rezd6ZQzaCb1s7K1tRCiCaDzuHrfYsn4q348jJuePpLs84JNsWEghMAZZgzpDPrqD4PBxk7hwMkSdNQ4CLqFHyPVLdX1DWowneroWW2RheTNrq8goAi42Dz5AKUj1qLSaTSSgiH7sHR2qRqojg238EXP3MM3xuUgswriET7UrpkEoYaCkecBhnU49oxM1dZyYoSmmXFCRActual (v1.1)Facer que a función de top devolva máis datos se así se lle explicita.Implementar a función para buscar unha moeda por nome, simbolo ou ligazón/slug.
Package: coinmarketcap-scrapper
coinmarketcap_scrapperPython wrapper for theCoinMarketCapwebsite with GPLv3 license.Donations 🙇🙇‍♀Bitcoinbc1q79vja8jzr27dxaf3ylu7e49ady8zq0jsm5qfk6Monero88Rezd6ZQzaCb1s7K1tRCiCaDzuHrfYsn4q348jJuePpLs84JNsWEghMAZZgzpDPrqD4PBxk7hwMkSdNQ4CLqFHyPVLdX1DWowneroWW2RheTNrq8goAi42Dz5AKUj1qLSaTSSgiH7sHR2qRqojg238EXP3MM3xuUgswriET7UrpkEoYaCkecBhnU49oxM1dZyYoSmm
Package: coinmate-api
Basic CoinMate.io API client, that support get the balance, withdrawal
and morefrom coinmate_api import coinmate
cm_api = coinmate('privateApiKey', 'publicApiKey', 'client_id')
print cm_api.get_eur_available()
result = cm_api.withdraw_bitcoins(0.01,'1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa')
if not result['error']:
    print "Transaction ID:"
    print result['data']
ticker_info = cm_api.get_ticker()
Package: coinmetrics
Coin Metrics API for PythonAn unofficial Python module for interacting with the Coin Metrics (coinmetrics.io) API. Currently, this library only impliments theCommunity API. ThePro APIswill be available in alater release.Getting StartedThis project's official documentation is hosted onRead the Docs. Below are some direct links to get you started.InstallAPI ReferenceUsageDonationsLike this project? Help fund others like it.BTC:bc1qf523ue5xdzxqpgt4nnmpj78d2snzqf3n7s0rmdUSD:PayPal Donation
Package: coinor.blimpy
BLImPy (Basic List Implementation in Python) is a basic implementation of a linked list data structure that is a drop-in replacement for the Python list. It supports all basic list methods. The data structure is not as efficient as the Python list for many operations and in most cases, should not be used except in a teaching setting. It was developed to illustrate basic principles and to be used with GiMPy, a graph implementation in Python. BLImPy includes a stack data structure, a queue data structure, and a priority queue data structure.Documentation for the API is here:https://tkralphs.github.io/BLImPy
Package: coinor.cuppy
A collection of ‘naive’ implementations of basic
cutting plane algorithms in Python. The collection contains a generator
for Gomory Mixed Integer cuts and one for generating the most violated
split cut using the method of Saxena and Balas.The idea is for these implementations to be as transparent as possible.
I intend them mainly for educational use. They will most certainly not
be effective in a real-world environment. Even on small examples, it is
easy to run into numerical difficulties.The underlying solvers are Clp (https://projects.coin-or.org/Clp) and
Cbc (https://projects.coin-or.org/Cbc), which is called via the Python
bindings of CyLP (https://github.com/coin-or/CyLP). Through CyLP, one
can easily add these as cut generators within Cbc.The cutting plane procedure can be visualized for 2D examples using the
polyhedron2D class of GrUMPy (https://github.com/coin-or/GrUMPy).
Package: coinor.gimpy
GiMPy is yet another graph class in Python. It is part of the COIN-OR software repository (www.coin-or.org). The class includes implementations of a range of standard graph algorithms. The goal of the implementations is clarity and the package includes visualizations for most of the methods. It is intended for educational/research purposes. The implementations are as efficient as possible, but where tradeoffs have to be made, clarity and ability to visualize are emphasized above efficiency. For this reason, the package is pure Python (and thus will not be as fast as other graph classes with C extensions). Visualization is done using Graphviz, which should be installed in order to do any visualization. Graphs can be displayed using either pygame (live), PIL (static), xdot (live), gexf (static display in browser), or dot2tex (set in LaTex).Documentation for the API is here:https://coin-or.github.io/GiMPy
Package: coinor.grumpy
GrUMPy is a class for visualizing various algorithm used in solving discrete optimization problem. It has a class for dynamically generating and visualizing branch-and-bound trees that is derived from the GiMPy graph class. Using the branch-and-bound class, a user can visualize the branch-and-bound process in a number of different ways either by building the tree dynamically through direct calls to Python from the solver or by piping the output of an instrumented solver to GrUMPy for parsing. The branch-and-bound class also includes a pure Python implementation of branch and bound that is targeted at educational use.In addition, GrUMPy includes a class for visualizing 2-dimensional polyhedra that can be used in combination with a pure Python implementation of the Gomory cutting plane algorithm to geometrically visualize the process of solving an integer program by a cutting plane algorithm. In future releases, the cutting plane visualization will be joined together with the branch-and-bound implementation to yield a full-blown visualization of the branch-and-cut algorithm.A quick introduction with examples is available on Github:https://github.com/coin-or/GrUMPyDocumentation for the API is here:https://tkralphs.github.io/GrUMPy
Package: coinoxr
Coinoxr - Open Exchange RatesPython library for Open Exchange Rates API.InstallationInstall dependency$pipinstallcoinoxrInstall dependency from source code$pythonsetup.pyinstallRequirementsPython 3.7+Usageimportcoinoxrcoinoxr.app_id="c01ed21da6424fd3b0ac68f9e63a3d29"coinoxr.Latest().get(base="EUR")DevelopmentRun all the tests for every environment:$maketestThe code can be formatted with black:$makefmt
Package: coinpaprika-async
Coinpaprika Async Client1. UsageThis library provides convenient and modern way to usecoinpaprika.comAPI in Python.Coinpaprikadelivers full market data to the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more.2. Requirementspipinstallcoinpaprika_asyncOr:pipenvinstallcoinpaprika_async3. Getting startedEach top-level path has their own endpoint class now:GET/coins->CoinsEndpointGET/exchanges->ExchangesEndpointGET/key->KeyEndpointGET/global->MarketEndpointGET/search + /price-converter->MiscelanousEndpointsGET/people->PeopleEndpointGET/tags->TagsEndpointGET/tickers->TickersEndpoint4 Examples:Check out theexamplesdirectory.5. Testspip install -r requirements-dev.txt

pytest tests/test_client.py6. LicenseCoinpaprikaAPI is available under the MIT license. See the LICENSE file for more info.
Package: coinpaprika-sdk
Coinpaprika API Python ClientUsageThis library provides convenient way to useCoinpaprika APIin Python.Coinpaprikadelivers full market data to the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more.For details and limitations please check thedocumentationRequirementspip install coinpaprikaGetting startedFree plan clientfromcoinpaprikaimportclientasCoinpaprikaclient=Coinpaprika.Client()Pro plan clientfromcoinpaprikaimportclientasCoinpaprikaclient=Coinpaprika.Client(api_key="YOUR-API-KEY")API KEY can be generatedhttps://coinpaprika.com/api/.ExamplesCheck out the./examplesdirectory.Testspip install -r test_requirements.txt

pytest tests/test_api_request.pyLicenseCoinpaprikaAPI is available under the MIT license. See the LICENSE file for more info.SourceBased on repository which is not maintained anymore:s0h3ck/coinpaprika-api-python-client
Package: coinpayments-py
CoinPayments API ClientCoinPayments|API DocumentationThis library will let you to easily interact with CoinPayments API directly from your Python application.InstallationTo install coinpayments-py, simply use pip:pip install coinpayments-pyBasic UsageInitialize api object>>> from coinpayments import CoinPaymentsAPI

>>> api = CoinPaymentsAPI(public_key='your_api_public_key',
                          private_key='your_api_private_key')Call any CoinPayments API method asapiobject method with corresponding arguments>>> api.rates()
{'error': 'ok', 'result': 'LTCT': {'balance': 839700000, 'balancef': '8.39700000', 'status': 'available', 'coin_status': 'online'}}}

>>> api.get_callback_address(currency='BTC', ipn_url='http://example.com')
{'error': 'ok', 'result': {'address': '36v6r1XuaWPtrTuhF8iq8AfBzPS8D4eios'}}Also you can check IPN HMAC signature usingcheck_signaturemethod>>> from coinpayments import CoinPaymentsAPI
>>> api = CoinPaymentsAPI(public_key=None,
                          private_key='your_ipn_secret_key')
>>> api.check_signature('ipn_message', 'ipn signautre')
FalseContributingContributions are welcome and will be fully credited.
Contributions can be made via a Pull Request.
Package: coinpay-sdk
COINPAY SDKIntroductionCOINPAY.ua - payment platform that provides:deposit and withdrawal of funds to/from bank cardstransfers within the platform free of commission feecurrency and cryptocurrency exchangeRequirementsThis library requires Python version from 3.5 to 3.9.Please note that this library also uses requests and certifi. These libraries' supported Python versions can differ from the versions supported by coinpay_sdkInstallationWe recommend usingPyPIto install the COINPAY Software Development Kit for Python.$pipinstallcoinpay-sdkUsageAfter theregistration, api_key and api_secret will become available.
You can get themhere.
Please note that some features are fully available only after theverification.ExampleTheexamplesfolder has basic and advanced examples.Base api url -https://api.coinpay.ua/fromcoinpay.processingimportCoinPayapi_key=''api_secret=''host='https://api.coinpay.ua/'pay=CoinPay(api_key=api_key,api_secret=api_secret,host=host)defget_total_balance(view_currency)->float:"""Shows total balance for account in chosen currency:param view_currency: currency for total balance:return: total balance amount for account"""result=pay.get_balance()balance_dict=result.get('balance')total=0forcurrencyinbalance_dict:total+=((balance_dict.get(currency).get(view_currency).get('total'))+(balance_dict.get(currency).get(view_currency).get('reserved')))returntotalprint(get_total_balance('BTC'))DocumentationPlease see theDocumentationfor more details.Contact UsWebsite:https://coinpay.uaMail:support@coinpay.uaTelegram BOT:https://t.me/COINPAY_BotFacebook:https://www.facebook.com/coinpay.com.uaLicenseCOINPAY SDK for Python is licensed under MIT License.
Package: coinpricli
coinpriclicoinpricli is a package where you can easily monitor cryptocurrencies. It's using web scapping to get data fromcoinmarketcap.com's web page.InstallationThis project has been implemented using Python3, it's reqiured to install Python 3.8 or higher.Download Python herepipinstallcoinpricliUsageSee top 10 cryptocurrencies:coinpricliSet number of coins to display in table:coinpricli--limit=4Show simple tablecoinpricli--simpleHelpcoinpricli--helpFutureSupport color for % ChangeSupport more than 10 coins
Package: coinpy
CoinpyCoinpy is a package to handle distribution data. There's a specific focus on gaussian and binomial distributionsFunctions include returning the mean, standard deviation and plots of given dataset. You can also use coinpy to import data and add gaussian curves.Made with assistance ofUdacityduring the data science course in object-oriented programming.InstallationUse the package managerpipto install coinpy.pipinstallcoinpyUsagefromcoinpyimportGaussiangaussian_one=Gaussian()gaussian_one.read_data_file('numbers.txt',True)# read .txt file from local directorygaussian_one.calculate_mean()# returns and stores float mean 25 for examplegaussian_one.calculate_stdev()# returns and stores standard dev 2 for examplegaussian_one.pdf(5)# given x (or 5) returns prob density function 0.19947gaussian_one.plot_histogram_pdf()# returns normalized histogram and prob density functionContributingPull 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: coin-py
CoinPyCoinPy is an open-source project for making cryptocurrency available for everyone.Installationpipinstallcoin-pyInstallation from sourcegitclonehttps://github.com/Demirrr/coin-py# To developpipinstall-e.[dev]python-mpytesttestsExamplesimportcoinpyascp# Fetch and Store all coins provided in Coinbasecp.Collector().fetch_and_save()TodosProvide previous information about coins.Examples of using coinpy withinsktime.Adapt test driven software development.Integrate crontab for automatic scrapping.In ProgressExamples of using coinpy withinsktime.Integrate crontab for automatic scrapping.Done ✓Create fetching coins from Coinbase.
Package: coinselectpy
CoinSelectPyA Python version ofhttps://www.npmjs.com/package/coinselectFree software: MIT licenseDocumentation:https://coinselectpy.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-11-15)First release on PyPI.
Package: coinshot
A simple Python module forPushover.netExampleSeeexample.pyfor full example:from coinshot import Coinshot, CoinshotException

coinshot_object = Coinshot(application_key[, user_key])

coinshot_object.push(message[, title, user_key, device, url, url_title, priority, timestamp])shootIf all you’re looking for is an app to send pushover notifications through (not
a library for doing it programmatically, look atbin/shoot.UsageUsage: shoot [options] message

Options:
  -h, --help            show this help message and exit
  -a APP_KEY, --application-key=APP_KEY
                        Application key provided by pushover.net
  -u USER_KEY, --user-key=USER_KEY
                        User key provided by pushover.net
  -t TITLE, --title=TITLE
                        Notification TitleNotesuser_keyis required either during object initialization or when calling
push. If auser_keyis provided for both, the one passed to push takes
precedent.url_titlecan be passed withouturl, but will be ignoredTo DoSeetodo.mdWhat’s the deal with the name?The name coinshot is derived from a class of characters from Brandon
Sanderson’s Mistborn book series. Coinshot Allomancers “burn” steel to Push
nearby metals.Here’s the Wikipedia page