semvec/pypi-packages huggingface dataset:
django-annotator 2.2.15
Implementation of annotatorjs's Storage/Search API.
License: Apache-2.0
Requires Python: <4.0,>=3.10

# `django-annotator`

Django implementation of [annotatorjs Storage](http://annotatorjs.org/).

Implements most of the methods as per the
[Core Storage/Search API](http://docs.annotatorjs.org/en/v1.2.x/storage.html#core-storage-api)
documentation (`root`, `index`, `create`, `read`, `update`,`delete` and
`search`).

To see a working demo:

```sh
poetry install
poetry run python3 ./demo.py
```

This will run the tests, after which a demo. page will be available at `/demo`.

## Installation

The package can be installed via `poetry`:

```sh
poetry add django-annotator
```

Following installation it can be added to any Django project by updating the
`INSTALLED_APPS`, along with its dependencies:

```python
INSTALLED_APPS = (
    ...
    "rest_framework",
    "django_filters",
    "annotator",
)
```

As per the integration
[documentation](https://django-filter.readthedocs.io/en/latest/guide/rest_framework.html)
for `django-filter`, `DEFAULT_FILTER_BACKENDS` must also be added to
`settings.py`:

```python
REST_FRAMEWORK = {
    "DEFAULT_FILTER_BACKENDS": (
        "django_filters.rest_framework.DjangoFilterBackend",
    ),
},
```

Then run `migrate` to include the new tables from `django-annotator`:

```sh
poetry run python3 ./manage.py migrate
```

## Annotator

The package relies on *Annotator* being installed in your project—see the
[documentation](http://docs.annotatorjs.org/en/v1.2.x/getting-started.html) for
details of its inclusion.

## Settings

As per Annotator's documentation, the
[root](http://docs.annotatorjs.org/en/v1.2.x/storage.html#root) endpoint will
return information in the format:

```json
{
    "name": "django-annotator-store",
    "version": "2.1.0"
}
```

The `name` returned can be configured by setting `ANNOTATOR_NAME` in your
`settings` (defaulting to the above).

## `django-cors-headers`

If you have any issues with *Cross-origin resource sharing (CORS)*, consider
installing
[`django-cors-headers`](https://github.com/ottoyiu/django-cors-headers).
gs-quant 1.5.2
Goldman Sachs Quant
License: Apache-2.0
Requires Python: >=3.9

GS Quant is a Python toolkit for quantitative finance, which provides access to an extensive set of derivatives pricing data through the Goldman Sachs Marquee developer APIs. Libraries are provided for timeseries analytics, portfolio manipulation, risk and scenario analytics and backtesting. Can be used to interact with the Marquee platform programmatically, or as a standalone software package for quantitiative analytics.

Created and maintained by quantitative developers (quants) at Goldman Sachs to enable development of trading strategies and analysis of derivative products. Can be used to facilitate derivative structuring and trading, or as statistical packages for a variety of timeseries analytics applications.

# Overview
GS Quant is a Python toolkit for quantitative finance, which provides access to an extensive set of derivatives pricing data through the Goldman Sachs Marquee developer APIs.

# Important Links
- [GS Developer](https://developer.gs.com/docs/gsquant/)
- [PyPI](https://pypi.org/project/gs-quant/)
- [gs_quant_internal](https://gitlab.gs.com/marquee/analytics/gs_quant_internal)

## Set up
- [Getting Started](https://confluence.apg.services.gs.com/display/TECHPY/Getting+started+with+Python+in+GS)
- [Git Setup](./docs/developer-setup.md)
- [Marquee Gitflow](https://gitlab.gs.com/marquee/ui-platform/sdlc/blob/develop/docs/developer-setup.md#marquee-gitflow)

### Code formatting

We are now using [ruff](https://github.com/astral-sh/ruff) for very fast code formatting. The easiest thing to do it to use the pre-commit hooks.
That way when you commit it will automatically format and fix your code.  

```bash
# If you DIDN't use uv to setup your env you might need to install ruff and pre-commit manually.
pip install ruff pre-commit
```
Installs the pre-commit hooks, this will make ruff run on every commit.
```bash
pre-commit install
```
Alternatively you can run the ruff commands locally, `check` runs lint style check for code issues and `--fix` will fix them. `format` is about the code style, whitespace etc.
```bash
ruff check --fix
ruff format
```


## Build / Test / Develop
- Install development dependencies (see extras_require in setup.py).
- Check out the project.
- Navigate to project root.
- Consider installing it in [development mode](https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode).

To build distribution package:
- `python setup.py sdist`
- Package will be created in the dist/ folder.

To run tests:
- `pytest gs_quant/test`

# Contacts
- Symphony room: gs_quant
- Distribution list: gs-quant@gs.com