semvec/pypi-packages huggingface dataset:
landregistry-trace-id 0.9.9
Tracability for HMLR applications
License: MIT
Requires Python: >=3.9

# Tracability for Python applications

Convienience Flask extension for retrieving trace IDs from incoming requests.

This package depends on:
* Flask (Version 2.2.2 or higher)
* Python 3.9 or higher

## Usage

Instantiate it like a normal flask extension:

```python
from landregistry.trace_id import TraceID
from <somewhere> import app

# ...

trace_id_extn = TraceID()
trace_id_extn.init_app(app)

# retrieve the current trace ID
trace_id = trace_id_extn.current_trace_id
```

## Properties

TraceID.**current_trace_id**

If the application is serving a request, and the value in the request header `X-Trace-ID` is present and is a valid trace ID, then returns the header value.

If the application is serving a request, and the request header `X-Trace-ID` is absent or contains an invalid trace ID, returns a new trace ID. A new trace ID generated this way will be the same for all calls to **current_trace_id** for a given request.

If the application is not serving a request, returns `N/A`.
nonebot_plugin_xjj_video 0.1.5
美女视频发送到聊天软件
License: MIT
Requires Python: <4.0,>=3.10

<p align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://user-images.githubusercontent.com/44545625/209862575-acdc9feb-3c76-471d-ad89-cc78927e5875.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
</p>

<div align="center">

# nonebot_plugin_xjj_video

_✨小姐姐视频✨_

## 介绍
发送小姐姐视频
自行克隆本仓库video文件夹放到插件目录
## 使用方法
- @bot+小姐姐视频/小姐姐
landregistry-enhanced-logging 0.9.9
Standardised logging configuration for HMLR applications
License: MIT
Requires Python: >=3.9

# Enhanced Logging for HMLR Applications

## Consistent logging for applications

### Features
* Filter that adds the current trace ID to each log record
* Formatter to write each log message in a standard JSON format, compatible
with the [common development environment](https://github.com/LandRegistry/common-dev-env) and STP standard logging configuration.
* Includes the `content_security_policy` logger configuration for the skeleton UI

This package *can* depend on one of:
* Flask and Flask-LogConfig
* Kombu

You should include these dependencies in your `requirements.in` as <thing>, for example:

```
landregistry-enhanced-logging[flask]  # Depend on Flask
landregistry-enhanced-logging[kombu]  # Depend on Kombu
landregistry-enhanced-logging         # No dependencies
```


#### Flask applications
Import `FlaskEnhancedLogging` and initialise it as a Flask extension:

```python
from landregistry.enhanced_logging import FlaskEnhancedLogging
from <somewhere> import app

enhanced_logging = FlaskEnhancedLogging()
enhanced_logging.init_app(app)

# Then just use the default Flask app logger:
app.logger.info('This is a log message')
```

#### Kombu applications
Import `KombuEnhancedLogging` and initialise it:

```python
from landregistry.enhanced_logging import KombuEnhancedLogging

logger_ext = KombuEnhancedLogging()
logger = logger_ext.get_logger()
logger_ext.init(LOG_LEVEL, KOMBU_LOG_LEVEL)

logger.info('This is a log message')
```

The `KombuEnhancedLogging` constructor takes an optional `app_module_name` parameter used to name the logger with a
default value of `server`.


#### Other applications
Import `EnhancedLogging` and initialise it:

```python
from landregistry.enhanced_logging import EnhancedLogging

extension = EnhancedLogging()
logger = extension.logger
extension.init(LOG_LEVEL)

logger.info("This is a log message")
```