semvec/pypi-packages huggingface dataset:
one-block 0.1.4
An easy-to-use, opinionated slack blockkit implementation
License: MIT
Requires Python: >=3.10,<4.0

# one-block

`one-block` has started as I needed to start using [Slack's Block Kit](https://api.slack.com/block-kit) for the
design of my application. While there are [a few Python packages available](#alternative-python-implementations)
already, they were either using a license I was uncomfortable with, or have simply not been kept up-to-date.

> Note, this is still a pre-release version, and as such, features might change or go away entirely.

## Available features

While this is an on-going effort, this was initially driven by the fact I needed something to be able to move quickly.
As such, it's implementing all the existing blocks, but some things might not be available, e.g. specifying `block_ids`.
Documentation is also non-existent, but something I plan on adding as soon as possible.

It is meant to be fairly simple to use, with re-usability at the forefront of its design.

## Roadmap

- [x] Support for all blocks
- [ ] Documentation
- [ ] Python package publishing
- [ ] Tests
- [ ] Type annotations

## Appendix

### Alternative Python Implementations

[ASU-CodeDevils/slack-blockkit](https://github.com/ASU-CodeDevils/slack-blockkit) - Did not seem to be well maintained
[NickLambourne/slackblocks](https://github.com/nicklambourne/slackblocks) - BSD licensed and maintenance queries
pwrdrvr.microapps.nextjsdemoappcdk 0.7.0
Release app for the MicroApps framework, by PwrDrvr LLC. Provides the ability to control which version of an app is launched.
License: MIT
Requires Python: >=3.6

![Build/Deploy CI](https://github.com/pwrdrvr/microapps-app-nextjs-demo/actions/workflows/ci.yml/badge.svg) ![JSII](https://github.com/pwrdrvr/microapps-app-nextjs-demo/actions/workflows/jsii.yml/badge.svg) ![Release](https://github.com/pwrdrvr/microapps-app-nextjs-demo/actions/workflows/release.yml/badge.svg)

# Overview

This is the Release Console for the MicroApps framework.

# Development

* `nvm use`
* For Mac

  * Install Xcode
  * `xcode-select --install`
  * `brew install vips`
* `npm i`
* `npm run dev`
* Open in browser: `http://localhost:3000/nextjs-demo`

# Publish New Version of Microapp

See GitHub Actions workflows for example commands.
log-request-id 0.1.1
Log-Request-ID is extension for handling request-ID in logging.
License: MIT
Requires Python: >=3.6,<4.0

log-request-id
=================

Log-Request-ID is an extension to handle request-IDs logs in popular python api frameworks.

Currently supported frameworks: flask

Requirements
------------

-  python (3.6+)

Instalation
-----------

Install using ``pip``

::

   pip install log-request-id


Usage
-----


1. Set ``LOG_REQUEST_ID_FRAMEWORK_SUPPORT`` to point to your framework of choice (section currently supported).

.. code:: txt

    LOG_REQUEST_ID_FRAMEWORK_SUPPORT=flask

2. Init request-ID handler

-  Flask, with ``log_request_id.flask.init_flask_request_id_handler``

.. code:: python

   from log_request_id import init_flask_request_id_handler

   def create_flask_app():
       app = Flask()
       init_flask_request_id_handler(app)

3. Change log format (optional)

At this stage ``request_id`` is already present in log data, request-ID will be under ``request_id`` key.

.. code:: python

   logging.basicConfig(level=logging.WARNING, format='%(filename)s:%(levelname)s:%(request_id)s - %(message)s')
   # or
   logging.getlogger().setformatter(logging.formatter("%(asctime)s:%(name)s:level=%(levelname)s:%(request_id)s - %(message)s"))


For more advanced logger configuration see `python's logging module <https://docs.python.org/3/library/logging.html>`_.

``Warning`` if you will be adding custom handler or custom logging initialization use ``log_request_id.logging.RequestIdLogRecordFactory`` or ``log_request_id.logging.RequestIdLogFilter``.