• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
  • Clients
  • Python Client
  • Data Caching
Show / Hide Table of Contents
  • Getting Started with NCache
  • Install NCache (.NET Edition)
    • Prerequisites
    • Installer
  • Install NCache (Java Edition)
    • Prerequisites
    • Installer
    • Docker
  • Getting Started with NCache Cloud
  • Distributed Cache
    • Create Cache
    • Add Local/Remote Clients
    • Simulate Cache Usage
    • Monitor Cache
  • Persistent Distributed Cache
    • Create Cache
    • Add Local/Remote Clients
    • Simulate Cache Usage
    • Monitor Cache
  • Pub/Sub Messaging Cache
    • Create Cache
    • Add Local/Remote Clients
    • Simulate Cache Usage
    • Monitor Cache
  • Clients
    • .NET Client
      • Data Caching
      • ASP.NET Core Sessions
      • Pub/Sub Messaging
    • Java Client
      • Data Caching
      • Java Web Sessions
      • Pub/Sub Messaging
    • Python Client
      • Data Caching
      • Pub/Sub Messaging
    • Node.js Client
      • Data Caching
      • Web Sessions
      • Pub/Sub Messaging

Data Caching in Python Sample Application

NCache provides a sample application for Python on GitHub. This section will guide you through setting up and using this sample Python application.

Important

To learn about the supported Python versions, please refer to the NCache Installation Guide.

Important

Before getting started with NCache in Python, take the following prerequisites under consideration:

  • Ensure only .NET 6.0 is installed on the machine where you are running your python application.
  • Microsoft Visual C++ redistributed package 2015 is installed.

NCache Demonstration using Sample Application

Follow the steps mentioned here to see how NCache is used to perform various operations on your Python application's data.

Step 1: Download Sample from GitHub

Go to the NCache repository on GitHub and download the entire repository or the sample you are interested in.

Step 2: Launch the Project

Launch your Python sample application in a Python IDE of your choice. For example, PyCharm 2019 or above.

Step 3: Configure Settings

After launching the project, locate and open the app-config.json file where you have to change the cache name to the cache you created before.

Step 4: Build and Run Sample

After configuring the cache settings, build the sample application for further use.

Step 5: Monitor NCache

Go to the NCache Management Center, and against the cache you have created previously, click on Monitor. You will see the counters dashboard projecting the change in the cache.

See Also

Create Distributed Cache
Create Distributed Cache with Persistence
Use NCache for Python Pub/Sub Messaging
Use NCache for Node.js Application

In This Article
  • NCache Demonstration using Sample Application
    • Step 1: Download Sample from GitHub
    • Step 2: Launch the Project
    • Step 3: Configure Settings
    • Step 4: Build and Run Sample
    • Step 5: Monitor NCache
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top