semvec/pypi-packages huggingface dataset:
sortdicom 0.5.0
Sorts and Anonymises Dicoms
Requires Python: <4.0,>=3.12

# Sort Dicom

A very simple script that sorts DICOM files bassed on their series description and time of acquisition.

That is DICOMs with the following series descriptions:

- `ACR_T1` :: Acquired at 12:00:00
- `ACR_T2` :: Acquired at 12:05:00
- `RF_NOISE` :: Acquired at 12:10:00
- `RF_NOISE` :: Acquired at 12:15:00
- `ACR_T2` :: Acquired at 12:20:00

would be grouped into the directory structure:

```
ACR/
    ACR_T1_120000.dcm
    ACR_T2_120500.dcm
    ACR_T2_122000.dcm
RF/
    RF_NOISE_121000.dcm
    RF_NOISE_121500.dcm
```
   
## Installation

```
pip install sortdicom
```

## Usage

```
usage: sortdicom.cmd [-h] [-o OUT] data_path

Sorts DICOMs into directories based on their series description.

positional arguments:
  data_path          Path to the data directory containing DICOM files.

options:
  -h, --help         show this help message and exit
  -o OUT, --out OUT  Path to stored the grouped DICOM files.
```

## License

This project is licensed under the GNU GPL v3 license which can be found [here](LICENSE)

## Contributing

Contributions welcome - please open an issue and/or pull request.
nonebot-weather 1.3
A small example package
Requires Python: >=3.8

# *nonebot-weather*
## 写在前面的话：
这是一个基于wttr.in的天气查询插件，但是由于本人技术有限,在qq使用时无法完美回复`（具体情况为回复错位。）`，假如有足够技术力的朋友，希望能帮我修改。
## 依赖要求：
本项目需求nonebot`2.0`以上，并且安装`aiohttp`。
## 安装与使用：
### pip方法
`pip install nonebot-weather`
### 加载
`nonebot.load_plugin('nonebot-weather')`
### 使用
发送`「天气 城市」`即可查询城市当天与未来三天天气
elytra-ms 0.7.3
A Python Library for various Microsoft APIs, including the Xbox and Bedrock Realms APIs.
Requires Python: >=3.10

# elytra-ms
A Python Library for various Microsoft APIs, including the Xbox and Bedrock Realms APIs.

**Note: this library is a work in progress!** This currently only supports the workflow [the Realms Playerlist Bot](https://github.com/AstreaTSS/RealmsPlayerlistBot) does, but it is planned to be expanded in the future.

## Usage

```python
import anyio  # or asyncio, or trio
import elytra


async def main():
    xbox_api = await elytra.XboxAPI.from_file(
        "CLIENT_ID", "CLIENT_SECRET", oauth_path="oauth.json"
    )
    print(await xbox_api.fetch_profile_by_gamertag("SomeGamertag"))
    await xbox_api.close()


anyio.run(main)
```

## Setup

TODO: actually do this section.

### Install Package

Requires Python 3.10+.

```sh
pip install -U elytra-ms
```

### Make An Application

> Taken from [xbox-webapi-python](https://github.com/OpenXbox/xbox-webapi-python) for now, copyright 2020 OpenXbox under MIT.

Authentication is supported via OAuth2.

- Register a new application in [Azure AD](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade).
  - Name your app.
  - Select "Personal Microsoft accounts only" under supported account types.
  - Add <http://localhost/auth/callback> as a Redirect URI of type "Web."
- Copy your Application (client) ID for later use.
- On the App Page, navigate to "Certificates & secrets."
  - Generate a new client secret and save for later use.

### Get OAuth/Token Data

In your terminal, run:

```sh
elytra-authenticate --client-id CLIENT_ID_FROM_ABOVE --client-secret CLIENT_SECRET_FROM_ABOVE
```

This will create a file called `oauth.json` in the directory this is run in. This file alone works with all APIs currently supported.
schoolyourself-xblock 0.3.1
School Yourself lesson player

schoolyourself-xblock
============================

This repository contains XBlocks for displaying School Yourself (SY)
content on the edX platform. These will be used in the upcoming AlgebraX
and GeometryX courses, developed for the High School Initiative.

There are two similar XBlocks in this repository: `schoolyourself_lesson` and
`schoolyourself_review`. They both display an icon and some text, which
the user clicks on to open a modal dialog, which shows the actual lesson
(or assessment) in an iframe. In both cases, the user's anonymous user ID
is passed as a URL parameter, along with a signature. The key used to generate
the signature is provided by the content author (in this case, SY).

The following screenshot shows an example of a `schoolyourself_lesson` XBlock
and a `schoolyourself_review` XBlock:

![SY XBlock screenshot](xblocks.png)

If a user clicks on the lesson or review, they will see the following modal:

![SY lesson screenshot](lesson.png)

The review XBlocks participate in the course grade. The SY server
sends back information (via postMessage()) about mastery of various
topics as they proceed through a review, and some of that information
is used to update the user's grade on edX. This data is also signed,
with the same shared key mentioned above.