semvec/pypi-packages huggingface dataset:
moonwiki 2023.7.11.5
moonwiki is a wiki application made with Python
Requires Python: >=3

# moonwiki
![](https://img.shields.io/pypi/v/moonwiki?logo=python&logoColor=ffffff)

moonwiki is a wiki application made with Python that doesn't require:
- A database
- External modules
- Too much configuration
## Install
You can install moonwiki by using `pip`
```sh
pip install moonwiki
```
You can configure the above command to fit your needs for installing moonwiki
## Usage
Here are some usage examples:
```py
import moonwiki

print(moonwiki.__package__) # "moonwiki"
```
```py
from moonwiki import moonwiki
wiki = moonwiki("testWiki")

wiki.run("0.0.0.0", 8080)
```
milkfrog 0.1.0
Prototyping a Quality Assessment Tool with Parameterized Quality Models
Requires Python: >=3.10,<4.0

# Quality Tool

## Setup

Make sure you have [Poetry >= 1.2.0](https://python-poetry.org/docs/) installed.
You can then get started by running:

```sh
poetry install
```

### Code duplication - cpd

As of this moment, we are using copy paste detector to find duplicate code.
This requires you to download cpd and place the `bin/` and `lib/` folder (and their files) in a cpd subfolder in metrics (`metrics/cpd/<cpd folders goes here>`).

You can download cpd from the following link (check if there is a newer release): https://github.com/pmd/pmd/releases/tag/pmd_releases/6.54.0

### Programming Language Detection - GitHub Linguist

To detect the programming languages of source code files we use GitHub linguist by running it in a docker container. 
Make sure you have [Docker >= 23.0.4](https://docs.docker.com/) installed.
You will also need to pull the docker image for GitHub Linguist:

```shell
docker pull toffernator/linguist
```

## Running, Testing, and Formatting

This is all done using poetry. To run:

```sh
poetry run core <path/to/source/code> <Quality_model>
```
e.g.
```sh
poetry run core . code_climate
```

To see supported languages please refer to: `byoqm/source_coordinator/languages.py`

Optional values can be gotten by running: 

```sh
poetry run core --help
```

To test:

```sh
poetry run test
```

To format:

```
poetry run black .
```


## Building Tree-Sitter Grammars

Make sure you have a `build/` and `grammars/` folders in the root of the project:

```sh
mkdir build grammars
```

Clone the python grammar into `grammars/`:


```sh
cd grammars && git clone --depth 1 https://github.com/tree-sitter/tree-sitter-python && git clone --depth 1 https://github.com/tree-sitter/tree-sitter-c-sharp && git clone --depth 1 https://github.com/tree-sitter/tree-sitter-java && cd -
```

Build the grammar file:

```sh
poetry run python core/build_treesitter.py
```
xhorizon 1.1.3
A Python package for explicitly computing Penrose diagrams in general relativity.
Requires Python: >=3.10


xhorizon
================================


*xhorizon*: Explicitly computing Penrose diagrams in general relativity.

A Python package.


| **I finally gave the package a makeover and updated to Python 3!**

| **The new documentation is still under construction...**
| **but there is now an ever expanding tutorial!**



Links
-----
   - `GitHub <https://github.com/xh-diagrams/xhorizon>`_.
   - `Documentation <https://xhorizon.readthedocs.io/>`_.
   - `PyPi <https://pypi.org/project/xhorizon/>`_.


Background Theory
-----------------
JC Schindler, A Aguirre. 
*Algorithms for the explicit computation of Penrose diagrams.*
`Class Quantum Grav 35 105019 <https://doi.org/10.1088/1361-6382/aabce2>`_.
(2018).
`arxiv:1802.02263 <https://arxiv.org/abs/1802.02263>`_.


Getting Started
---------------
To install::

   pip install xhorizon

To start using the tools, begin with the `tutorial <https://xhorizon.readthedocs.io/en/stable/TUTORIAL/00-overview.html>`_ and keep an eye out for `example scripts <https://github.com/xh-diagrams/xhorizon/tree/main/scripts/examples>`_.
fix-db-wifi 0.1.2
A tool to fix IP conflicts between Deutsche Bahn WIFI and Ubuntu/Docker

# Fix DB WiFi

`fix-db-wifi` is a simple command-line tool to resolve IP address conflicts between Deutsche Bahn WiFi and Docker
networks. Both Deutsche Bahn WiFi and Docker use the `172.18.0.0/16` address space by default, which can cause
connectivity issues.

## Modes

This tool has two modes:

### `--temporary` (default)

remove all Docker networks in the conflicting address space 

### `--permanent`

When run in permanent mode, the tool will modify Docker's configuration file (`/etc/docker/daemon.json`) to change the
default address pool to `192.168.0.0/16`, and then restart Docker.

## Usage

To install `fix-db-wifi`, use pip in your terminal:

```bash
pip install fix_db_wifi
```

Afterwards you can run the tool using

```bash
fix_db_wifi
```

or

```bash
fix_db_wifi --permanent
```

Please note that because of the changes it makes, fix-db-wifi must be run with root privileges.
If you have any problems, feel free to open an issue.
Original solution pulled from [here](https://forum.ubuntuusers.de/topic/probleme-mit-dem-wifionice/)
pixel-collect 0.0.1
simple google image scrapper for your computer vision tasks
Keywords: Computer-vision,Images,Dataset,scrapping

## pixel collect

Pixel collect is a simple google image scrapper for your computer vision tasks

### Installation

#### Quick 

```bash
pip install pixel_collect
```

#### Long

- Step 1

```bash
git clone https://github.com/charleslf2/pixel_collect
```

- Step 2

```bash
cd pixel_collect
```

- Step 3

```bash
py setup.py install
```

### Usage

```python

>>> from pixel_collect import pixel_scrap

>>> pixel_scrap(keyword="cats photos",save_folder="cats",limit=50,logs=True)
```
entest 0.1.16
Write dependent integration tests. See my pycon talk.
Requires Python: >=3.8,<4.0
Keywords: test,integration-test

# Entest
## God is testing you
Most of the testing frameworks are pretty old and all of them (python or otherwise) treat unit tests as first class citizens.
The ideas of this lib are based on the Testing Trophy. This means that we consider integration tests to be more important.
This lib provides a convenient way to explicitly define dependency relationships between tests. Improves transparency of globally needed assets (think fixtures but better).

For how that would look like practically see `tests/example.py`. This code is referred to in my PyCon talk.
https://www.ganjing.com/video/1fic7807r1p1YVbLCkn4uytkJ1c11c

### Demo
[![asciicast](https://asciinema.org/a/594488.svg)](https://asciinema.org/a/594488)

## Installing
```
pip install entest[all]
```

## Documentation
See `tests/example.py`.

To have a test implicitly depend on all other tests use `run_last` flag. This is the case for teardown of critical resources for example users. To skip these tests use `--skip-teardown` or set `ENTEST_SKIP_TEARDOWN` environment variable.

To have all tests implicitly depend on a given test place it closer to the root of the graph.
Use `setup_setup` to take advantage of `depends_on` default behavior. (i.e. for the first decorated function in a module `TEST_ROOT` is taken do be the previous test)

To have a test depend on another test NOT being run use `without` flag. This is usefull for testing error flows.

## Contributing
Please do not maintain a fork! Make a pull request and if it is not obviously bad I will merge it in a timely manner.

```
python3 -m venv .venv
. .venv/bin/activate
pip install poetry
poetry install
echo "
export PYTHONPATH=$PWD
alias entest="python3 ./entest/cli.py"
" >> .venv/bin/activate
export PYTHONPATH=$PWD
alias entest="python3 ./entest/cli.py"
```

I would like to change a lot of things structure-wise, but API will stay the same. In particular:
- `depends_on` decorator with kwargs `previous`, `run_last` and `without`.
- `STATUS` classificator. I see how it can be misused easily, but I will still ship this footgun.

## Run tests
```
entest --graph
entest
entest --skip-teardown
entest --env env_name tests/example.py --snoop
```

## Roadmap
- Better error output with `stackprinter`.
- Verbose mode that automatically applies `pySnooper` or `cyberbrain`.
- An `init` command that sets up the tests folder with env subfolder.
cle-utilities 0.0.2
A logging package which will help to implement the cle capabilities and design the requests to be sent to cle api.
Requires Python: >=3.9
Keywords: cle,logging,automated alert,exceptions

# cle_package

A package used to send the logs and exceptions on CLE Portal. Package is also used to design json to be sent to the cle apis example headers_json, logging_json, exception_json.   

Developed by Adeep Malmotra

## Examples of How To Use

```python
# Under Construction
```


Explore the package to use other functions and parameters.
ario3s-aiva 1.0.6
Manage dynamic ssh tunnel on localhost
Requires Python: >=3.10,<4.0

# aiva cli tool

<p>A tool to create SOCKS5 proxy on localhost</p>


## Configuration
<p>Default config file path is /home/USERNAME/.aiva.toml

<b>Config file Format</b>
```
[default]
username = "<DEFAULT USERNAME>"
local_port = <DEFAULT BIND PORT>
server_label = "<DEFAULT LABEL>"

[server_<label>]
ip = <server-ip>
port = <server-port>

[server_<label>]
...

```
</p>

## Usage

Connects to server using ssh
```
aiva connect  
```

Disconnects from server
```
aiva disconnect  
```

Get connection status
```
aiva status [-d] 
```

List available servers
```
aiva list_servers
```

Change default server
```
aiva change-server
```