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.
author | learncode |
---|---|
permlink | part-1-coding-on-hive-with-python-setting-up |
category | programming |
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":[]}" |
created | 2021-05-29 01:05:45 |
last_update | 2021-05-29 01:05:45 |
depth | 0 |
children | 27 |
last_payout | 2021-06-05 01:05:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 2.158 HBD |
curator_payout_value | 2.078 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,515 |
author_reputation | 682,726,195,093 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 103,996,264 |
net_rshares | 7,251,739,303,323 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
steevc | 0 | 647,218,294,608 | 41% | ||
slider2990 | 0 | 4,283,805,370 | 60% | ||
zorg67 | 0 | 559,643,816 | 100% | ||
edb | 0 | 28,947,115,863 | 20.5% | ||
voter | 0 | 103,204,984 | 100% | ||
andy4475 | 0 | 3,165,928,386 | 8.5% | ||
dickturpin | 0 | 6,644,020,777 | 20.5% | ||
enjar | 0 | 794,419,074,007 | 100% | ||
vachemorte | 0 | 32,237,608,429 | 25% | ||
juliakponsford | 0 | 398,314,742,397 | 50% | ||
auditoryorgasms | 0 | 615,829,070 | 25% | ||
fourfourfun | 0 | 7,344,898,466 | 25% | ||
elbrava | 0 | 5,955,601,958 | 40% | ||
jongolson | 0 | 85,689,709,482 | 4.25% | ||
gillianpearce | 0 | 3,511,765,171 | 50% | ||
russellstockley | 0 | 27,722,856,937 | 42.5% | ||
neopch | 0 | 16,581,031,535 | 50% | ||
uyobong | 0 | 58,212,356,184 | 42.5% | ||
flaxz | 0 | 9,888,638,966 | 6% | ||
tonimontana | 0 | 7,350,293,266 | 100% | ||
ilazramusic | 0 | 90,673,762,703 | 85% | ||
yisusgtr | 0 | 1,084,155,732 | 42.5% | ||
bushradio | 0 | 2,514,078,243 | 25% | ||
linco | 0 | 3,264,927,855 | 1.7% | ||
achim03 | 0 | 122,503,242,558 | 50% | ||
evegrace | 0 | 9,346,282,085 | 21.25% | ||
yintercept | 0 | 151,907,017,274 | 100% | ||
diegopadilla | 0 | 1,284,632,388 | 42.5% | ||
lebey1 | 0 | 648,862,940 | 4.25% | ||
bengiles | 0 | 774,247,954,215 | 100% | ||
pixiepost | 0 | 47,636,795,332 | 34% | ||
charitycurator | 0 | 5,022,072,467 | 10% | ||
creary | 0 | 363,855,788 | 25% | ||
nftshowroom | 0 | 10,607,763,306 | 50% | ||
hedgeserv | 0 | 0 | 100% | ||
newtrailers | 0 | 15,218,713,933 | 85% | ||
thisisawesome | 0 | 76,209,226,160 | 18% | ||
peachymod | 0 | 1,664,948,983 | 50% | ||
athomewithcraig | 0 | 2,093,417,225 | 8.5% | ||
stemgeeks | 0 | 67,279,801,249 | 60% | ||
stemcuration | 0 | 2,120,547,480 | 60% | ||
babytarazkp | 0 | 3,916,776,493 | 40% | ||
abh12345.stem | 0 | 2,991,451,627 | 100% | ||
maddogmike | 0 | 3,531,003,129 | 6.8% | ||
ph1102.ctp | 0 | 8,830,234,893 | 50% | ||
clicktrackprofit | 0 | 53,570,690,463 | 85% | ||
dechuck | 0 | 32,655,448,749 | 100% | ||
curtawakening | 0 | 6,082,877,844 | 85% | ||
iamraincrystal | 0 | 87,008,721,573 | 42.5% | ||
bradleyarrow | 0 | 22,878,539,724 | 8.5% | ||
rootdraws | 0 | 4,969,398,198 | 50% | ||
vxc.stem | 0 | 27,728,163 | 100% | ||
yggdrasil.laguna | 0 | 127,384,158 | 30% | ||
efathenub | 0 | 6,334,033,241 | 42.5% | ||
rcaine | 0 | 25,885,517,805 | 68% | ||
julesquirin | 0 | 1,853,398,620 | 10% | ||
stuntman.mike | 0 | 2,918,147,691 | 100% | ||
hivetrending | 0 | 35,968,253,418 | 25% | ||
hiveghost | 0 | 1,586,146,821 | 42.5% | ||
rezoanulvctp | 0 | 3,233,973,770 | 85% | ||
localgrower | 0 | 1,712,838,918 | 10% | ||
kingneptune | 0 | 3,536,498,983 | 42.5% | ||
lukeisalive | 0 | 6,050,424,357 | 42.5% | ||
kaseldz | 0 | 1,711,657,129 | 42.5% | ||
ayhamyou | 0 | 415,766,110 | 42.5% | ||
improbableliason | 0 | 2,166,822,865 | 42.5% | ||
p3ntar0u | 0 | 17,439,812,093 | 100% | ||
stickupboys | 0 | 14,291,751,067 | 35% | ||
focus.folks | 0 | 0 | 100% | ||
pixiedust4u | 0 | 942,426,309 | 42.5% | ||
hivesicians | 0 | 1,678,497,866 | 42.5% | ||
myupvote2u | 0 | 1,064,144,653 | 50% | ||
pfwaus | 0 | 1,269,999,576 | 100% | ||
ph1102.ctptrail | 0 | 566,511,523 | 85% | ||
ezrider | 0 | 2,994,828,193,344 | 50% | ||
dorkpower | 0 | 2,681,931,922 | 100% | ||
aiovo | 0 | 651,118,292 | 2.97% | ||
brofund-stem | 0 | 826,870,837 | 30% | ||
rikarivka | 0 | 4,782,569,376 | 100% | ||
nathen007.stem | 0 | 0 | 100% | ||
stemline | 0 | 9,908,960,671 | 100% | ||
meestemboom | 0 | 988,710,634 | 50% | ||
academiccuration | 0 | 801,856,623 | 100% | ||
emrebeyler.stem | 0 | 1,485,711,293 | 100% | ||
scooter77.stem | 0 | 621,938,707 | 60% | ||
krishu.stem | 0 | 818,190,811 | 100% | ||
damla.stem | 0 | 209,420,601 | 100% | ||
botvotes | 0 | 0 | 4.91% | ||
thebeardflex | 0 | 11,955,445,770 | 96% | ||
adamada.stem | 0 | 592,186,879 | 100% | ||
luckyali.ctp | 0 | 2,672,078,263 | 85% | ||
limn | 0 | 7,451,556,166 | 12.5% | ||
nyxlabs | 0 | 2,819,032,937 | 50% | ||
creodas | 0 | 951,227,827 | 75% | ||
lerkfrend | 0 | 2,294,184,041 | 55% | ||
jaxsonmurph | 0 | 730,029,489 | 36.6% | ||
hive.pizza | 0 | 315,265,861,073 | 100% | ||
samseny | 0 | 973,567,223 | 42.5% | ||
juecoree.stem | 0 | 517,967,899 | 100% | ||
watt.the.watt | 0 | 1,287,049,884 | 35% | ||
chireerocks.bht | 0 | 111,965,258 | 100% | ||
stickupmusic | 0 | 1,231,696,893 | 35% | ||
bellou61 | 0 | 1,423,028,101 | 35% | ||
holovision.stem | 0 | 0 | 50% | ||
dibblers.dabs | 0 | 298,019,521 | 100% | ||
nfthypesquad | 0 | 883,577,571 | 10% | ||
falcout | 0 | 0 | 100% | ||
julimedi | 0 | 0 | 100% | ||
ramon2024 | 0 | 0 | 100% |
I'm happy I didn't miss this first part. I was waiting for it for some time ;-)
author | achim03 |
---|---|
permlink | re-learncode-qu0nhl |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2021.05.4"} |
created | 2021-06-01 09:24:57 |
last_update | 2021-06-01 09:24:57 |
depth | 1 |
children | 2 |
last_payout | 2021-06-08 09:24:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 79 |
author_reputation | 260,723,409,263,008 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,060,359 |
net_rshares | 0 |
I’m happy you found it! Thanks for reading. Please let me know if I can make anything more clear.
author | learncode |
---|---|
permlink | re-achim03-202161t712200z |
category | programming |
json_metadata | {"tags":["programming"],"app":"ecency/3.0.18-mobile","format":"markdown+html"} |
created | 2021-06-01 17:01:03 |
last_update | 2021-06-01 17:01:03 |
depth | 2 |
children | 1 |
last_payout | 2021-06-08 17:01:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 97 |
author_reputation | 682,726,195,093 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,067,785 |
net_rshares | 0 |
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!
author | achim03 |
---|---|
permlink | re-learncode-qu1dbu |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2021.05.5"} |
created | 2021-06-01 18:43:06 |
last_update | 2021-06-01 18:43:06 |
depth | 3 |
children | 0 |
last_payout | 2021-06-08 18:43:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 147 |
author_reputation | 260,723,409,263,008 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,069,503 |
net_rshares | 515,206,764 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
learncode | 0 | 515,206,764 | 100% |
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.
author | cliffagreen |
---|---|
permlink | re-learncode-202162t03130354z |
category | programming |
json_metadata | {"tags":["programming","coding","hive","python","beem","ctp","palnet","proofofbrain","stem","broadhive"],"app":"ecency/3.0.17-vision","format":"markdown+html"} |
created | 2021-06-02 07:31:30 |
last_update | 2021-06-02 07:31:30 |
depth | 1 |
children | 1 |
last_payout | 2021-06-09 07:31:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 110 |
author_reputation | 36,050,943,244,785 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,079,784 |
net_rshares | 0 |
Thanks for reading! Please don't hesitate if you have any questions
author | learncode |
---|---|
permlink | re-cliffagreen-qu2z1x |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2021.05.5"} |
created | 2021-06-02 15:29:57 |
last_update | 2021-06-02 15:29:57 |
depth | 2 |
children | 0 |
last_payout | 2021-06-09 15:29:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 67 |
author_reputation | 682,726,195,093 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,086,147 |
net_rshares | 0 |
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
author | fireguardian |
---|---|
permlink | re-learncode-qxfgku |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2021.07.5"} |
created | 2021-08-06 17:00:33 |
last_update | 2021-08-06 17:00:33 |
depth | 1 |
children | 2 |
last_payout | 2021-08-13 17:00:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 312 |
author_reputation | 12,625,048,693,836 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 105,363,408 |
net_rshares | 0 |
Nice!!! Glad you got it up and running.
author | hivetrending |
---|---|
permlink | re-fireguardian-qxfgmi |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2021.07.5"} |
created | 2021-08-06 17:01:30 |
last_update | 2021-08-06 17:01:30 |
depth | 2 |
children | 0 |
last_payout | 2021-08-13 17:01:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 39 |
author_reputation | 56,528,995,182,801 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 105,363,421 |
net_rshares | 5,092,450,749 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fireguardian | 0 | 5,092,450,749 | 100% |
<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>
author | pizzabot |
---|---|
permlink | re-re-learncode-qxfgku-20210806t170138z |
category | programming |
json_metadata | "{"app": "beem/0.24.26"}" |
created | 2021-08-06 17:01:39 |
last_update | 2021-08-06 17:01:39 |
depth | 2 |
children | 0 |
last_payout | 2021-08-13 17:01:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 767 |
author_reputation | 6,161,087,277,960 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 105,363,425 |
net_rshares | 0 |
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. 😊 --- <center><sub>Posted via [proofofbrain.io](https://www.proofofbrain.io/@gillianpearce/qu4s2k)</sub></center>
author | gillianpearce |
---|---|
permlink | qu4s2k |
category | programming |
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"]} |
created | 2021-06-03 14:54:21 |
last_update | 2021-06-03 15:00:54 |
depth | 1 |
children | 1 |
last_payout | 2021-06-10 14:54:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 898 |
author_reputation | 51,237,062,991,594 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,106,652 |
net_rshares | 515,206,764 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
learncode | 0 | 515,206,764 | 100% |
Cool! Glad you got it working. It shouldn’t be necessary to prefix the command with “cmd”.
author | learncode |
---|---|
permlink | re-gillianpearce-202163t53432532z |
category | programming |
json_metadata | {"tags":["proofofbrain"],"app":"ecency/3.0.18-mobile","format":"markdown+html"} |
created | 2021-06-03 15:34:33 |
last_update | 2021-06-03 15:34:33 |
depth | 2 |
children | 0 |
last_payout | 2021-06-10 15:34:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 92 |
author_reputation | 682,726,195,093 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,107,287 |
net_rshares | 0 |
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)!
author | hivebuzz |
---|---|
permlink | hivebuzz-notify-learncode-20210529t044653000z |
category | programming |
json_metadata | {"image":["http://hivebuzz.me/notify.t6.png"]} |
created | 2021-05-29 04:46:51 |
last_update | 2021-05-29 04:46:51 |
depth | 1 |
children | 0 |
last_payout | 2021-06-05 04:46:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,132 |
author_reputation | 367,965,301,932,997 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 103,998,700 |
net_rshares | 0 |
@learncode, you were given LUV from @solymi. Info: https://peakd.com/@luvshares or check wallet: https://hive-engine.com https://ipfs.io/ipfs/QmUptF5k64xBvsQ9B6MjZo1dc2JwvXTWjWJAnyMCtWZxqM
author | luvshares |
---|---|
permlink | re-part-1-coding-on-hive-with-python-setting-up-20210603t153435z |
category | programming |
json_metadata | "{"app": "beem/0.24.20"}" |
created | 2021-06-03 15:34:36 |
last_update | 2021-06-03 15:34:36 |
depth | 1 |
children | 0 |
last_payout | 2021-06-10 15:34:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 188 |
author_reputation | 5,178,900,833,662 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,107,290 |
net_rshares | 0 |
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 :-)
author | nathen007.stem |
---|---|
permlink | qtzapk |
category | programming |
json_metadata | {"tags":["stem"],"app":"stemgeeks/0.1","canonical_url":"https://stemgeeks.net/@nathen007.stem/qtzapk"} |
created | 2021-05-31 15:51:21 |
last_update | 2021-05-31 15:51:21 |
depth | 1 |
children | 1 |
last_payout | 2021-06-07 15:51:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 236 |
author_reputation | 166,075,596,964 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,044,673 |
net_rshares | 1,795,899,177 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
amr008.stem | 0 | 1,280,692,413 | 100% | ||
learncode | 0 | 515,206,764 | 100% |
Thanks for your kind words. I'm looking forward to sharing useful knowledge here.
author | learncode |
---|---|
permlink | re-nathen007stem-qtzc50 |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2021.05.4"} |
created | 2021-05-31 16:22:12 |
last_update | 2021-05-31 16:22:12 |
depth | 2 |
children | 0 |
last_payout | 2021-06-07 16:22:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 81 |
author_reputation | 682,726,195,093 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,045,197 |
net_rshares | 0 |
<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>
author | pizzabot |
---|---|
permlink | re-part-1-coding-on-hive-with-python-setting-up-20210529t010951z |
category | programming |
json_metadata | "{"app": "beem/0.24.19"}" |
created | 2021-05-29 01:09:51 |
last_update | 2021-05-29 01:09:51 |
depth | 1 |
children | 0 |
last_payout | 2021-06-05 01:09:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 785 |
author_reputation | 6,161,087,277,960 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 103,996,303 |
net_rshares | 0 |
This is so helpful. Thank you very much.
author | ramon2024 |
---|---|
permlink | re-learncode-riee5y |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2022.07.1"} |
created | 2022-09-18 08:56:24 |
last_update | 2022-09-18 08:56:24 |
depth | 1 |
children | 0 |
last_payout | 2022-09-25 08:56:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 40 |
author_reputation | 12,932,940,398,915 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 116,716,737 |
net_rshares | 0 |
I see that you have the second post on this. Can this be done using .net like C#?
author | snowwizard |
---|---|
permlink | re-learncode-202161t224148983z |
category | programming |
json_metadata | {"tags":["programming","coding","hive","python","beem","ctp","palnet","proofofbrain","stem","broadhive"],"app":"ecency/3.0.18-mobile","format":"markdown+html"} |
created | 2021-06-02 05:41:48 |
last_update | 2021-06-02 05:41:48 |
depth | 1 |
children | 1 |
last_payout | 2021-06-09 05:41:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 81 |
author_reputation | 6,184,728,777 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,078,419 |
net_rshares | 0 |
I haven't done any C#, but there may be an unofficial library for Hive out there somewhere.
author | learncode |
---|---|
permlink | re-snowwizard-202161t19593552z |
category | programming |
json_metadata | {"tags":["programming","coding","hive","python","beem","ctp","palnet","proofofbrain","stem","broadhive"],"app":"ecency/3.0.18-mobile","format":"markdown+html"} |
created | 2021-06-02 05:59:36 |
last_update | 2021-06-02 05:59:36 |
depth | 2 |
children | 0 |
last_payout | 2021-06-09 05:59:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 91 |
author_reputation | 682,726,195,093 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,078,684 |
net_rshares | 0 |
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
author | solymi |
---|---|
permlink | re-learncode-qu4twy |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2021.05.5"} |
created | 2021-06-03 15:34:12 |
last_update | 2021-06-03 15:34:12 |
depth | 1 |
children | 1 |
last_payout | 2021-06-10 15:34:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 197 |
author_reputation | 175,444,056,442,724 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,107,280 |
net_rshares | 1,495,576,062 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
luvshares | 0 | 991,430,081 | 5% | ||
learncode | 0 | 504,145,981 | 100% |
Thanks for reading and thanks for the LUV token
author | learncode |
---|---|
permlink | re-solymi-202163t5378316z |
category | programming |
json_metadata | {"tags":["programming"],"app":"ecency/3.0.18-mobile","format":"markdown+html"} |
created | 2021-06-03 15:37:09 |
last_update | 2021-06-03 15:37:09 |
depth | 2 |
children | 0 |
last_payout | 2021-06-10 15:37:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 47 |
author_reputation | 682,726,195,093 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,107,332 |
net_rshares | 0 |
I'll be reading your posts. I've done a bit of Python programming around Hive, but there is always more to learn. !PIZZA
author | steevc |
---|---|
permlink | re-learncode-qu2vgi |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2021.05.5"} |
created | 2021-06-02 14:12:18 |
last_update | 2021-06-02 14:12:18 |
depth | 1 |
children | 2 |
last_payout | 2021-06-09 14:12:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 121 |
author_reputation | 1,046,402,885,192,940 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,084,938 |
net_rshares | 0 |
Thanks Steve! Happy to share some knowledge.
author | learncode |
---|---|
permlink | re-steevc-202162t54328303z |
category | programming |
json_metadata | {"tags":["programming"],"app":"ecency/3.0.18-mobile","format":"markdown+html"} |
created | 2021-06-02 15:43:27 |
last_update | 2021-06-02 15:43:27 |
depth | 2 |
children | 0 |
last_payout | 2021-06-09 15:43:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.030 HBD |
curator_payout_value | 0.007 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 44 |
author_reputation | 682,726,195,093 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,086,452 |
net_rshares | 155,095,771,429 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
steevc | 0 | 155,095,771,429 | 10% |
<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>
author | pizzabot |
---|---|
permlink | re-re-learncode-qu2vgi-20210602t141330z |
category | programming |
json_metadata | "{"app": "beem/0.24.19"}" |
created | 2021-06-02 14:13:30 |
last_update | 2021-06-02 14:13:30 |
depth | 2 |
children | 0 |
last_payout | 2021-06-09 14:13:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 743 |
author_reputation | 6,161,087,277,960 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,084,965 |
net_rshares | 0 |
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.
author | yintercept |
---|---|
permlink | qtvpih |
category | programming |
json_metadata | {"links":["https://developers.hive.io/tutorials/#tutorials-javascript"],"app":"hiveblog/0.1"} |
created | 2021-05-29 17:20:45 |
last_update | 2021-05-29 17:20:45 |
depth | 1 |
children | 3 |
last_payout | 2021-06-05 17:20:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.034 HBD |
curator_payout_value | 0.033 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 776 |
author_reputation | 23,962,343,431,134 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,008,373 |
net_rshares | 165,125,429,888 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
yintercept | 0 | 158,943,711,404 | 100% | ||
vagabondspirit | 0 | 5,666,511,720 | 100% | ||
learncode | 0 | 515,206,764 | 100% |
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.
author | learncode |
---|---|
permlink | re-yintercept-qtvql4 |
category | programming |
json_metadata | {"tags":["programming"],"app":"peakd/2021.05.4"} |
created | 2021-05-29 17:43:54 |
last_update | 2021-05-29 17:43:54 |
depth | 2 |
children | 2 |
last_payout | 2021-06-05 17:43:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.034 HBD |
curator_payout_value | 0.034 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 354 |
author_reputation | 682,726,195,093 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,008,725 |
net_rshares | 168,859,618,598 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
yintercept | 0 | 162,354,008,082 | 100% | ||
vagabondspirit | 0 | 5,781,050,293 | 100% | ||
jaxsonmurph | 0 | 724,560,223 | 36.6% |
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/
author | yintercept |
---|---|
permlink | qtvtsu |
category | programming |
json_metadata | {"links":["https://pypi.org/project/hiveengine/"],"app":"hiveblog/0.1"} |
created | 2021-05-29 18:53:21 |
last_update | 2021-05-29 18:53:21 |
depth | 3 |
children | 1 |
last_payout | 2021-06-05 18:53:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 235 |
author_reputation | 23,962,343,431,134 |
root_title | "Part 1: Coding on Hive With Python - Setting Up" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 104,009,762 |
net_rshares | 0 |