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
Built Distribution
File details
Details for the file vividict-0.1.1.tar.gz
.
File metadata
- Download URL: vividict-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 378fbd746b3de70ec01fdc9ac6049315ed44935d08f69cec7aea05f70ef10425 |
|
MD5 | 8553eb6765ed6504f4bb48e55f47c510 |
|
BLAKE2b-256 | bc382b4b9fe0ade148097a06870905f54e8e444700674b4c5b5cb724974767ee |
File details
Details for the file vividict-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: vividict-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2f54b8d211be87899c0da9c49de49ba1fa03e40a34e1a04dc87c48f5bb68462 |
|
MD5 | b6803754b6250cd3dbc7a7c44b0c118c |
|
BLAKE2b-256 | 4475853e9f3d92e59e27ec672d2f38619f5cae40387cc6abc6ffc9dde216c27b |