semvec/pypi-packages huggingface dataset:
django-duration-log 0.0.4
A Duration Log Tool for Django

## Django Duration Log

### 注册到 `installed_apps` 中

```python
INSTALLED_APPS = [
    "corsheaders",
    "django_duration_log",
    ···
]
```

### 添加 `middleware`

```python
MIDDLEWARE = [
    "corsheaders.middleware.CorsMiddleware",
    "django_duration_log.middlewares.DjangoDurationLogMiddleware",
    ···
]
```

### 配置环境变量

```python
INFLUXDB_ACCESS_TOKEN = os.getenv("INFLUXDB_ACCESS_TOKEN")
INFLUXDB_ORG = os.getenv("INFLUXDB_ORG")
INFLUXDB_BUCKET = os.getenv("INFLUXDB_BUCKET")
INFLUXDB_URL = os.getenv("INFLUXDB_URL")
```
rteRestAPI 0.0.1
RTE RESTfull API implimentation.

Project Short Description (default ini)

    Project long description or extended summary goes in here (default ini)

=======
Testing
=======

This project uses ``pytest`` to run tests and also to test docstring examples.

Install the test dependencies.

.. code-block:: bash

    $ pip install -r requirements_test.txt

Run the tests.

==========
Developing
==========

This project uses ``black`` to format code and ``flake8`` for linting. We also support ``pre-commit`` to ensure these have been run. To configure your local environment please install these development dependencies and set up the commit hooks.

.. code-block:: bash

    $ pip install black flake8 pre-commit
    $ pre-commit install

=========
Releasing
=========

Releases are published automatically when a tag is pushed to GitHub.

.. code-block:: bash

    # Set next version number
    export RELEASE = x.x.x

    # Create tags
    git commit --allow -empty -m "Release $RELEASE"
    git tag -a $RELEASE -m "Version $RELEASE"

    # Push
    git push upstream --tags