Python script to retrieve objects from Oracle Cloud Bucket

For…reasons, I needed a way to retrieve all the .CSV files in a regional bucket in Oracle Cloud Object Storage, located at this address: https://objectstorage.us-phoenix-1.oraclecloud.com/n/dwcsprod/b/moviestream_data_load_workshop_20210709/o You can visit it; we use it for one of our LiveLabs (this one), so I’m sure it will stay live for a while 😘. Once there, you’ll see all … Read more

Python and the Oracle Autonomous Database: Three Ways to Connect

summary-outut-from-sql-query-in-test1-python-file-chris-hoina-senior-product-manager-ords-oracle-rest-apis-autonomous-database-database-actions

Watch the deep dive videos: Part I Part II Part III Welcome back I finally had a break in my PM duties to share a small afternoon project [I started a few weeks ago]. I challenged myself to a brief Python coding exercise. I wanted to develop some code that allowed me to connect to … Read more

Using Python Pandas to turn ISO Country Codes into a string to use as values for a SQL Query

pandas-to_html-printout-of-ISO-codes-table-chris-hoina-senior-product-manager-oracle-rest-apis-oracle-autonomous-database-sql-developer-web-ORDS

Summary, code, resources Problem While querying a table (based on this dataset) with SQL, you realize one of your columns uses 3-character ISO Country Codes. However, some of these 3-character codes aren’t countries but geographical regions or groups of countries, in addition to the actual country codes. How can you filter out rows so you are left … Read more

More fun with Medium story stats, JSON, Python, Pandas, and Oracle SQL Developer Web

completed-csv-ready-for-oracle-autonomous-database-chris-hoina-senior-product-manager-oracle-rest-apis-database-tools-autonomous-database

That’s right; I’m back again for yet another installment of this ongoing series dedicated to working with Medium.com story stats. I first introduced this topic in a previous post. Maybe you saw it. If not, you can find it here. Recap My end goal was to gather all story stats from my Medium account and … Read more

Fun with Python GET requests, Medium stats, and the Oracle Autonomous Database

Audience-Stats-in-Medium-Chris-Hoina-ORDS-Oracle-REST-Database-Actions-Oracle-Autonomous-Database

I feel so silly for posting this because you’ll quickly realize that I will have to leave things unfinished for now. But I was so excited that I got something to work, that I had to share! If you’ve been following along, you know you can always find me here. But I do try my best … Read more

Python POST requests three ways with Oracle REST Data Services (ORDS)

Columns-in-POST-table-in-Oracle-Autonomous-Database-to-test-requests-in-Python-ORDS-Oracle-REST-APIs-Chris-Hoina-Product-Manager-Database-Actions-Database-Tools

The simple POST request It was bugging me that I couldn’t perform a simple Python POST request to an ORDS REST-enabled table. I don’t mean to convey that this isn’t possible. Up until very recently, I wasn’t able to do this. Luckily I had a few hours free, so I took to the docs to … Read more

Flask, Python, ORDS, and Oracle CloudWorld 2022

Las-Vegas-Oracle-CloudWorld-2022-Chris-Hoina-Senior-Product-Manager-ORDS-Database-Tools-photo-courtesy-of-parsamphotography

Python, Flask, and ORDS Restaurants Web Application update If you’ve been following along, then you are probably aware of the python/flask/ORDS journey that I’ve embarked on. If not, you can read up on the overview here. The idea was to take local restaurant health inspection scores (aka Sanitary grades) and present the data to a … Read more

Python + Folium + Oracle REST APIs (aka ORDS)

Folium-Stamen-Toner-Python-ORDS-APIs-ADB-Chris-Hoina-Senior-Product-Manager-Database-Tools-Oracle-Autonomous-Database

Willkommen I stumbled upon a new [to me] python library called Folium. It’s a mapping tool that enables python developers (or is it programmers, which is less offensive?) to visualize data on a Leaflet map. About folium Folium makes it easy to visualize data that’s been manipulated in Python on an interactive leaflet map. It … Read more

Working with WTForms and Oracle REST Database Services (ORDS) APIs

Current Flask application, made presentable by using Bootstrap for HTML and CSS

Welcome Back The title pretty much speaks for itself, and if you’ve been following along, you’d know that I’m working on a demo application that uses Flask (a web application microframework) connected to my Oracle Autonomous Database (ADB) via Oracle REST Data Services (ORDS) APIs. One of Flask’s strengths is that it allows you to … Read more