Skip to main content

A grid based financial analysis tool for generating easy to use dictionary objects.

Project description

Parchment

A grid based financial tool for generating easy to use dictionary objects

Usage

import parchments
from datetime import datetime

row_index = (
    ('Debt', 'dollar', 2),
    ('Revenue', 'dollar', 2),
    ('Ratio', 'percentage', 4),
    ('Days', 'int', 0),
)

period_data = [
    200000.00,
    30000.00,
    0.7500,
    22,
]

other_period_data = [
    120000.00,
    60000.00,
    0.5000,
    14,
]

my_grid = parchments.Grid(row_index)

my_grid.add_period(datetime(2020, 4, 1), period_data)
my_grid.add_period(datetime(2020, 5, 1), other_period_data)
my_grid.add_period(datetime(2020, 6, 1), period_data)
my_grid.add_period(datetime(2020, 7, 1), other_period_data)

print(my_grid.to_dict())

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

parchments-0.0.1a0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

parchments-0.0.1a0-py3-none-any.whl (5.8 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