python

/python389

Python is a beloved programming language for AI, web backend, testing and automation. Python is #1 language in data science, with its popular interactive Jupyter Notebooks for researchers.

It's spelt SQLArghemy
Solidity Python Extension Pack

One install to rule them all

The Solidity Python Extension Pack for VS Code is a curated toolkit for Solidity and Python developers

It includes essential extensions for coding and testing smart contracts, perfect for tools like Wake, enabling seamless Solidity testing with Python

Extensions included:
→ Solidity (Wake)
→ Python
→ Pylance
→ Python Test Adapter
→ isort
→ autopep8
→ Python Indent
→ Even Better TOML

Download the extension here:
https://marketplace.visualstudio.com/items?itemName=ackeeblockchain.solidity-python-pack

Want to see an extension added?
Fork the repo and create a PR! We will be happy to take a look!
https://github.com/Ackee-Blockchain/solidity-python-extension-pack
How to stream Parquet data out from a Python WSGI web server

https://stackoverflow.com/a/79054438/315168
If someone is using Poetry to manage Python dependencies here is a tip:

Instead of using "poetry shell" to activate a subshell with a virtual environment, you can manually activate it like any other virtual environment.

The benefit is that this works better with fancy new terminals like PyCharm new Terminal beta and Warp. Usually subshells break the special line editing modes and advanced UX features these new shells have.

Here is an example one-liner for your ZSH configuration:

https://gist.github.com/miohtama/acecb08e78202a4b72f503c90247541e
If you are into Python and quant finance (algo trading), I started a new channel /algo-trading

I will post Python-based trading strategies there now and then.
Going through degrees of separation on this one:

>>> bool(1) + bool(1)
2
Does anyone have some insight into how to connect with the Strava API in python? I’m thinking running a script to see the miles cycled this week etc.

I’m still learning…
Remove duplicates in Python list, maintain the list order
solidity python dev starter pack

what is a must-have?

shill me your best extensions
Here is the secret Telegram chat group for Python developers working on Ethereum and EVM chains

https://t.me/ethereum_python
$DEGEN allowance is claimable now.

Check your $DEGEN points and claim tokens:

degenclaim.com
$DEGEN allowance is claimable now.

Check your $DEGEN points and claim tokens:

degenclaim.com
Hallucinating a bit (but only a little bit)

/apeframework /python
PyTorch, the torch bearer of AI
Catch a cheat sheet on Python tools for different tasks 🙃

It includes: Machine Learning, web development, game creation, test automation, scraping and working with images.
Maybe it will be useful for someone😉
Hands-On Blockchain for Python Developers: Empowering Python developers in the world of blockchain and smart contracts (book)

https://www.packtpub.com/en-id/product/hands-on-blockchain-for-python-developers-9781805121367