semvec/pypi-packages huggingface dataset:
mwpermission-fastapi 0.1.0
FastAPI 权限检查库 (参考 mwpermission Flask 版本重构)
Requires Python: >=3.7

mwpermission-fastapi
====================

FastAPI 权限检查库，参考 mwpermission (Flask 版本) 重构为 FastAPI 版本。

功能特点
--------

- 支持 FastAPI 依赖注入系统的权限检查
- 支持装饰器风格的权限验证
- 开发模式下可跳过权限检查
- 支持动态权限检查

安装方法
--------

.. code-block:: bash

    pip install mwpermission-fastapi

快速开始
--------

1. 创建 FastAPI 应用并配置权限

.. code-block:: python

    from fastapi import FastAPI, Depends
    from mwpermission_fastapi import Permission

    app = FastAPI()

    # 初始化权限检查器
    p = Permission(sysname="maxwinweb")

使用说明
----------

初始化权限检查器后，可以使用以下方式保护您的API端点：

.. code-block:: python

    # 检查用户对 employee 模块的查看权限
    @app.get("/employees")
    async def get_employees(user_id: int = Depends(p.check("employee", ["view"]))):
        return {"message": "employees list"}

更多详细信息，请参见完整文档。
bigraph-schema 1.0.2
A serializable type schema for compositional systems biology
Requires Python: >=3.7

# Bigraph-Schema

[![PyPI version](https://img.shields.io/pypi/v/bigraph-schema.svg)](https://pypi.org/project/bigraph-schema/)
[![Tutorial](https://img.shields.io/badge/GitHub%20Pages-Tutorial-brightgreen)](https://vivarium-collective.github.io/bigraph-schema/notebooks/demo.html)

`bigraph-schema` provides a serializable type schema for compositional and multiscale modeling.  
It defines a compact, extensible language for describing hierarchical data structures — the foundation of the Vivarium 2.0 simulation framework.

The library offers a unified interface for representing, validating, and transforming schemas and data in structured simulations.  
By standardizing schema definitions, it enables interoperability between models, extensibility across frameworks, and reproducibility of computational experiments.

---

## Installation

Install directly from PyPI:

```console
pip install bigraph-schema
```
---

## Getting Started

The following resources provide guided introductions and examples:

- [Type System Overview](https://vivarium-collective.github.io/bigraph-schema/notebooks/core.html) – Demonstrates how to use the `Core` API for schema inference, normalization, and serialization.

- [Bigraph Schema Basics Tutorial](https://vivarium-collective.github.io/bigraph-viz/notebooks/basics.html) – Explains how to compose and visualize schema graphs using the `bigraph-schema` syntax.


---

## Related Projects

- [Vivarium](https://vivarium-collective.github.io/) – a compositional framework for hybrid biological simulations.  
- [Bigraph-Viz](https://vivarium-collective.github.io/bigraph-viz/) – visualization tools for bigraph-schema models.  
- [Process-Bigraph](https://github.com/vivarium-collective/process-bigraph) – process composition and orchestration built on bigraph-schema.

---

## License

`bigraph-schema` is open-source software released under the [Apache 2.0 License](https://github.com/vivarium-collective/bigraph-schema/blob/main/LICENSE).
beanhub-cli 3.1.1
Command line tools for BeanHub and Beancount users
Requires Python: ~=3.10

# beanhub-cli [![CircleCI](https://dl.circleci.com/status-badge/img/gh/LaunchPlatform/beanhub-cli/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/LaunchPlatform/beanhub-cli/tree/master)
Command line tools for BeanHub or Beancount users.

Please read the [documentation here](https://beanhub-cli-docs.beanhub.io).

## Features

- [**Connect**](https://beanhub-cli-docs.beanhub.io/commands/connect/) - [Import bank transactions from 12,000+ financial institutions in 17 countries](https://beanhub.io/blog/2024/06/24/introduction-of-beanhub-connect/) (a BeanHub paid account required)
- [**Import**](https://beanhub-cli-docs.beanhub.io/commands/import/) - Simple yet powerful [beanhub-import](https://github.com/LaunchPlatform/beanhub-import) allows you to define importing rules in YAML to extract transactions from CSV files and generate Beancount transactions automatically
- [**Formatter**](https://beanhub-cli-docs.beanhub.io/commands/format/) - Advanced Beancount file formatter based on top of [beancount-black](https://github.com/LaunchPlatform/beancount-black)
- [**Beancount file manipulations**](https://beanhub-cli-docs.beanhub.io/commands/format/) - Effortless Beancount account name renaming and other basic manipulations
- [**Forms**](https://beanhub-cli-docs.beanhub.io/commands/form/) - You can run a [BeanHub Form](https://beanhub.io/blog/2023/07/31/automating-beancount-data-input-with-beanhub-custom-forms/) web app locally to try out your forms
- [**Inbox**](https://github.com/LaunchPlatform/beanhub-inbox) - Archive emails sending to a dedicated email address like yourname+repo@inbox.beanhub.io (BeanHub account needed) and then use LLM to extract values for your invoices and receipts
- **Doesn't require a BeanHub account** - While some features require a BeanHub account to operate, but we make most of them usable even without a BeanHub account

## Screenshots

<p align="center">
  <video src="https://github.com/user-attachments/assets/eb496dab-cd95-4aca-8a29-89ff9d52570d" autoplay muted>
</p>
<p align="center">
  <img src="https://github.com/LaunchPlatform/beanhub-cli/raw/master/assets/forms-screenshot.png?raw=true" alt="BeanHub Forms Screenshot" />
</p>

# Sponsor

<p align="center">
  <a href="https://beanhub.io"><img src="https://github.com/LaunchPlatform/beanhub-cli/raw/master/assets/beanhub.svg?raw=true" alt="BeanHub logo" /></a>
</p>

A modern accounting book service based on the most popular open source version control system [Git](https://git-scm.com/) and text-based double entry accounting book software [Beancount](https://beancount.github.io/docs/index.html).