semvec/pypi-packages huggingface dataset:
flow.transport 0.1.dev2
A library for easily creating communication transports over various links
Requires Python: >=3.10

# flow.transport

A library for easily creating communication transports over various links. For example, communicate over TCP, Unix sockets,
and Windows named pipes with the same API, or simply wrap any of these in TLS. The API is based around `asyncio` protocols and transports.

For more information, please see [the documentation](https://docs.dissect.tools/en/latest/projects/flow.transport/index.html).

## Requirements

This project is part of the Dissect framework and requires Python.

Information on the supported Python versions can be found in the Getting Started section of [the documentation](https://docs.dissect.tools/en/latest/index.html#getting-started).

## Installation

`flow.transport` is available on [PyPI](https://pypi.org/project/flow.transport/).

```bash
pip install flow.transport
```

## Build and test instructions

This project uses `tox` to build source and wheel distributions. Run the following command from the root folder to build
these:

```bash
tox -e build
```

The build artifacts can be found in the `dist/` directory.

`tox` is also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:

```bash
tox
```

For a more elaborate explanation on how to build and test the project, please see [the
documentation](https://docs.dissect.tools/en/latest/contributing/tooling.html).

## Contributing

The Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please
refer to [the development guide](https://docs.dissect.tools/en/latest/contributing/developing.html).

## Copyright and license

Dissect is released as open source by Fox-IT (<https://www.fox-it.com>) part of NCC Group Plc
(<https://www.nccgroup.com>).

Developed by the Dissect Team (<dissect@fox-it.com>) and made available at <https://github.com/fox-it/dissect>.

License terms: AGPL3 (<https://www.gnu.org/licenses/agpl-3.0.html>). For more information, see the LICENSE file.
kfcv50 0.1.0
一个简短的包描述
Requires Python: >=3.7
Keywords: 示例 包 python

Package MikeZhou Talk
=====================

一个示例Python包项目

简介
----

这是一个用于演示如何创建和发布Python包的示例项目。

功能特性
--------

* 功能1：示例功能描述
* 功能2：示例功能描述
* 功能3：示例功能描述

安装
----

使用 pip 安装：

.. code-block:: bash

    pip install kfcv50

快速开始
--------

.. code-block:: python

    from kfcv50 import hello
    
    # 调用示例函数
    print(hello())

要求
----

* Python 3.7 或更高版本

依赖项
------

* 无特殊依赖（或在这里列出您的依赖项）

使用示例
--------

详细的使用示例：

.. code-block:: python

    import package_mikezhou_talk
    
    # 在这里添加更多使用示例
    print(package_mikezhou_talk.__version__)

贡献
----

欢迎贡献！请随时提交 Pull Request。

开发设置：

.. code-block:: bash

    # 克隆仓库
    git clone https://github.com/yourusername/package-mikezhou-talk.git
    cd package-mikezhou-talk
    
    # 安装开发依赖
    pip install -e .[dev]
    
    # 运行测试
    pytest

许可证
------

本项目采用 MIT 许可证 - 详见 LICENSE 文件

作者
----

* **Your Name** - *初始工作*

联系方式
--------

* Email: your.email@example.com
* GitHub: https://github.com/yourusername

更新日志
--------

0.1.0 (2025-11-04)
~~~~~~~~~~~~~~~~~~

* 初始版本发布
* 基本功能实现
dharitri-py-sdk-test 0.0.6
The DharitrI Python SDK.
Requires Python: >=3.8

# drt-py-sdk

The Python SDK for interacting with DharitrI. It's an all in one sdk that can be used to create transactions (including smart contract calls and deployments), sign and broadcast transactions, create wallets and many more.

## Documentation

- [Cookbook](./examples/v1.ipynb)
- [Auto-generated documentation](https://TerraDharitri.github.io/drt-py-sdk/)

## Development setup

### Virtual environment

Create a virtual environment and install the dependencies:

```
python3 -m venv ./venv
source ./venv/bin/activate
pip install -r ./requirements.txt --upgrade
```

Install development dependencies, as well:

```
pip install -r ./requirements-dev.txt --upgrade
```

Allow `pre-commit` to automatically run on `git commit`:
```
pre-commit install
```

Above, `requirements.txt` should mirror the **dependencies** section of `pyproject.toml`.

If using VSCode, restart it or follow these steps:
 - `Ctrl + Shift + P`
 - _Select Interpreter_
 - Choose `./venv/bin/python`.

### Tests

Run the tests as follows:

This command runs all tests:
```
pytest .
```

If you want to skip network interaction tests run:
```
pytest -m "not networkInteraction"
```

We have some tests fetching mainnet transactions that are quite time consuming. To skip those, run this command:
```
pytest -m "not mainnet"
```

### Generate test coverage report

First, we run the tests using coverage:
```sh
coverage run -m pytest .
```

Then, we can generate a report in the terminal using:
```sh
coverage report
```

We can also generate a html report using:
```sh
coverage html
```

### Re-generate the docs

Each time a new module/submodule is added it needs to be added to the docs, as well. To do so `cd` in the root directory then run the following command:
```bash
sphinx-apidoc -f -o docs/ dharitri_py_sdk/ '*_test.py' '*constants.py'
```

This command will regenerate the `.rst` files for each module, excluding the tests and the `constants.py` files.

Also, each time a new version is released, the [**conf.py**](/docs/conf.py) file should be updated accordingly.

### Re-generate _protobuf_ files:

```
protoc dharitri_py_sdk/core/proto/transaction.proto --python_out=. --pyi_out=.
```

Note that `protoc` must be installed beforehand. Use the same version as the one referenced in `requirements.txt`. For example, if we reference `protobuf==5.29.4` in `requirements.txt`, then use [protobuf v29.4](https://github.com/protocolbuffers/protobuf/releases/tag/v29.4).
tokamak-neutron-source 0.1.4
Create an arbitrary parametric tokamak neutron source for OpenMC and MCNP
Requires Python: >=3.10

[![DOI](https://zenodo.org/badge/1067705955.svg)](https://zenodo.org/badge/latestdoi/1067705955)

# Introduction

`tokamak-neutron-source` is a package that provides a flexible and high-fidelity fusion neutron source for tokamaks in OpenMC and other Monte Carlo radiation transport codes.

# Installation

We don't try to manage the installation of your neutronics codes. We recommend you install your neutronics code first. If you are using `tokamak-neutron-source` to create an OpenMC source you can create a simple install of OpenMC using `conda` with:

```bash
conda install -c conda-forge 'openmc>=0.15.0'
```

To install the latest release of `tokamak-neutron-source`

```bash
pip install tokamak-neutron-source
```

# Inputs

A tokamak neutron source can be created by specifing the plasma ion density and temperature profiles, and a description of the plasma magneto-hydrodynamic equilibrium.

Profiles can be specified in terms of arrays or as typical parameterisations, such as a parabolic-pedestal parameterisation.

Equilibrium information can be specified via an EQDSK file or as a parameterisation, such as the one found in [Fausser et al., 2012](https://www.sciencedirect.com/science/article/abs/pii/S0920379612000853).

# Outputs

A source object can be used to create an idiomatic source for use in [OpenMC](https://openmc.org/) or exported as an sdef or h5 file for use in OpenMC and [MCNP6](https://mcnp.lanl.gov/).

A neutron source from some typical parameterised profiles and a Fausser flux surface parameterisation:

![](documentation/source/fausser_source.svg)

A neutron source from some arbitrary profiles and a free-boundary equilibrium:

![](documentation/source/eqdsk_source.svg)