coinbasepro-python VS py-spy

Compare coinbasepro-python vs py-spy and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
coinbasepro-python py-spy
10 25
1,816 11,850
- -
0.0 6.4
10 months ago 14 days ago
Python Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

coinbasepro-python

Posts with mentions or reviews of coinbasepro-python. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-20.
  • Unable to connect to coinbase pro API
    1 project | /r/CoinBase | 21 May 2023
    I'm trying to set up algo trading through the Blankly Python library. I've generated my Coinbase Pro API keys, but when I try to enter them it always tells me that it failed to connect, and to check to make sure my keys are correct. I'm quite certain that they are, and I made a new set of API keys just in case something was wrong with the first set. I also cannot create an "authenticated client" as described on their readme because the cbpro library is out of date and currently incompatible with blankly.
  • Coinbase Python Library? (or any other language)
    1 project | /r/CoinBase | 30 Jun 2022
    which uses the coinbasepro-python library to perform trades https://github.com/danpaquin/coinbasepro-python
  • When does a limit order expire?
    1 project | /r/CoinBase | 15 Nov 2021
    My question is, when does the order expire, if ever? The documentation is pretty sparse -- https://github.com/danpaquin/coinbasepro-python .
  • Daily General Discussion - July 20, 2021
    2 projects | /r/ethfinance | 20 Jul 2021
    This is pretty trivial if you don't mind getting your feet wet scripting with cbpro.
  • Coinbase Pro API reports
    1 project | /r/CoinBase | 26 Apr 2021
    The cbpro library for Python, for instance, makes interacting with the API very simple, then all you have to do is loop through your accounts grabbing whatever data you need.
  • I want to make a program that watches a specific cryptocurrency exchange, and immediately sends me an alert if a specific coin drops by 20%.
    2 projects | /r/learnpython | 15 Apr 2021
    To start, I'd say coinbase has a well documented api, (coinbase pro, the exchange, not the other one). This wrapper package was one of the first I used, I assume it's still supported: https://github.com/danpaquin/coinbasepro-python. To knock out 1 and 2 would look something like (psuedo code, don't quote this):
  • Serious question - what price will you consider a dip right now?
    1 project | /r/AlgorandOfficial | 12 Apr 2021
    Yeah it does. You can set it up to deposit money it seems. Under deposit/withdraw here: https://github.com/danpaquin/coinbasepro-python it seems to suggest this. To be honest I was already thinking of doing this before I saw your comment, but if someone else would use it too then that's extra motivation. I understand where you're coming from though. I would personally prefer to set it up for myself so it deposits some money in my account every day, buys algorand, and then transfers it to my algorand wallet after a few days, without me having to think about it at all. Just out of curiosity what do you do for employment? I'm a data scientist so I'm a bit of an evangelist for learning python and if it's something that you would be interested in at all I can recommend some resources.
  • Coinbase Pro Websockets Issue
    1 project | /r/CoinBase | 28 Mar 2021
    Not sure what language or library you're using, but try the example here: https://github.com/danpaquin/coinbasepro-python#websocketclient-methods
  • Profiling Python code with py-spy
    2 projects | dev.to | 15 Mar 2021
    I’m using a Coinbase Pro API for Python to access data from the WebSocket feed. Here’s a first cut that has some debugging code left in place (along with two ways to generate the VWAP, one inefficient (the _vwap method) and one more efficient). Let’s see if py-spy reveals how much time this code uses.
  • How do I fix a TypeError: decoding str is not supported? I've tried searching for answers, but haven't found anything relevant to my project.
    1 project | /r/learnpython | 23 Jan 2021
    If not, you can find it here: https://github.com/danpaquin/coinbasepro-python

py-spy

Posts with mentions or reviews of py-spy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-13.
  • Minha jornada de otimização de uma aplicação django
    5 projects | dev.to | 13 Mar 2024
  • Graphical Python Profiler
    4 projects | news.ycombinator.com | 5 Jul 2023
  • Grasshopper – An Open Source Python Library for Load Testing
    3 projects | news.ycombinator.com | 1 May 2023
    For CPU cycles, py-spy[0] is getting more and more used. For RAM, I would like to known too...

    [0] -- https://github.com/benfred/py-spy

  • Debugging a Mixed Python and C Language Stack
    4 projects | news.ycombinator.com | 25 Apr 2023
    Theres also Py Spy, a profiling tool that can generate flame charts containing a mix of python and C (or C++) calls.

    https://github.com/benfred/py-spy

    It's worked really well for my needs

  • python to rust migration
    5 projects | /r/rust | 23 Apr 2023
    You should profile your consumer to check the bottlenecks. You can use the excellent py-spy(written in Rust). IMO a few usage of Numba there and there should solve your performance issues.
  • Has anyone switched from numpy to Rust?
    1 project | /r/rust | 11 Mar 2023
    So as a first step you'll want to profile your program to figure out where it's slow, and hopefully that'll also tell you why it's slow. I'm the (biased) author of the Sciagraph profiler which is designed for this sort of application (https://sciagraph.com) but you can also try py-spy, which isn't as well designed for data processing/analysis applications (e.g. it won't visualize parallelism at all) but can still be informative (https://github.com/benfred/py-spy). Both are written in Rust ;)
  • Trace your Python process line by line with minimal overhead!
    3 projects | news.ycombinator.com | 15 Jan 2023
    Any advantages/disadvantages compared to py-spy [1]?

    [1]: https://github.com/benfred/py-spy

  • Python 3.11 delivers.
    4 projects | /r/programming | 15 Dec 2022
    Python profiling is enabled primarily through cprofile, and can be visualized with help of tools like snakeviz (output flame graph can look like this). There are also memory profilers like memray which does in-depth traces, or sampling profilers like py-spy.
  • Tales of serving ML models with low-latency
    1 project | /r/mlops | 4 Dec 2022
    A good profiler would be https://github.com/benfred/py-spy . If you run your app/benchmark with it, it should be able to draw a flamegraph telling you where the majority of time is spent. The info here is quite fine grained so it would already tell you where the bottleneck is. Without a full-fledged profiler you can also measure the timings in various parts of the code to understand where the bottleneck is.
  • Profiling a Python library written in Rust (Maturin)
    2 projects | /r/learnrust | 25 Oct 2022
    Might be worth raising an issue on py-spy (a python profiler written in rust which "supports profiling native python extensions written in languages like C/C++ or Cython" to see if that can close the loop.

What are some alternatives?

When comparing coinbasepro-python and py-spy you can also consider the following projects:

orderbook - Matching Engine for Limit Order Book in Golang

pyflame

cryptofeed - Cryptocurrency Exchange Websocket Data Feed Handler

pyinstrument - 🚴 Call stack profiler for Python. Shows you why your code is slow!

gemini-python - A python client for the Gemini API and Websocket

python-uncompyle6 - A cross-version Python bytecode decompiler

ethereum-burn-stats - Website that showcases EIP-1559 Burn

memory_profiler - Monitor Memory usage of Python code

uniswap-python - 🦄 The unofficial Python client for the Uniswap exchange.

icecream - 🍦 Never use print() to debug again.

pycoingecko - Python wrapper for the CoinGecko API

line_profiler