semvec/pypi-packages huggingface dataset:
cjudge 1.0.2
CLI utility for different online judges.
Requires Python: >=3.8

# Cjudge

Cjudge is a CLI tool build in python that allows the user to download, test and submit problems from different online judges.

## Supported judges
This a list of the currently supported judges:
- ### [Kattis](https://open.kattis.com/)
- ### [¡Acepta el Reto!](https://aceptaelreto.com/)
- ### [Uva Judge](https://onlinejudge.org/)

## Installation
To install Cjudge just use `pip`:
```
pip install cjudge
```
__Note:__ If you want to download Kattis problem statements from kattis you must need `latexmk`.  [Get more information](https://github.com/NotTete/kattispdf/tree/main)

## Commands
### cjudge-create
Given a judge and a problem id it downloads the problem statement, test samples and creates a `main.cpp` from a configurable template.
```
cjudge-create judge problem
```
### cjudge-info
Given a problem folder or a judge and a problem id it displays information about the selected problem.
```
cjudge-info judge problem
```
or
```
cjudge-info problem-folder
```
### cjudge-test
Given a problem folder it runs the test samples located in the `samples` folder.
```
cjudge-test problem-folder
```
### cjudge-submit
Given a problem folder it submits your problem solution to the corresponding judge.
```
cjudge-submit problem-folder
```
__Note 1:__ It will require you to introduce login credentials every time you login. 

__Note 2:__ In Kattis the login uses a token you can get from kattis website. [Get more information]()
hack4u-frande 0.1
Una biblioteca para consultar cursos de hack4u.

## Cursos disponibles:
- Introducción a Linux [15 horas]
- Personalización de Linux [3 horas]
- Introducción al Hacking [53 horas]
- Python Ofensivo [35 horas]

## Instalación

Instala el paquete usando `pip3`:

```python3
pip3 install hack4u
```
## Uso Básico

### Listar todos los cursos
 
```python
form hack4u import list_courses

for course in list_courses():
    print(course)
```

### Obtener un curso por nombre

```python
from hack4u import get_course_by_name

course = get_course_by_name("Introducción a Linux")
print(course)
```

### Calcular duración total de los cursos

```python3
from hack4u.utils import total_duration

print(f"Duración total: {total_duration()} horas")
```
miqc-py 0.0.1
Python implementation of miQC method
Requires Python: >=3.7
Keywords: single-cell, quality-control, scverse

# miqc-py

Python implementation of [miQC](https://github.com/greenelab/miQC) ([paper](https://doi.org/10.1371/journal.pcbi.1009290)).

## Installation

```sh
pip install miqc_py
```

## Usage

Usage follows the scverse API conventions.
Parameter names follow the R implementation of `miQC`.

```python
import miqc_py

# ...

miqc_py.calculate_miqc(adata)
miqc_py.filter_cells(adata)
```

### Plotting

Optionally, we can plot the results with `altair` (not a dependency of `miqc_py` - may need to install first).

```python
import altair as alt

alt.Chart(adata.obs).mark_circle().encode(
    x="total_genes_by_counts:Q",
    y="pct_counts_mito:Q",
    color="prob_compromised:Q"
)
```


## Development

```sh
conda env create -f environment.yml
conda activate miqc-py
```

```sh
jupyter lab
```