Coder Social home page Coder Social logo

chipi's Introduction

CHIPI - Comprehensive History and Interactive Python Interface

CHIPI is a flexible and easy-to-use Python package for managing and manipulating data in buffers. It provides a comprehensive history tracking system and an interactive Python interface for handling data operations in buffers.

Features

  • Create and manage multiple buffers
  • Flexible buffer size with optional maximum length
  • Built-in methods for data manipulation and analysis
  • Extendable with custom methods
  • Import and export data from JSON and CSV files

Installation

To install CHIPI, simply run:

pip install chipi

Quick Start

from chipi import Buffer, BufferManager

# Create a buffer and add some data
buf = Buffer("my_data")
buf.add(1)
buf.add(2)
buf.add(3)

# Retrieve data
print(buf.current_value)  # Output: 3
print(buf.previous_value)  # Output: 2
print(buf.data)  # Output: [1, 2, 3]

# Create a BufferManager for managing multiple buffers
labels = ["data1", "data2", "data3"]
buff_mgr = BufferManager(labels)

# Add data to the managed buffers
buff_mgr.d["data1"].add(10)
buff_mgr.d["data2"].add(20)
buff_mgr.d["data3"].add(30)

# Get data from a managed buffer
print(buff_mgr.get_data("data1"))  # Output: [10]

chipi's People

Contributors

remokasu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.