Hello world! Welcome to another edition of the Web3 Python Weekly. Each week we’ll bring you one exercise, tweet, & video to keep you up to date on all things happening at the crossroads of Web3 & python. Thanks for joining us!
Calculate your Crypto asset taxes using Python
It’s the beginning of the year, and we all know what that means… it’s tax season! So this past week I was searching around for nifty tools to help.
The Bitty Tax repo was put together by someone familiar with crypto taxation on the team over at BittyTax. The repo is a collection of command-line tools to help you calculate your crypto asset taxes primarily in the UK (but they have commands for other countries too).
Basic Functions
bittytax
- process your transaction records and generate a PDF tax report (see Accounting Tool)bittytax_conv
- convert your wallet and exchange files into transaction records (see Conversion Tool)bittytax_price
- (optional) lookup historic price data for cryptoassets and foreign currencies (see Price Tool)
This handles multiple cryptocurrency exchange data feeds and returns normalized and standardized results to client registered callbacks for events like trades, book updates, ticker updates, etc. Utilizes websockets when possible, but can also poll data via REST endpoints if a websocket is not provided.
Although UK focused, many of the tools can be used for other countries and currencies, see International support.
Find some additional useful links in the Resources section at the end.
Curve Vyper Tutorial Lesson 4: Assertions by Gerrit Hall
Python: The Gateway Language
That's it for today & see ya next time! If you liked this issue, be sure to share!