semvec/pypi-packages huggingface dataset:
IOS-SHOGUN 1.0.2
shogun-python3 module 1.0 - updated: blocking byte buffers --+console logs + console_colors Reset the terminal color font + bufferState hunger state

# IOS_SHOGUN-Model

shogun-python3 module 1.2 - updated: blocking byte buffers --+console logs + console_colors Reset the terminal color font + bufferState hunger state
[Github-flavored Python version](https://github.com/Atomicntege/IOS_SHOGUN/)
If you are interested, you can take a look

shogun.modul content-BufferByte:

    "The byte-buffered queue, suitable for multithreaded operations and use, is a basic buffered queue
    His basic functions are divided into: queue,push, pop, query, persist, get, persist_put, BufferSpace,
    GetBufferSpace, QueryBufferSpace, detailed features, see details
    author：ios_shogun-AtomicJun
    date:2023-2-24
    self:IOS_SHOGUN_studio"

shogun.modul content-console_colors:

        "console_color" class:reset all colors with colors.reset; two
        subclasses foreground for foreground
        and background for background; use as colors.subclass.colorname.
        i.e. colors.foreground.red or colors.background.green also, the generic bold, disable,
        underline, reverse, strike through,
        and invisible work with the main class i.e. colors.bold
        author：ios_shogun-AtomicJun
        date:2023-2-24
        self:IOS_SHOGUN_studio"

shogun.modul content-console:
        
        "The 'console' micro-logging system carries its own 'BufferByte' when using the console,
        which can be used for multithreaded operation processing, which is divided into 5 levels - error,
        warning, message. Debugging, correct, each level has a different effect,
        of course you can go through the 'disposition' configuration of it,
        Export can drive IO logs Of course, you can also configure the log name,
        and whether it is continuous,Configure via 'Continuity'
        In a continuous state, each 'debug...' debug will drive the IO log generation and
        the emptying of 'bufferByte', 'bufferByte' it is in unlimited mode - you can set the same log path,
        I have introduced simple information, please go down for information
        author：ios_shogun-AtomicJun
        date:2023-2-24
        self:IOS_SHOGUN_studio"
timevalue 0.0.2b6
A simple Python package for financial valuation
Requires Python: >=3.7
Keywords: analytics,investing,finance

# Timevalue

Timevalue is a simple Python package for finding the time value of money

```bash
pip install timevalue
```

## Future & Present Cli Commands

Find future value of money for $1000$ at $0.03%$ interest for $2$ periods:

```bash
future 1000 .03 2 #returns 1060.90
```

Find present value of money for $1000$ at $0.03%$ interest for $2$ periods:

```bash
present 1000 .03 2 #returns 942.60
```

## Annuity Cli Command

Annuities are payments are that are paid to you as a steady stream of income. Heres an example annuity.

Q1. Find the future value of an annuity cash flow of $1000$ with and interest rate of $0.06$ for $3$ periods.

```bash
annuity --future_value --cash_flow 1000 --interest_rate 0.06 --time 3 # returns 2673.011949461636
```

Say we want calculate the annuity present value given the cash flow as the result from Q1, use the `--present_value` and `--pv` flag to get the cash flow value:

```bash
annuity --present_value --cash_flow 2673.011949461636 --interest_rate 0.06 --time 3 --pv
```

Heres an example of growing annuity due.

```bash
annuity --future_value --due --cash_flow 1000 --interest_rate 0.06 --time 3 --growth_rate .10
```

Output:

```bash
3709.576
```

You can access the help by using `annuity --help`.

## Import timevalue package

```python3
In [1]: from timevalue.investing import time_value_money

In [2]: initialize = time_value_money.TimeValueOfMoney()

In [3]: initialize.future_value_of_money(1000, .03, 2)
Out[3]: 1060.9

In [4]: initialize.present_value_of_money(1000, .03, 2)
Out[4]: 942.5959091337544
```

See more [examples](https://github.com/mmsaki/timevalue/blob/main/src/timevalue/examples/annuities.md).