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
- Website: https://stockscrapers.com
- Financial Statement API: https://rapidapi.com/charbelmarche33-m9pHgx2tG/api/stock-financial-statement-retriever-from-sec
- On PyPi: https://pypi.org/user/charbelmarche33/
Project details
Release history Release notifications | RSS feed
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)