Hive Tax CSV – Free and Open Source Application
hive-167922·@mightpossibly·
0.000 HBDHive Tax CSV – Free and Open Source Application
https://img.inleo.io/DQmX16KueFke7y9acDfVRsMnBufp7KBvC4Ad1PNmM6o3k6u/image.png
As I was doing my taxes last week I wanted to eliminate as much manual work as possible, so with the help of AI I attempted to develop a very simple application that would scan my account for all relevant L1 transactions of Hive throughout the year and output them in a tidy CSV. And what do you know, after only an hour or so of prompting and testing, I had a working program.
The application is open source and available on my github account:
- https://github.com/mp-hive/Hive-Tax-CSV
### How it works (copy/paste from the Readme)
**Hive Tax CSV** is a simple Python application that will fetch tax relevant L1 transactions for a specific Hive account within a given [time](https://inleo.io/@leoglossary/leoglossary-time) period. The application will scan your Hive account between the dates you set and output a .csv file that can be further processed and then imported into the tax [software](https://inleo.io/@leoglossary/leoglossary-software) of your choice.
The application will fetch the following transactions:
- Claimed rewards (HP)
- Claimed rewards (HBD)
- HIVE/HBD Conversions
- HIVE/HBD Internal Market Trades
### How to use
1. Download and edit the file **fetchTransactions.py** and input your username and the desired time period.
```
account_name = "your-account-name" # Replace with your Hive account name
start_date = datetime.strptime("2024-01-01", "%Y-%m-%d")
end_date = datetime.strptime("2024-4-11", "%Y-%m-%d")
```
2. Run the script. It will take a few seconds to a few minutes to complete, depending on the amount of transactions you've done in the selected time period. When the script is done it will output a CSV file to the same directory as where you placed/ran the script.
*If you don't know how to run a Python script, don't worry it's super easy. Ask ask any LLM (for instance ChatGPT) and you'll have it set up in no time*
### Here's an example output
https://img.inleo.io/DQmTUa5dKhiZMqXviX5Dco6SjgQEM7A7TNrUg226habFZfv/image.png
### Got questions?
If you have any questions at all, have no idea how to run a Python [script](https://inleo.io/@leoglossary/leoglossary-script) or whatever else, make sure to reach out in the comments' section below, and I'll try to help out as best I can.
---
<center> If you found this useful, feel free to leave a comment, upvote or reblog.
https://i.imgur.com/r815k0y.gif
Thank you for reading!</center>
---
### What is Hive?
To learn more about Hive, this article is a good place to start: [What is Hive?](https://inleo.io/@leoglossary/leoglossary-what-is-hive). If you don't already own a Hive account, [go here to get one](https://inleo.io/signup?referral=mightpossibly).
---
@leoglossary links added using [LeoLinker](https://inleo.io/@kendewitt/what-is-leolinker).
Posted Using [InLeo Alpha](https://inleo.io/@mightpossibly/hive-tax-csv-free-and-open-source-application)👍 bp9930, fredhill, culturearise369, palasatenea, wine-club, bprmedia, smartvote, coolguy123, ovey10, steemflow, steemcleaners, eturnerx, fatman, msp-makeaminnow, we-are, voter001, voter000, bilpcoinbpc, kalkulus, digna, diverse, taskmaster4450le, cranium, rodent, tariksaran, oakshieldholding, bradleyarrow, lnakuma, diego1306, cmplxty.leo, hykss.leo, elgatoshawua, alokkumar121.leo, robmojo.leo, jocieprosza.leo, foreverhero, tokenizedsociety, sabajfa, protokkol, actordontee, beauty197, luchyl, samueluche07, town-hall-voter, globalcurrencies, mytechtrail, hirohurl, invest4free, aslehansen, mightyrocklee, hive-112281, giono, alovely088, rubilu, herculeand, countrysid, frankydoodle, ericburgoyne, harpreetjanda, curtawakening, rcaine, chmoen, imfarhad, heruvim1978, rzc24-nftbbg, logen9f, amakauz, jmis101, lbi-token, leoball, russellstockley, flaxz, khan.dayyanz, jacuzzi, pvmihalache, joeyarnoldvn, thisisawesome, godfather.ftw, youdontknowme, awesomecuration, mr-chuks, lisamgentile1961, maddogmike, sammyhive, susieisclever, teutonium, eddie-earner, iamraincrystal, elyelma, successchar, mindtrap-leo, crystalhuman, pouchon, binance2, pouchon.tribes, bigtakosensei, steemmatt, gurseerat, tydynrain, guurry123, vault3, freemonster, trillemille, alz190, gaottantacinque, cribbio, gasaeightyfive, keys-defender, cryptoshots.nft, buzzking, dutchchemist, marcocasario, crypto-shots, karina.gpt, hive-defender, cryptoshots.play, cryptoshotsdoom, balvinder294, michupa, aiuna, elderdark, beffeater, abreusplinter, kaveira, vyb.curation, heutorybr, vyb.pob, jim-crypto, rubenglz24, shawnnft, dkid14, thepavsalford, lyon-89, eosdios, modestscavo, catotenor, catotune, addnode, psyskiff, orkangel, darmst5339, darmst, darmstrong, ijat, hive.helps, karizma, ciderjunkie, danielhuhservice, arc7icwolf, an-sich-wachsen, rtonline, rtonline.leo, relf87, coyotelation, alinequeiroz, a-quarius, crazyphantombr, perfectionist25, ihsanbayor07, raistling,