create account

Part 1: Coding on Hive With Python - Setting Up by learncode

View this thread on: hive.blogpeakd.comecency.com
· @learncode ·
$4.24
Part 1: Coding on Hive With Python - Setting Up
This is the first post in series about coding with Hive APIs and working with Hive blockchain data. While there is interest in using other languages, I've decided to start with Python. There are some great Python modules for Hive and Python is noob-friendly.

This first post will be the most boring. It's necessary to get these setup steps out of the way before we can do some fun stuff. Let's get to it.

## What we need to Set Up

To succeed with Python you need 2 pieces of software:
* A text editor
* The python interpreter

Any text editor will do. To have a better experience use an editor with syntax highlighting such as [Visual Studio Code](https://code.visualstudio.com/). VSCode is free, open-source, cross-platform, and often recommended. Syntax highlighting improves the coding experience because it makes it easier to spot simple errors and saves a lot of time.

## Installing the Python Interpreter

The python interpreter is the piece of software that *interprets* and executes the Python code. It can be run in interactive mode or given a file as input. Input files typically use the '.py' file extension. The code examples for blogs will use Python version 3, so I recommend installing version 3.

### Installing Python on Linux

The easiest way to install Python on Linux is to invoke the native package manager. For RedHat/CentOS the command is `yum install python3`. For Ubuntu/Raspbian the command is `apt-get install python3`.

### Installing Python on macOS

The easiest way to install Python on macOS is using [Homebrew](https://brew.sh/) - "The Missing Package Manager for macOS". Get started with Homebrew using the instructions found here: https://brew.sh/

Once Homebrew is good to go, invoke it from Terminal to install python like so: `brew install python3`

### Installing Python on Windows

The easiest way to install Python on Windows is using Chocolatey - "The Package Manager for Windows". Get started with Chocolatey using the instructions found here: https://chocolatey.org/install.

Once Chocolatey is good to go, invoke it from PowerShell or Cmd prompt like so: `choco install python`

Alternatively, you can download a Python installer from [python.org](https://www.python.org/downloads/windows/), install it, and add Python to your PATH. Chocolatey does all of this for you.

## Checking your Python install

Once you've completed installing Python version 3, a quick check confirms everything is in order.

From your Terminal, run the command `python3 --version`. On Windows Cmd prompt / PowerShell run the command `python --version`. If all goes well, the Python executable is found and it spits out something like **Python 3.9.5**. If your OS can't find Python make sure it's on your environment PATH.

## Bonus: a Pythonic Poem

Now that you have Python installed, fire up the interpreter by typing `python` into your terminal. It will spit out some version info and help text and then greet you with `>>>`, indicating it's waiting for your code to interpret.

In the next post, we'll dive into *modules*. Modules are like add-ons that can do all sorts of things including fetching data from the Hive blockchain. Python loads a module when given the keyword `import`. For now, type `import this` and hit enter for a nice surprise.

> **"Flat is better than nested."** - Tim Peters, the Zen of Python

----
p.s. Thanks for reading. Please let me know if anything is unclear or incorrect. This is intended to be a living document to be improved and maintained over time.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 45 others
properties (23)
authorlearncode
permlinkpart-1-coding-on-hive-with-python-setting-up
categoryprogramming
json_metadata"{"app":"peakd/2021.05.4","format":"markdown","description":"How to set up a Python development environment for learning","tags":["programming","coding","hive","python","beem","ctp","palnet","proofofbrain","stem","broadhive"],"users":[],"image":[]}"
created2021-05-29 01:05:45
last_update2021-05-29 01:05:45
depth0
children27
last_payout2021-06-05 01:05:45
cashout_time1969-12-31 23:59:59
total_payout_value2.158 HBD
curator_payout_value2.078 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,515
author_reputation682,726,195,093
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,996,264
net_rshares7,251,739,303,323
author_curate_reward""
vote details (109)
@achim03 ·
I'm happy I didn't miss this first part. I was waiting for it for some time ;-)
properties (22)
authorachim03
permlinkre-learncode-qu0nhl
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2021.05.4"}
created2021-06-01 09:24:57
last_update2021-06-01 09:24:57
depth1
children2
last_payout2021-06-08 09:24:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length79
author_reputation260,723,409,263,008
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,060,359
net_rshares0
@learncode ·
I’m happy you found it! Thanks for reading. Please let me know if I can make anything more clear.
properties (22)
authorlearncode
permlinkre-achim03-202161t712200z
categoryprogramming
json_metadata{"tags":["programming"],"app":"ecency/3.0.18-mobile","format":"markdown+html"}
created2021-06-01 17:01:03
last_update2021-06-01 17:01:03
depth2
children1
last_payout2021-06-08 17:01:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length97
author_reputation682,726,195,093
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,067,785
net_rshares0
@achim03 ·
I have plenty of stuff already installed and it seems that visual code isn't finding the correct path lol. Lot to learn :-). Thanks for doing that!
👍  
properties (23)
authorachim03
permlinkre-learncode-qu1dbu
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2021.05.5"}
created2021-06-01 18:43:06
last_update2021-06-01 18:43:06
depth3
children0
last_payout2021-06-08 18:43:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length147
author_reputation260,723,409,263,008
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,069,503
net_rshares515,206,764
author_curate_reward""
vote details (1)
@cliffagreen ·
Thank you for this series! As they say, it's all greek to me, but I think it's time for me to start learning. 
properties (22)
authorcliffagreen
permlinkre-learncode-202162t03130354z
categoryprogramming
json_metadata{"tags":["programming","coding","hive","python","beem","ctp","palnet","proofofbrain","stem","broadhive"],"app":"ecency/3.0.17-vision","format":"markdown+html"}
created2021-06-02 07:31:30
last_update2021-06-02 07:31:30
depth1
children1
last_payout2021-06-09 07:31:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length110
author_reputation36,050,943,244,785
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,079,784
net_rshares0
@learncode ·
Thanks for reading! Please don't hesitate if you have any questions
properties (22)
authorlearncode
permlinkre-cliffagreen-qu2z1x
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2021.05.5"}
created2021-06-02 15:29:57
last_update2021-06-02 15:29:57
depth2
children0
last_payout2021-06-09 15:29:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length67
author_reputation682,726,195,093
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,086,147
net_rshares0
@fireguardian ·
Ok! Got it set up and running! I just couldn't open from the power shell with just python (it opened the winstore and asked me if I wanted to install) but when i click on the program it runs.

Loved the poem, specially "Errors should never pass silently, Unless explicitly silenced"

Gonna run for part 2! !PIZZA
properties (22)
authorfireguardian
permlinkre-learncode-qxfgku
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2021.07.5"}
created2021-08-06 17:00:33
last_update2021-08-06 17:00:33
depth1
children2
last_payout2021-08-13 17:00:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length312
author_reputation12,625,048,693,836
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id105,363,408
net_rshares0
@hivetrending ·
Nice!!! Glad you got it up and running.
👍  
properties (23)
authorhivetrending
permlinkre-fireguardian-qxfgmi
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2021.07.5"}
created2021-08-06 17:01:30
last_update2021-08-06 17:01:30
depth2
children0
last_payout2021-08-13 17:01:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length39
author_reputation56,528,995,182,801
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id105,363,421
net_rshares5,092,450,749
author_curate_reward""
vote details (1)
@pizzabot ·
<div class='pull-right'><center><sup>Connect</sup></center><p><a href="https://discord.gg/Q9bQAKpWGS"><img src="https://files.peakd.com/file/peakd-hive/pizzabot/AKF96fKjnX3wjXERHcKAFHaoHnfTVhXqPjXVz8E1Th9nPiJqmFtaycosVpPBZ7z.png"></a></p></div><div class='pull-right'><center><sup>Trade</sup></center><p><a href='https://hive-engine.com/?p=market&t=PIZZA'><img src="https://files.peakd.com/file/peakd-hive/pizzabot/23sxbi2M4UjELDzQjxPdzubdgfMjHTCtA1xueyxmnhJUrB8136VyK3pqynyWYiZYF9HrC.png"></a></p></div><center><br> <p>@learncode! I sent you a slice of <strong><em>$PIZZA</em></strong> on behalf of @fireguardian.</p> <p>Learn more about <strong><em>$PIZZA Token</em></strong> at <a href="https://hive.pizza">hive.pizza</a> <sub>(2/20)</sub></p> </center><div></div>
properties (22)
authorpizzabot
permlinkre-re-learncode-qxfgku-20210806t170138z
categoryprogramming
json_metadata"{"app": "beem/0.24.26"}"
created2021-08-06 17:01:39
last_update2021-08-06 17:01:39
depth2
children0
last_payout2021-08-13 17:01:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length767
author_reputation6,161,087,277,960
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id105,363,425
net_rshares0
@gillianpearce · (edited)
Ok. I've already got  Visual Studio Code installed. It's probably not the latest version though as it was installed a couple of years ago. Not sure if that matters.

I did a search for Python on my computer and found an app (in Windows) Python 3.8 (64-bit). 

What do you mean by "terminal"?

When I did the cmd prompt I got this:

![image.png](https://images.hive.blog/DQmSzPuQZcuK1Lwg7qNtiWh7bPuz7Mw3rrgsr8TDAqPSCUz/image.png)

No mention of python and no idea what this means . . .

>If your OS can't find Python make sure it's on your environment PATH.

However, it probably isn't important because, when I click on the Python 3.8 app I got a popup so I typed in import this s per your instructions and then got The Zen of Python, by Tim Peters so I'm think I'm all set. &#128522;

---

<center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@gillianpearce/qu4s2k)</sub></center>
👍  
properties (23)
authorgillianpearce
permlinkqu4s2k
categoryprogramming
json_metadata{"tags":["proofofbrain"],"image":["https://images.hive.blog/DQmSzPuQZcuK1Lwg7qNtiWh7bPuz7Mw3rrgsr8TDAqPSCUz/image.png"],"app":"proofofbrain/0.1","canonical_url":"https://www.proofofbrain.io/@gillianpearce/qu4s2k","links":["https://www.proofofbrain.io/@gillianpearce/qu4s2k"]}
created2021-06-03 14:54:21
last_update2021-06-03 15:00:54
depth1
children1
last_payout2021-06-10 14:54:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length898
author_reputation51,237,062,991,594
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,106,652
net_rshares515,206,764
author_curate_reward""
vote details (1)
@learncode ·
Cool! Glad you got it working. 

It shouldn’t be necessary to prefix the command with “cmd”.
properties (22)
authorlearncode
permlinkre-gillianpearce-202163t53432532z
categoryprogramming
json_metadata{"tags":["proofofbrain"],"app":"ecency/3.0.18-mobile","format":"markdown+html"}
created2021-06-03 15:34:33
last_update2021-06-03 15:34:33
depth2
children0
last_payout2021-06-10 15:34:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length92
author_reputation682,726,195,093
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,107,287
net_rshares0
@hivebuzz ·
Congratulations @learncode! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@learncode/upvoted.png?202105290438"></td><td>You received more than 10 upvotes.<br>Your next target is to reach 50 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@learncode) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hivebuzz/@hivebuzz/pud-202106"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hivebuzz/@hivebuzz/pud-202106">Hive Power Up Day - June 1st 2021 - Hive Power Delegation</a></td></tr></table>

###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22109%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/147)!
properties (22)
authorhivebuzz
permlinkhivebuzz-notify-learncode-20210529t044653000z
categoryprogramming
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2021-05-29 04:46:51
last_update2021-05-29 04:46:51
depth1
children0
last_payout2021-06-05 04:46:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,132
author_reputation367,965,301,932,997
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,998,700
net_rshares0
@luvshares ·
@learncode, you were given LUV from @solymi. Info: https://peakd.com/@luvshares or check wallet: https://hive-engine.com https://ipfs.io/ipfs/QmUptF5k64xBvsQ9B6MjZo1dc2JwvXTWjWJAnyMCtWZxqM
properties (22)
authorluvshares
permlinkre-part-1-coding-on-hive-with-python-setting-up-20210603t153435z
categoryprogramming
json_metadata"{"app": "beem/0.24.20"}"
created2021-06-03 15:34:36
last_update2021-06-03 15:34:36
depth1
children0
last_payout2021-06-10 15:34:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length188
author_reputation5,178,900,833,662
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,107,290
net_rshares0
@nathen007.stem ·
Thanks so much for this. This could give many people the confidence to 'have-a-go' with the subsequent result that we might have no end of exciting new toys to play with on the chain!
WIll be following closely and best wishes to you :-)
👍  ,
properties (23)
authornathen007.stem
permlinkqtzapk
categoryprogramming
json_metadata{"tags":["stem"],"app":"stemgeeks/0.1","canonical_url":"https://stemgeeks.net/@nathen007.stem/qtzapk"}
created2021-05-31 15:51:21
last_update2021-05-31 15:51:21
depth1
children1
last_payout2021-06-07 15:51:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length236
author_reputation166,075,596,964
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,044,673
net_rshares1,795,899,177
author_curate_reward""
vote details (2)
@learncode ·
Thanks for your kind words. I'm looking forward to sharing useful knowledge here.
properties (22)
authorlearncode
permlinkre-nathen007stem-qtzc50
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2021.05.4"}
created2021-05-31 16:22:12
last_update2021-05-31 16:22:12
depth2
children0
last_payout2021-06-07 16:22:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length81
author_reputation682,726,195,093
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,045,197
net_rshares0
@pizzabot ·
<div class='pull-right'><center><sup>Connect</sup></center><p><a href="https://discord.gg/Q9bQAKpWGS"><img src="https://files.peakd.com/file/peakd-hive/pizzabot/AKF96fKjnX3wjXERHcKAFHaoHnfTVhXqPjXVz8E1Th9nPiJqmFtaycosVpPBZ7z.png"></a></p></div><div class='pull-right'><center><sup>Trade</sup></center><p><a href='https://hive-engine.com/?p=market&t=PIZZA'><img src="https://files.peakd.com/file/peakd-hive/pizzabot/23sxbi2M4UjELDzQjxPdzubdgfMjHTCtA1xueyxmnhJUrB8136VyK3pqynyWYiZYF9HrC.png"></a></p></div><center><br> <p>@learncode! This post has been manually curated by the <strong><em>$PIZZA</em></strong> Token team!</p><p>Learn more about <strong><em>$PIZZA Token</em></strong> at <a href="https://hive.pizza">hive.pizza</a>. Enjoy a slice of $PIZZA on us!</p> </center><div></div>
properties (22)
authorpizzabot
permlinkre-part-1-coding-on-hive-with-python-setting-up-20210529t010951z
categoryprogramming
json_metadata"{"app": "beem/0.24.19"}"
created2021-05-29 01:09:51
last_update2021-05-29 01:09:51
depth1
children0
last_payout2021-06-05 01:09:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length785
author_reputation6,161,087,277,960
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,996,303
net_rshares0
@ramon2024 ·
This is so helpful. Thank you very much.
properties (22)
authorramon2024
permlinkre-learncode-riee5y
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2022.07.1"}
created2022-09-18 08:56:24
last_update2022-09-18 08:56:24
depth1
children0
last_payout2022-09-25 08:56:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length40
author_reputation12,932,940,398,915
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,716,737
net_rshares0
@snowwizard ·
I see that you have the second post on this. Can this be done using .net like C#?
properties (22)
authorsnowwizard
permlinkre-learncode-202161t224148983z
categoryprogramming
json_metadata{"tags":["programming","coding","hive","python","beem","ctp","palnet","proofofbrain","stem","broadhive"],"app":"ecency/3.0.18-mobile","format":"markdown+html"}
created2021-06-02 05:41:48
last_update2021-06-02 05:41:48
depth1
children1
last_payout2021-06-09 05:41:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length81
author_reputation6,184,728,777
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,078,419
net_rshares0
@learncode ·
I haven't done any C#, but there may be an unofficial library for Hive out there somewhere.
properties (22)
authorlearncode
permlinkre-snowwizard-202161t19593552z
categoryprogramming
json_metadata{"tags":["programming","coding","hive","python","beem","ctp","palnet","proofofbrain","stem","broadhive"],"app":"ecency/3.0.18-mobile","format":"markdown+html"}
created2021-06-02 05:59:36
last_update2021-06-02 05:59:36
depth2
children0
last_payout2021-06-09 05:59:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length91
author_reputation682,726,195,093
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,078,684
net_rshares0
@solymi ·
Such a great thing you are doing this! Inever coded before and I will probably.just leave that to peeps who can do it much better than me but I will give it a try to understand all the basics.
!LUV
👍  ,
properties (23)
authorsolymi
permlinkre-learncode-qu4twy
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2021.05.5"}
created2021-06-03 15:34:12
last_update2021-06-03 15:34:12
depth1
children1
last_payout2021-06-10 15:34:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length197
author_reputation175,444,056,442,724
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,107,280
net_rshares1,495,576,062
author_curate_reward""
vote details (2)
@learncode ·
Thanks for reading and thanks for the LUV token
properties (22)
authorlearncode
permlinkre-solymi-202163t5378316z
categoryprogramming
json_metadata{"tags":["programming"],"app":"ecency/3.0.18-mobile","format":"markdown+html"}
created2021-06-03 15:37:09
last_update2021-06-03 15:37:09
depth2
children0
last_payout2021-06-10 15:37:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length47
author_reputation682,726,195,093
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,107,332
net_rshares0
@steevc ·
I'll be reading your posts. I've done a bit of Python programming around Hive, but there is always more to learn.

!PIZZA
properties (22)
authorsteevc
permlinkre-learncode-qu2vgi
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2021.05.5"}
created2021-06-02 14:12:18
last_update2021-06-02 14:12:18
depth1
children2
last_payout2021-06-09 14:12:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length121
author_reputation1,046,402,885,192,940
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,084,938
net_rshares0
@learncode ·
$0.04
Thanks Steve! Happy to share some knowledge.
👍  
properties (23)
authorlearncode
permlinkre-steevc-202162t54328303z
categoryprogramming
json_metadata{"tags":["programming"],"app":"ecency/3.0.18-mobile","format":"markdown+html"}
created2021-06-02 15:43:27
last_update2021-06-02 15:43:27
depth2
children0
last_payout2021-06-09 15:43:27
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.007 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length44
author_reputation682,726,195,093
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,086,452
net_rshares155,095,771,429
author_curate_reward""
vote details (1)
@pizzabot ·
<div class='pull-right'><center><sup>Connect</sup></center><p><a href="https://discord.gg/Q9bQAKpWGS"><img src="https://files.peakd.com/file/peakd-hive/pizzabot/AKF96fKjnX3wjXERHcKAFHaoHnfTVhXqPjXVz8E1Th9nPiJqmFtaycosVpPBZ7z.png"></a></p></div><div class='pull-right'><center><sup>Trade</sup></center><p><a href='https://hive-engine.com/?p=market&t=PIZZA'><img src="https://files.peakd.com/file/peakd-hive/pizzabot/23sxbi2M4UjELDzQjxPdzubdgfMjHTCtA1xueyxmnhJUrB8136VyK3pqynyWYiZYF9HrC.png"></a></p></div><center><br> <p>@learncode! I sent you a slice of <strong><em>$PIZZA</em></strong> on behalf of @steevc.</p> <p>Learn more about <strong><em>$PIZZA Token</em></strong> at <a href="https://hive.pizza">hive.pizza</a></p> </center><div></div>
properties (22)
authorpizzabot
permlinkre-re-learncode-qu2vgi-20210602t141330z
categoryprogramming
json_metadata"{"app": "beem/0.24.19"}"
created2021-06-02 14:13:30
last_update2021-06-02 14:13:30
depth2
children0
last_payout2021-06-09 14:13:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length743
author_reputation6,161,087,277,960
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,084,965
net_rshares0
@yintercept ·
$0.07
Welcome to HIVE. I look forward to what you have to say about coding for HIVE. I think the [HIVE Tutorial on hive.io ](https://developers.hive.io/tutorials/#tutorials-javascript) builds in too many dependencies.

Since you are writing about coding in HIVE. I assume that you are already familiar with the platform. I checked your account on HiveBlocks.com

https://hiveblocks.com/@learncode

HiveBlocks.com said that you had 0 HIVE POWER. Hive Power determine the resource credits for your account and you need resource credits so that you write posts and comments.

To get over this problem, I gave your account a 15 HP delegation. That should give you enough credits to write 16 posts. The credits refresh over a 5 day period; So, this should be enough to power the account.
👍  , ,
properties (23)
authoryintercept
permlinkqtvpih
categoryprogramming
json_metadata{"links":["https://developers.hive.io/tutorials/#tutorials-javascript"],"app":"hiveblog/0.1"}
created2021-05-29 17:20:45
last_update2021-05-29 17:20:45
depth1
children3
last_payout2021-06-05 17:20:45
cashout_time1969-12-31 23:59:59
total_payout_value0.034 HBD
curator_payout_value0.033 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length776
author_reputation23,962,343,431,134
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,008,373
net_rshares165,125,429,888
author_curate_reward""
vote details (3)
@learncode ·
$0.07
Hi @yintercept,

Thank you for the HP delegation. That is very kind of you.

I have used developers.hive.io as a reference many times. I found that I still spend time to fiddle and figure out how to achieve certain things. So I am looking forward to sharing some of the examples on this blog.

I will also cover HiveEngine, which has its own set of APIs.
👍  , ,
properties (23)
authorlearncode
permlinkre-yintercept-qtvql4
categoryprogramming
json_metadata{"tags":["programming"],"app":"peakd/2021.05.4"}
created2021-05-29 17:43:54
last_update2021-05-29 17:43:54
depth2
children2
last_payout2021-06-05 17:43:54
cashout_time1969-12-31 23:59:59
total_payout_value0.034 HBD
curator_payout_value0.034 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length354
author_reputation682,726,195,093
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,008,725
net_rshares168,859,618,598
author_curate_reward""
vote details (3)
@yintercept ·
What is your primary source on the HiveEngine API?

PS: I've read through the code on PyPi. Since I am not a Python programmer, I never felt comfortable downloading the code and running the script.

https://pypi.org/project/hiveengine/
properties (22)
authoryintercept
permlinkqtvtsu
categoryprogramming
json_metadata{"links":["https://pypi.org/project/hiveengine/"],"app":"hiveblog/0.1"}
created2021-05-29 18:53:21
last_update2021-05-29 18:53:21
depth3
children1
last_payout2021-06-05 18:53:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length235
author_reputation23,962,343,431,134
root_title"Part 1: Coding on Hive With Python - Setting Up"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,009,762
net_rshares0