Skip to main content

Package containing the Vividict class. Allows for nested dictionaries.

Project description

Home of the ViviDict Package

This package contains the Vividict class which can be used to create nested dictionaries in python.

By: Charbel Marche


Meta Data

  • Title: ViviDict Package
  • Author: Charbel Antoine Marche
  • Date: July 10, 2024
  • Language: Python
  • Comment: This package contains a simple vividict class that is adapted from various stackoverflow answers. It enables the creation of nested dictionaries, which is necessary across many stockscrapers projects.
  • URL: https://github.com/StockScrapers/vividict

Table of Contents

Installation

You can install this package locally using the following command in your terminal. s

pip install vividict

This should install the latest vividict version to your environment.

Usage

Once the package is installed, you can import the Vividict class into your python project as such:

from vividict import Vividict

Then you can initialize your vividict object with the below code.

vivi = Vividict()

From then on out you can use the 'vivi' variable (or the respectively named variable) to create a nested dictionary.

vivi[outerkey][innerkey] = value

More From Us

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vividict-0.1.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

vividict-0.1.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page