semvec/pypi-packages huggingface dataset:
integrity 0.9.0
Development facilities for the bolt environment
License: MIT
Requires Python: >=3.10,<4.0
Keywords: beet,minecraft,bolt,mecha

# Integrity

[![GitHub Actions](https://github.com/thewii/integrity/workflows/CI/badge.svg)](https://github.com/thewii/integrity/actions)
[![PyPI](https://img.shields.io/pypi/v/integrity.svg)](https://pypi.org/project/integrity/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/integrity.svg)](https://pypi.org/project/integrity/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![Discord](https://img.shields.io/discord/900530660677156924?color=7289DA&label=discord&logo=discord&logoColor=fff)](https://discord.gg/98MdSGMm8j)

> Development facilities for the bolt environment

```python
from integrity import Component

from ./settings import settings
from ./blocks import blocks
from ./player import player

main = Component()

function main.on("main"):
    if score settings.data.activated obj matches 1:
        main.run("active")

function main.on("active"):
    as @a at @s:
        player.run("main")

function blocks.on("placed_by_player"):
    if block ~ ~ ~ stone expand:
        say Placed stone!
        player.run("placed_stone")
```

## Installation

The package can be installed with `pip`. Note, you must have
both `beet` and `mecha` installed to use this package.

```bash
$ pip install integrity
```

## Getting Started

To use this package, we must add the plugin to the `require`
section in the `beet` project file alongside with `mecha` and
`bolt`.

```yaml
require:
    - bolt
    - integrity
pipeline:
    - mecha
```

Now that we've enabled `integrity`, we can import the module
directly inside a bolt script

```python
from integrity import Component

foo = Component("foo")
```

## Features

- Components

## Contributing

Contributions are welcome. Make sure to first open an issue
discussing the problem or the new feature before creating a
pull request. The project uses [`poetry`](https://python-poetry.org).

```bash
$ poetry install
```

You can run the tests with `poetry run pytest`.

```bash
$ poetry run pytest
```

The project must type-check with [`pyright`](https://github.com/microsoft/pyright).
If you're using VSCode the [`pylance`](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
extension should report diagnostics automatically. You can also install
the type-checker locally with `npm install` and run it from the command-line.

```bash
$ npm run watch
$ npm run check
```

The code follows the [`black`](https://github.com/psf/black) code style.
Import statements are sorted with [`isort`](https://pycqa.github.io/isort/).

```bash
$ poetry run isort bolt_expressions examples tests
$ poetry run black bolt_expressions examples tests
$ poetry run black --check bolt_expressions examples tests
```

---

License - [MIT](https://github.com/rx-modules/bolt-expressions/blob/main/LICENSE)
Alvaro 1.3.0
Easy to use networking library.
License: MIT
Requires Python: >=3.8.0

﻿# Alvaro
---
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Updates](https://pyup.io/repos/github/edgecase963/Alvaro/shield.svg)](https://pyup.io/repos/github/edgecase963/Alvaro/) [![Downloads](https://pepy.tech/badge/alvaro)](https://pepy.tech/project/alvaro) [![CodeFactor](https://www.codefactor.io/repository/github/edgecase963/alvaro/badge)](https://www.codefactor.io/repository/github/edgecase963/alvaro)

![Logo](readme_media/logo.png)

Alvaro is a high-level, event-based networking module built to save you time on your projects without compromising on reliability, security or functionality.
It offers SSL support, user management and many more features to help you on your projects.

### A quick demo..
![Alvaro Demo](demos/demo.gif)

To learn more, check out [the wiki!](https://github.com/edgecase963/Alvaro/wiki)

Never spend hours or even days writing complicated networking software just to get two devices to communicate again. All the difficult tasks of flow control, encryption and _endless_ bugs all taken care of for you! This project provides you the ability to create a fully functional server in just a few lines of code. So you can dive right into your project.

After all, time is our most valuable resource.


```bash

# clone alvaro
git clone https://github.com/edgecase963/Alvaro

cd Alvaro

# Install requirements
# Will still work without this step, but slower
pip3 install -r requirements.txt

# install Alvaro
sudo python3 setup.py install

```

Alternatively, you can also use the pip command to install Alvaro:
```bash
pip3 install alvaro
```

### Important Note
As of the creation of this README, installing the `requirements.txt` via pip is **not necessary**.
The requirements file only contains `uvloop` which helps speed up Alvaro, but does not prevent it from working.
Alvaro is designed to work out of the box with no extra installations or dependencies.


This project is completely open source and anyone is free to use it.

Alvaro comes with some built-in features to help make data transfer not just more reliable, but easier to manage and implement into your project. One of these is the ability to monitor an ongoing download.

![Download Demo](demos/download_demo.gif)


Below is a demonstration of how to set up a minimalistic server using Alvaro:

```python
import alvaro, asyncio

server = alvaro.Host("127.0.0.1", port=8888)
asyncio.run( server.start() )
```

Alvaro uses asyncio to host/run/manage its servers. In order to start a server, it must be started with the `asyncio.run` function.

If you're already using asynchronous software and want to run Alvaro in your program's main loop, simply use `await`

```python
import alvaro, asyncio

server = alvaro.Host("127.0.0.1", port=8888)

async def start_server():
    await server.start()
```
beard-portscan 0.1.5
Simple port scanning utility at terminal forked from Aperocky/PortScan
License: MIT
Keywords: port,scanner,multithreading,queue,terminal,utility

# PortScan
PyPi Project: beard-portscan

![PyPI](https://img.shields.io/pypi/v/beard-portscan) &nbsp; ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/beard-portscan) &nbsp; ![PyPI - License](https://img.shields.io/pypi/l/beard-portscan)

- 0.1.0: Initial Release after Fork
    - Outputs a list of dicts

Install: `pip install beard-portscan`

Upgrade: `pip install beard-portscan --upgrade`

Usage: `portscan [192.168.1.0/24] [-p 22,80-200 [-t 100 [-w 1 [-e]]]]`

## Forked from [Aperocky/PortScan](https://github.com/aperocky/PortScan)
### All Information below this line is from the original REPO.

PortScan is a *light-weight* command line utility that allows user to conduct scanning over a range of IP addresses and port ranges with multi-threading.

*New in version 0.2.1:*

![Simple Command](/images/Demo_3.png)

By default the command checks for your *Local Area Network* IP first, and then initiate a block wise search. specify IP if you want to search any other IP blocks. *Note: This is not available before 0.2.1, please update or specify IP if you're using 0.2.0 and older*

Use `-w [float]` to change timeout settings from default of `3` seconds: for LAN, this can be as low as `0.1`. `1` is usually good enough for continental level connection.

![Fast scanning](/images/Demo_2.png)
*Scanned 5000 ports in 2 seconds*

To show more potential connection, use `-e`, this will show you all ports that are not timed out.

![Show more potential connection](/images/Demo_1.png)

### Arguments

`ip`: default and optional *(since 0.2.1, required before 0.2.1)* argument, can parse single IP, list of IP, IP blocks:

    192.168.1.0 # single IP

    192.168.1.0/24 # A 24 block, from 192.168.1.0 to 192.168.1.255

    [192.168.1.0/24,8.8.8.8] # The aforementioned 24 block and 8.8.8.8.

    "[192.168.1.0/24, 8.8.8.8]" # if you want to use space in the command, wrap in quotes.

Options:

`-p`, `--port`: port range, default `22,23,80`, use `,` as a delimiter without space, support port range (e.g. `22-100,5000`).

`-t`, `--threadnum`: thread numbers, default 500, as of now, thread number have a hard cap of 2048. More thread will increase performance on large scale scans.

`-e`, `--show_refused`: show connection errors other than timeouts, e.g. connection refused, permission denied with errno number as they happen.

`-w`, `--wait`: Wait time for socket to respond. If scanning LAN or relatively fast internet connection, this can be set to `1` or even `0.2` for faster scanning. Default `3` seconds

## Acknowledgement

Jamieson Becker: For coming up with a way to find local IP on stackoverflow, which I used: https://stackoverflow.com/questions/166506/finding-local-ip-addresses-using-pythons-stdlib
xbp 1.2
Fast C/C++ Builder written in Python
License: MIT

[翻訳者募集中]

# BuildPy: 新しい簡単でシンプルなビルドスクリプト

# 使い方
あなたの c/cpp プロジェクトの中にサブモジュールとしてこのリポジトリをクローンします。<br>
そして、同じ場所に `<project-name>.buildpy` という名前で、ビルドスクリプトを用意します。<br>

# ビルド
ビルドするときに、以下のコマンドを実行します <br>
拡張子は自動で追加されるので、書く必要はありません。
```
python3 BuildPy/__main__.py <project-name>
```

# スクリプトのサンプル
```
folders {
  include = include
  source  = src
}

build {
  .fast = true
  .use_glob = true
  .no_overwrite = copy_folder

  compiler {
    c   = clang
    cpp = clang++
  }

  extensions {
    c { c }
    cpp { cc cxx cpp }
  }

  flags {
    opti  = -O2
    c     = $opti -Wno-switch -Wimplicit-fallthrough
    cpp   = $c -std=c++20
    link  = -Wl,--gc-sections
  }

  objects_folder = build
  linker = $compiler.cpp
}
```

# Contribute
どんなプルリクエストでも遠慮なく投稿してください！