Results for: Python

Build A Python Microservice With Couchbase – Part 3

Build A Python Microservice With Couchbase – Part 3

Recap In the previous two installments of this series, we discussed the drivers behind creating microservices. We also looked at why Couchbase is the perfect datastore to use with such an architecture. We also looked at three variants of a...

April 26, 2022
Creating Python and JavaScript User Defined Functions For Geospatial Queries

Creating Python and JavaScript User Defined Functions For Geospatial Queries

SQL++ queries can access data stored in your Couchbase cluster in a variety of ways. There are situations where having the business logic as part of your data queries can also be beneficial. SQL++ supports this with User Defined Functions...

April 20, 2022
Build A Python Microservice With Couchbase – Part 2

Build A Python Microservice With Couchbase – Part 2

In the first installment of this series, we discussed the drivers behind creating microservices, and why Couchbase is the perfect datastore to use with a microservice architecture. With their stateless nature, they can be deployed anywhere and horizontally scaled as...

April 11, 2022
Build A Python Microservice With Couchbase – Part 1

Build A Python Microservice With Couchbase – Part 1

Microservices require a scalable and sustainable set of components. This post introduces how to build microservices using Python and Couchbase to provide a fully-scalable solution. Monolithic applications present many challenges. They were born in an age when everything ran on...

March 29, 2022
Validate JSON Documents in Python using Pydantic

Validate JSON Documents in Python using Pydantic

One of the main attractions of document databases is the flexibility of the document structure or schema. For the most part, the flexibility in the document schema is beneficial. However, there might be some situations where having some structure to...

March 22, 2022
Querying Trades on the Stellar Blockchain using Couchbase & Python

Querying Trades on the Stellar Blockchain using Couchbase & Python

In Part 1 of this series, Monitor Stellar Assets Using Couchbase & Python, we introduced the basic concepts of the Stellar Decentralized (Blockchain) Exchange and showed how to store a copy of an account asset list in Couchbase. In this...

March 10, 2022
Monitor Stellar Assets using Couchbase & Python

Monitor Stellar Assets using Couchbase & Python

This post describes how to build a basic client that records activity on the Stellar Decentralized Blockchain. Stellar hosts a growing list of new and different cryptocurrency alt-coins and tokens. With the code from this post you can create a...

February 15, 2022
ML Meets NoSQL: Integrating Python User-Defined Functions with SQL++ for Analytics

ML Meets NoSQL: Integrating Python User-Defined Functions with SQL++ for Analytics

After conversations with our customers about the delay in obtaining analytical insights from their Python-based machine learning models, we set out to create a seamless pipeline from Python to Couchbase Analytics that returns faster insights in real time.  Introduction With...

, November 8, 2021
How to Take Python Input in Couchbase

How to Take Python Input in Couchbase

Writing software is never easy. Writing software that appeals to users requires interacting with them. So do you get relevant data that you can put to use on behalf of users? Python – the most-wanted language for building software according...

June 2, 2021
How to Update Python 2 to Python 3 & The Differences Between Them

How to Update Python 2 to Python 3 & The Differences Between Them

Introduction The last major Python upgrade — to version 3 — arrived in Dec. 2008, nearly 12 years ago. And yet there is a good chance that you are still working on the Python 2 product or test code. If...

Introducing Couchbase Python Client 3.0 Alpha

Introducing Couchbase Python Client 3.0 Alpha

I’m happy to announce the first alpha of Couchbase Python Client 3.0. This major new version shares the same advanced internals of its predecessor, while presenting a new, harmonised and revised API shaped by our experiences supporting and developing SDK2....

Geospatial queries: Using Python to search cities

Geospatial queries: Using Python to search cities

Using Python we are creating a tool that will use geospatial queries with Couchbase REST API and Couchbase Full Text Search, which will help us in searching a database of cities.