Skip to main content
ToC:
- [Asset-Allocation](#asset-allocation)
- [Introduction](#introduction)
- [Development](#development)
- [Configuration](#configuration)
- [Data Store](#data-store)
- [Tests](#tests)
- [Distribution](#distribution)
- [Test Site](#test-site)
- [Production Site](#production-site)

# Asset-Allocation
Asset Allocation implementation in Python

## Introduction

The idea here is to encapsulate Asset Allocation logic into a separate component and make it available to other projects (GnuCash Portfolio, and Android apps).

This will include its own data storage.

Dependencies will include:
- price database, for calculation of current value
- transaction database for securities, for calculation of current value

# Development

Requirements are generated with _pipreqs_. Install requirements from requirements.txt.

## Configuration

On the first run, a config file will be created in the user's directory, based on the template in project's data directory.

## Data Store

Data storage is in a SQLite database, which allows for portability, easy queries and relatively easy editing.
The sample data file is in "data" folder.

# Tests

To lint the code, execute `pylint` from the project root directory.
To run tests, execute `pytest` from the project root directory.

# Distribution

## Test Site

```console
python setup.py sdist upload -r test
```

## Production Site

```console
python setup.py sdist upload -r pypi
```

Metadata

Release files for Asset_Allocation 1.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Asset_Allocation 1.3.3
File Size Uploaded
Asset_Allocation-1.3.3.tar.gz 21.8 kB Details

Release files / Asset_Allocation-1.3.3.tar.gz

Download URL Asset_Allocation-1.3.3.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3cb30fb20e282e05e2d21eb1de7e13a05c9411568d78653314e5bb92665f3ece
BLAKE2b-256 checksum
How to use checksums
01d751648f4eb86d2be0a30b9f65b8c4df26ee13a958e4b15c5b55765345b6d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

This release

1.3.3 This release

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.6

1 release file

1.2.5

1 release file

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page