SST, STEEM SteuerTool, helps collecting all necessary information to be able to use it for German tax forms
New Features
What feature(s) did you add?
SST moved to web service:
It is no longer necessary to execute the python scripts manually. User just need to enter their STEEM username and download the relevant CSV files. Files are listed as a complete history username_complete.csv
or the yearly history username_year.csv
.
Those files can be downloaded and used in any calculation program.
A German description can be found here: https://steemit.com/steuer/@isnochys/sst-das-steem-steuertool-webservice
How did you implement it/them?
For this new feature, the folder webservice
was added to the repository. In it are all necessary files to use with Django webframework.
2 DB tables were created (sst/models.py
):
- Userlist, containing all users that requested this service
- Rate, featuring historical exchange rates, currently only for SBD/STEEM to Euro
The webfrontend consists of one view, where user can enter their names and download fetched data sst/views.py
, index
. The template used for this view is under sst/templates/sst/index.html
. Without POST data it shows the simple query form. Is POST data included in the request, username
will be looked up in the DB. Any result younger 1 day will search for relevant csv files in media
folder and display a link to all of them in the view.
New username will create a new DB entry with worker
set to 1. Also if userdata is older 2 days, worker
will be set to 1.
worker.py
is a Python script, that should be set to run every X minutes in crontab. It querys the DB for worker
entries set to 1 and starts the creation of CSV files for found users.
rate_worker.py
is needed to run once a day. It fetches the historical SBD/STEEM to Euro exchange rates for storage in the DB.
Repository
Source for this tool can be found under isnochys/steem_steuertool.
Contribution
Suggestions for new features, bug reporting, etc. are always welcome.
Especially layout and design improvements.
Posted on Utopian.io - Rewarding Open Source Contributors
It would be better if you listed the commits what you did and when.
Then it's easy to comprehend it
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
There was only one big change when writing the article, adding the Webservice folder as stated above.
Next features and updates will be covered with commit descriptions for this service.
As this was one big change I did not describe every commit necessary for it, but made this article instead, to cover the whole picture.
As last times update was denied, because it was to little, I made one that contains lots of changes and for better understanding I summarised it here.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This is a great service. What node do you use to retrieve all account transactions? I tried something similar with api.steemit.com, where some kind of pruning seems to happen. I was only able to get the transactions for the last few days.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
What library are you using? Steem-python?
I am using beem and this has a way better node handling. Actually I am not sure what node it exactly uses.. But api.steemit.com is not high in ranking there afaik
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Actually steemjs. I will look at how beem handles
this. Thanks for the tipp.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Beem uses in 0.19.21 the following nodes:
Beem switches automatically to the next node in this list, if an error occurs.
There is a https://discord.gg/4HM592V about beem now.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your contribution.
Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This post has received a 0.89 % upvote from @drotto thanks to: @isnochys.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This post has received a 0.80 % upvote from @speedvoter thanks to: @isnochys.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This post has been upvoted by @minibot with 100.0%!
Thank you for giving your trust and witness vote to my creator @isnochys!
More profits? 100% Payout! Delegate some SteemPower to @minibot: 1 SP, 5 SP, 10 SP, custom amount
You like to bet and win 20x your bid? Have a look at @gtw and this description!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This post has been upvoted by @millibot with 100.0%!
Thank you for giving your trust and witness vote to my creator @isnochys!
More profits? 100% Payout! Delegate some SteemPower to @millibot: 1 SP, 5 SP, 10 SP, custom amount
You like to bet and win 20x your bid? Have a look at @gtw and this description!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @isnochys I am @utopian-io. I have just upvoted you!
Achievements
Utopian Witness!
Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
_
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit