semvec/pypi-packages huggingface dataset:
med-terms 0.0.1
Medical term dictionary from various sources
Requires Python: >=3.6, <4
Keywords: MedDRA,medical terms,medical terminology,knowledge base,text analysis,electronic medical record

# Med-Terms

Medical Term Dictionary built from MedDRA

## Installation

```pip
pip install med-terms
```

## Let Codes Speak
Example 1: Build term dicionaries from MedDRA data in English and Chinese versions, and creating term mapping file.
```python
import pickle

from medterms.MedDRA import *

if __name__=="__main__":
    # create the dictionary from the MedDRA knowledge base including Chinese and English versions
    meddra_en_root="input/MedDRA_24.0_English_0"
    meddra_cn_root="input/MedDRA_24_0_Chinese"
    build_en_dict_from_MedDRA(meddra_en_root, save_path="output/en_dict.pickle")
    build_cn_dict_from_MedDRA(meddra_cn_root, save_path="output/cn_dict.pickle")
    # Mapping from english terms to chinese terms according to MedDRA dictionaries
    en_to_cn(src_en_path='input/covid19_en_terms.pickle',  # input
             en_dict_path='output/en_dict.pickle', cn_dict_path='output/cn_dict.pickle',  # input
             target_cn_path='output/covid19_cn_terms.pickle', target_en2cn_path='output/covid19_en2cn_terms.pickle') # output
    # check data files (pickle format)
    print(pickle.load(open('input/covid19_en_terms.pickle', 'rb')))
    print(pickle.load(open('output/covid19_cn_terms.pickle', 'rb')))
    print(pickle.load(open('output/covid19_en2cn_terms.pickle', 'rb')))
```

Example 2: Show word cloud from the entire dictionary or part of the dictionary.

```python
from medterms.wordcloud import *

if __name__=="__main__":
    src_file= "input/covid19_symptoms.pickle"
    mapping_file= "output/covid19_en2cn_terms.pickle"  # Mapping from english to chinese
    # show_word_cloud_with_mapping(src_file,mapping_file)
    show_word_cloud(src_file)
```


## License
The `med-terms` project is provided by [Donghua Chen](https://github.com/dhchenx). 

NOTE: This project does not include MedDRA data due to license issue.
bottomless-ReJSON 0.11
Correct Redis Library

# <span style="color:gold">⚿</span> bottomless_ReJSON 

Library for seamless Redis database management. This version uses [RedisJSON](https://oss.redis.com/redisjson/) module

<br/>

* 💤 No excess data reading/rewriting
* 🗃 Integrated indexes support
* ⛓ Thread-safe operations
* 👁️ One-class interface
* 🪄 A lot of sugar

<br/>

## 💿 Installation

```bash
python -m pip install bottomless_ReJSON
```

<br/>

## ✒️ Usage

Here are just a few examples

Feel free to use the tests as a manual

### Preparations

```python
from bottomless_ReJSON import RedisInterface

db = RedisInterface(host='localhost', port='6379')
```

### Dictionary-like interface

```python
db.clear()
d = {
    '1': {
        '1': {
            '1': 'one.one.one'
        },
        '2': 'one.two'
    },
    '2': 'two'
}
db |= d
assert db() == d

db['2'] = d
assert db['2']() == d

db['1']['1'] = 'lalala'
assert db['1']['1'] == 'lalala'
assert db['1']['1']['1'] == None
```

### List-like interface

```python
db.clear()
db['key'] = []
db = db['key']

l = [1, 2, 3]
db += [1, 2, 3]

i = 0
for e in db:
    # e is RedisInterface instance, 
    # so to get data you need to call it:
    assert e() == l[i]
    assert e() == db[i]
    i += 1

    assert list(db) == [1, 2, 3]
```

<br/>

## 🔬 Testing

```bash
git clone https://github.com/MentalBlood/bottomless_ReJSON
cd bottomless_ReJSON
pytest tests
```

<br/>

## 📈 Benchmarking

Using [sharpener](https://github.com/MentalBlood/sharpener):
```bash
git clone https://github.com/MentalBlood/bottomless_ReJSON
cd bottomless_ReJSON
py -m sharpener run
```
Config for benchmarks can be found in `benchmarks/benchmark_default.json`
kelluwen-development 0.0.1
Open AI library for research and education.

# Kelluwen

Open AI library for research and education designed to be easy to use and develop with.

## Installation

```python
pip install kelluwen
```

## Usage

```python
from kelluwen.functions.transforms import generate_affine, apply_affine
from kelluwen.functions.tools import show_midplanes
from torch import rand

# Create image tensor of shape BxCxDxHxW
img = rand(2, 3, 100, 100, 100)

# Define parameters for affine transform. These transforms can be independent for each channel. If there is no channel dimension, the same transform will be applied for all channels.
parameters = dict(parameter_translation=,
    parameter_rotation=rand(2,3),
    parameter_scaling=rand(2,3),
    type_rotation="euler_xyz",
    transform_order="trs",
    type_output="dict",
)

# Generate affine transform
transform = generate_affine(**parameters)

# Apply affine transform to image tensor
img_transformed = apply_affine(**transform)["image"]


# Show midplanes of volume. In this example we're using the RAS coordinate system, and we're scaling the features using a min-max method.
show_midplanes(
    image=img_transformed,
    title="Example midplanes",
    show=True,
    type_coordinates="ras",
    type_scaling="min_max")
# ```
UIE 1.0.1
An encrypting algorithm


# UIE
Universal Integer Encrypting algorithm.

## USAGE

#### UIE.UIECoder(key, key_mode, result_mode, splitter, dict_)

- key : str - A key for encryption\decryption.
- key_mode : UIEKeyMode - A formatter for key.
- result_mode : UIEResultMode - A result formatter.

##### Encryption:

    UIECoder.encrypt(text)
      This method is returing encrypted data.

      text : str - Data for encrypt.

##### Decryption:

    UIECoder.decrypt(encrypted)
      This method is returning decrypted data.

      encrypted - Encrypted data. (Type from result formatter)

#### UIE.modes

##### UIE.modes.UIEKeyMode

      Key modes:
        UIEKeyMode.uD - Default.
        UIEKeyMode.u1 - sha1 hash.
        UIEKeyMode.u256 - sha256 hash.
        UIEKeyMode.uM5 - md5 hash.

##### UIE.modes.UIEResultMode

      Result modes:
        UIEResultMode.uR - Raw.
        UIEResultMode.uB64 - Base64 encoding.
apachecn-android-zh 2021.12.25.1
ApacheCN 安卓译文集
Requires Python: >=3.6

# ApacheCN 安卓译文集

> 协议：[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
> 
> 为什么拯救地球是那么容易，为什么束手无策啊，我和你的爱情。为什么我能飞天也能够遁地，为什么我却没办法，长驱直入你的心。——超人《五月天》

* [在线阅读](https://android.apachecn.org)
* [在线阅读（Gitee）](https://apachecn.gitee.io/doc-template/)
* [ApacheCN 学习资源](http://docs.apachecn.org/)

## 目录

+   [Kotlin 安卓开发](docs/andr-dev-kt/SUMMARY.md)
+   [安卓编程初学者手册中文第三版](docs/andr-prog-begin-3e/SUMMARY.md)
+   [Kotlin 安卓编程初学者手册](docs/andr-prog-kt-begin/SUMMARY.md)
+   [如何使用 Kotlin 构建安卓应用](docs/howto-build-andr-app-kt/SUMMARY.md)
+   [通过构建安卓游戏学习 Java](docs/learn-java-build-andr-game/SUMMARY.md)
+   [通过构建安卓应用学习 Kotlin](docs/learn-kt-build-andr-app/SUMMARY.md)
+   [UE 安卓游戏开发学习手册](docs/learn-ue-andr-game-dev/SUMMARY.md)
+   [精通 Kotlin 安卓开发](docs/master-andr-dev-kt/SUMMARY.md)
+   [移动取证实战](docs/prac-mobi-forensics/SUMMARY.md)
+   [树莓派安卓项目](docs/respi-andr-proj/SUMMARY.md)
+   [安卓游戏开发手册](docs/andr-game-dev-hb/SUMMARY.md)
+   [BeagleBone Black 安卓硬件接口](docs/andr-hard-interf-beaglebone-black/SUMMARY.md)
+   [安卓 NDK 初学者指南中文第二版](docs/andr-ndk-begin-guide-2e/SUMMARY.md)
+   [安卓 SQLite 基础知识](docs/andr-sqlite-essense/SUMMARY.md)
+   [Android Studio 秘籍](docs/as-cb/SUMMARY.md)
+   [安卓纸板 VR 项目](docs/cardboard-vr-proj-andr/SUMMARY.md)
+   [安卓系统开发即时指南](docs/ins-andr-sys-dev-howto/SUMMARY.md)
+   [安卓取证学习手册](docs/learn-andr-forensics/SUMMARY.md)
+   [精通 Android Studio3](docs/master-as3/SUMMARY.md)
+   [安卓取证教程](docs/andr-forensics/SUMMARY.md)
+   [安卓游戏编程示例](docs/andr-game-prog-exam/SUMMARY.md)
+   [安卓穿戴项目](docs/andr-wear-proj/SUMMARY.md)
+   [安卓增强现实应用开发](docs/ar-andr-app-dev/SUMMARY.md)
+   [Android Studio 应用开发](docs/as-app-dev/SUMMARY.md)
+   [构建 Cocos2dx 安卓游戏](docs/build-andr-game-c2dx/SUMMARY.md)
+   [使用安卓片段创建动态 UI](docs/create-dyna-ui-andr-frag/SUMMARY.md)
+   [Unity 安卓游戏开发学习手册](docs/learn-unity-andr-game-dev/SUMMARY.md)
+   [精通安卓游戏开发](docs/master-andr-game-dev/SUMMARY.md)
+   [精通安卓 NDK](docs/master-andr-ndk/SUMMARY.md)

## 贡献指南

本项目需要校对，欢迎大家提交 Pull Request。

> 请您勇敢地去翻译和改进翻译。虽然我们追求卓越，但我们并不要求您做到十全十美，因此请不要担心因为翻译上犯错——在大部分情况下，我们的服务器已经记录所有的翻译，因此您不必担心会因为您的失误遭到无法挽回的破坏。（改编自维基百科）

## 联系方式

### 负责人

* [飞龙](https://github.com/wizardforcel): 562826179

### 其他

*   在我们的 [apachecn/apachecn-android-zh](https://github.com/apachecn/apachecn-android-zh) github 上提 issue.
*   发邮件到 Email: `apachecn@163.com`.
*   在我们的 [组织学习交流群](http://www.apachecn.org/organization/348.html) 中联系群主/管理员即可.

## 下载

### Docker

```
docker pull apachecn0/apachecn-android-zh
docker run -tid -p <port>:80 apachecn0/apachecn-android-zh
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install apachecn-android-zh
apachecn-android-zh <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g apachecn-android-zh
apachecn-android-zh <port>
# 访问 http://localhost:{port} 查看文档
```

## 赞助我们

![](http://data.apachecn.org/img/about/donate.jpg)
nuclipy 1.0.3
A template based vulnerability scanner (Inspired by Nuclei Scanner)
Requires Python: >=3.6

# nuclipy
A simple template based vulnerability scanner (Inspired by ProjectDiscovery's [Nuclei](https://github.com/projectdiscovery/nuclei))

## Dependencies
nuclipy depends upon `python3` and the following modules `requests`, `argparse` and `PyYaml`.

## Installation
* Installation on Windows:
```
python -m pip install nuclipy
```

* Installation on Linux:
```
sudo pip3 install nuclipy
```
---
## Usage
Short from | Long form | Description 
-----------|-----------|-------------
-h  | --help        | Show the help menu 
-u  | --hostname    | Hostname to scan for vulnerabilities
-U  | --hostnames   | File containing target hostnames
-t  | --template    | Template id or path of template
-T  | --threads     | Number of threads (default=10)
-o  | --output      | Output file

## How to use templates?
You can find some templates in `templates/` directory.
*  Use a specific template
    ```sh
    python -m nuclipy -u example.com -t git-config.yaml
    ```
* Use all templates
    ```sh
    python -m nuclipy -u example.com -t all
    ```
* Save the output to a file
    ```sh
    python -m nuclipy -u example.com -t all -o nuclipy-output.txt
    ```
* Check all templates, for multiple targets
    ```sh
    python -m nuclipy -U target_hostnames.txt -t all
    ```
---
## How to write your own templates?
```yaml
id: git-config
name: Git Config Exposure
severity: medium

requests:
  - method: GET
  
    paths: 
      - "HOSTNAME/.git/config"

    patterns:
      - \[core\]
```

- `id`: id_of_the_template, usually resembles to the filename of the template without extension
- `name`: Name of the template to show in the results
- `severity`: severity of the vulnerability (`high`, `low`, `medium` or `info`)
- `requests`: Some request attributes and List of `paths` and `patterns`
    - `method`: HTTP request method (`GET` or `POST`)
    - `redirects`: Allow redirection or not (`ture` or `false`)
    - `paths`: List of paths to send requests
    - `patterns`: List of Regular Expressioins to match in the responses (with `AND` condition)
---