semvec/pypi-packages huggingface dataset:
timeseries-performance-calculator 0.3.11
A Python package for calculating and analyzing time series performance metrics
Requires Python: >=3.7

# Time Series Performance Calculator

A Python package for calculating and analyzing time series performance metrics for financial data.

## Features

- Calculate annualized returns (CAGR method and days-based method)
- Generate monthly returns tables
- Create monthly cumulative returns tables
- Calculate relative performance against benchmarks
- Compute maximum drawdown metrics
- Calculate annualized volatility
- Generate performance tables with customizable formatting options

## Installation

```bash
pip install timeseries-performance-calculator
```

Or install from source:

```bash
git clone https://github.com/nailen1/timeseries-performance-calculator.git
cd timeseries-performance-calculator
pip install -e .
```

## Usage

```python
# Code examples will be updated in future releases.
# Detailed usage examples and documentation will be provided in upcoming versions.
```

> **Note**: This package is currently under development. More detailed usage examples and documentation will be provided in future updates.

## Dependencies

- fund_insight_engine
- universal_timeseries_transformer
- string_date_controller
- canonical_transformer

## License

MIT

## Author

June Young Park (juneyoungpaak@gmail.com)
bson-senao 0.5.10
BSON codec for Python
Requires Python: >=3.9
Keywords: BSON, codec

bson
====


.. image:: https://img.shields.io/pypi/v/bson.svg
   :target: https://pypi.python.org/pypi/bson
.. image:: https://img.shields.io/travis/py-bson/bson.svg
   :target: https://travis-ci.org/py-bson/bson
.. image:: https://img.shields.io/pypi/pyversions/bson.svg
   :target: https://github.com/py-bson/bson
   

Independent BSON codec for Python that doesn't depend on MongoDB. The bson
ObjectId implementation is forked from the PyMongo project, licensed under
the Version 2.0 Apache License.

Installation
------------

.. sourcecode:: bash

   ~ $ python setup.py install

or can use pip

.. sourcecode:: bash

   ~ $ pip install bson


Quick start
-----------

.. sourcecode:: python

   >>> import bson
   >>> a = bson.dumps({"A":[1,2,3,4,5,"6", u"7", {"C":u"DS"}]})
   >>> b = bson.loads(a)
   >>> b
   {'A': [1, 2, 3, 4, 5, '6', u'7', {'C': u'DS'}]}


Sending and receiving BSON objects to and from network sockets.


.. sourcecode:: python

   >>> from gevent import monkey, socket
   >>> monkey.patch_all()
   >>>
   >>> import bson
   >>> bson.patch_socket()
   >>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
   >>> s.connect(("127.0.0.1", 12345))
   >>> s.sendobj({u"message" : "hello!"})