semvec/pypi-packages huggingface dataset:
install-jdk-patch 0.2.1a0
Installs AdoptOpenJDK Java
Requires Python: >=3.6
Keywords: AdoptOpenJDK Java jdk jre

# install-jdk

A simple python utility that can be used to download and install a given Java JDK or JRE. Utilizes the [AdoptOpenJDK API](https://api.adoptopenjdk.net/swagger-ui/#/Binary).

This is a port of from the GitHub Action [`installjdk`](https://github.com/AdoptOpenJDK/install-jdk)

Currently supports 32-bit and 64-bit versions of Windows, Linux, and macOS.

## Install

```bash
pip install install-jdk
```

## Usage

```python
import jdk

jdk.install('11')
# Platform dependent install of Java JDK 11 into $HOME/.jdk/<VERSION>

jdk.install('11', impl=jdk.Implementation.OPENJ9)
# Platform dependent install of Java JDK 11 with OpenJ9 into $HOME/.jdk/<VERSION>

jdk.install('11', jre=True)
# Platform dependent install of Java JRE 11 into $HOME/.jre/<VERSION>

print(jdk.OS)       # Detected platform operating system
print(jdk.ARCH)     # Detected platform CPU architecture

download_url = jdk.get_download_url('11')
print(download_url)
# Obtains the platform dependent JDK download url

download_url = jdk.get_download_url('11', jre=True)
print(download_url)
# Obtains the platform dependent JRE download url

jdk.uninstall('11')
# Removes the Java 11 JDK if installed

jdk.uninstall('11', jre=True)
# Removes the Java 11 JRE if installed
```

## Development

Targets Python3.6 and newer.

```bash
git clone https://github.com/jyksnw/install-jdk
cd install-jdk
python3 -m venv .env
source .env/bin/activate

pip install -r dev_requirements.txt
```
there 0.0.12
Print current file and line number

# There

Print the current filename and line. 

Example, `where.py`

```python
import there
import there as here

print(here)
print('and')
print(there)
```

Then `python where.py` will print:

```
where.py:4
and
where.py:6
```

## replace print function

`There` provide a replacement for the `print` function, that prepend the
filename and line. 

Example, `where.py`

```python
from there import print

print('hi')
print('there')
```

Then `python where.py` will print:

```
where.py:3 hi
where.py:4 there
```

## that's it


That's it (for now), non more, no less. I have plan – the usually never get
realised – to also have a `there.indent` that return the indentation of the
current line.

# Gotchas

Returns the line where the `__str__`, or `__repr__` of `there` is computed.
Usually by `print`. So it might be wrong. If you want to be sure (like when
using `log`) wrap it in `str()`

Runs only on CPython likely. But anyway don't run it in production.
pycyber 0.0.6
Apollo autopilot middleware.
Requires Python: >=3.6

# pycyber
apollo cyber python package

## Quick start

#### Install
You can install `pycyber` via cmd below.
```shell
pip3 install pycyber
```

#### Example
Then you can open two shell windows. One receives messages via the `listener` command, another to send a message via the `talker` command.
```shell
~$ listener

# another window
~$ talker
```

#### Usage
1. Then you can import `pycyber` in your python file.
```python
from pycyber import cyber
```

There are some examples in `pycyber/examples`.

2. Also supports some commands of cyber, such as
```
cyber_channel
cyber_launch
cyber_node
cyber_service
```
Below commands are currently not supported.
```
cyber_monitor
cyber_recorder
```

#### env
You can set cyber IP address by below command.
```shell
export CYBER_IP=127.0.0.1
```
processamento-imagens-py 0.0.1
Image processing package using skimage
Requires Python: >=3.8

# processamento-imagens-py

Description. 
The package processamento-imagens-py is used to:
	Processamento
		- Histogram matching
		- Structural similarity
		- Resize image
	Utils:
		- Read image
		- Save image
		- Plot image
		- Plot result
		- Plot histogram
## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install processamento-imagens-py

```bash
pip install processamento-imagens-py
```
## Author
Guilherme

## License
[MIT](https://choosealicense.com/licenses/mit/)
calc-porcentagem 0.0.3
Pacote de calculo basico de porcentagem
Requires Python: >=3

# calc_porcentagem

DescriÃ§Ã£o.
O pacote calc_porcentagem Ã© usado para:
    Calculos:
        - Aumento de valor baseado na porcentagem informado na chamada da funÃ§Ã£o
        - DiminuiÃ§Ã£o de valor baseado na porcentagem informado na chamada da funÃ§Ã£o

## InstalaÃ§Ã£o

Use o gerenciador de pacotes [pip](https://pip.pypa.io/en/estable/) para instalar calc_porcentagem

```bash
pip install -i https://test.pypi.org/simple/ calc-porcentagem
```

## Uso

```python
import calc-porcentagem.calc as cp

cp.aumento() #exemplo da chamada de funÃ§Ã£o aumento()
```

## Autor
Anderson Willian

## Licensa
[MIT](https://choosealicense.com/license/mit/)
true-north 0.3.0
Beautiful and pythonic benchmarks engine.
Requires Python: >=3.8
Keywords: benchmark,benchmarks,performance,profiling,testing,tests

# true-north

Beautiful, powerful, and pythonic benchmarks engine for Python code.

Features:

+ Follows best practices of benchmarking to produce the most reliable results.
+ Detects caching and side-effects.
+ Traces memory usage and allocations (opt-in).
+ Opcodes tracing for reproducble benchmarks (opt-in).
+ 100% type safe.
+ Zero dependency.
+ Highly configurable.
+ Nice and colorful output.
+ Ships with CLI to discover and run all benchmarks.
+ A friendly API to write your own logic on top of benchmarks.

```text
sorting algorithms
  list.sort
    possible side-effect detected: slowest iteration x21 slower than fastest
    5k   loops, best of 5:  43.579 us ±  12.681 us                 ████▇
              11 ops, 3961 ns/op
  sorted
    5k   loops, best of 5:  43.911 us ±   3.697 us    x1.01 slower █████
              11 ops, 3991 ns/op
  insert_sort
    2    loops, best of 5: 100.662 ms ± 111.725 us x2309.85 slower █████
      11_683_767 ops,    8 ns/op
```

## Installation

```bash
python3 -m pip install true-north
```

## Usage

```python
import true_north

group = true_north.Group()

@group.add
def math_sorted(r):
    val = [1, 2, 3] * 300
    # timer start before entering the loop
    # and stops when leaving it
    for _ in r:
        sorted(val)

# run and print all benchmarks in the group
if __name__ == '__main__':
    group.print()
```

See [examples](./examples/) for more examples and [true-north.orsinium.dev](https://true-north.orsinium.dev/) for chad documentation.
code_data 1.0.1
Transform Python code objects into data, and vice versa.

# `python-code-data`

[![Test workflow](https://github.com/metadsl/python-code-data/actions/workflows/test.yml/badge.svg)](https://github.com/metadsl/python-code-data/actions/workflows/test.yml?query=branch%3Amain) [![Documentation Status](https://readthedocs.org/projects/python-code-data/badge/?version=latest)](https://python-code-data.readthedocs.io/en/latest/?badge=latest) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/metadsl/python-code-data/main) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/code_data?style=flat-square) ![PyPi - Version](https://img.shields.io/pypi/v/code_data?style=flat-square)](https://pypi.org/project/code_data/)

`python-code-data` is a tool for introspecting Python code as data objects, by translating from Python's built in Code object.