semvec/pypi-packages huggingface dataset:
python-test-helper 0.0.2
Simple Methods to help you in your tests
Requires Python: >=3.7
Keywords: python

# Python Test Helper

## Contents

### jwt_helper

#### sleep_until_access_token_ready

Use this if your computer clock is behind the token server

```
from helper_methods.helper import jwt_helper

jwt_helper.sleep_until_access_token_ready(access_token)
```

### request_helper

`RequestHelper`

* Extends the requests `Session` to allow a `base_url` to be provided
sctour 1.0.0
a deep learning architecture for robust inference and accurate prediction of cellular dynamics
Requires Python: >=3.7

# scTour

<img src="https://github.com/LiQian-XC/sctour/blob/main/docs/source/_static/img/scTour_head_image.png" width="400px" align="left">

scTour is an innovative and comprehensive method for dissecting cellular dynamics by analysing datasets derived from single-cell genomics.

It provides a unifying framework to depict the full picture of developmental processes from multiple angles including the developmental pseudotime, vector field and latent space.

It further generalises these functionalities to a multi-task architecture for within-dataset inference and cross-dataset prediction of cellular dynamics in a batch-insensitive manner.  
  
## Key features

- cell pseudotime estimation with no need for specifying starting cells.
- transcriptomic vector field inference with no discrimination between spliced and unspliced mRNAs.
- latent space mapping by combining intrinsic transcriptomic structure with extrinsic pseudotime ordering.
- model-based prediction of pseudotime, vector field, and latent space for query cells/datasets/time intervals.
- insensitive to batch effects; robust to cell subsampling; scalable to large datasets.

## Installation

[![Python Versions](https://img.shields.io/badge/python-3.7+-brightgreen.svg)](https://pypi.org/project/sctour)

```console
pip install sctour
```

## Documentation

[![Documentation Status](https://readthedocs.org/projects/sctour/badge/?version=latest)](https://sctour.readthedocs.io/en/latest/?badge=latest)

Full documentation can be found [here](https://sctour.readthedocs.io/en/latest/).

## Reference

[Qian Li, scTour: a deep learning architecture for robust inference and accurate prediction of cellular dynamics. Genome Biology, 2023](https://genomebiology.biomedcentral.com/articles/10.1186/s13059-023-02988-9)
tambus 1.0.0
Bambus Template Engine

<center>

<img src="./assets/banner.svg" width="300">


##### Bambus Template Engine 
</center>


## Usage

To get started, follow the example below to render a template:

```python
import tambus

t = tambus.TambusEngine()

# Rendering HTML
with open("/templates/index.html") as f:
    print(t.translate(f.read(), hello="world!"))
```

Imagine the content of `/templates/index.html` is as follows:

```html
<!DOCTYPE html>
<html lang="en">
<head>
    <title>My Page</title>
</head>
<body>
    <h1> Hello {hello} </h1>
</body>
</html>
```

The output would be:

```html
<!DOCTYPE html>
<html lang="en">
<head>
    <title>My Page</title>
</head>
<body>
    <h1> Hello world! </h1>
</body>
</html>
```


## Contribution Guidelines
Contributions to Tambus are welcome! If you have any bug fixes, improvements, or new features to add, please submit a pull request. Make sure to follow the coding style and include tests for any new functionality.
            
## License
Tambus is licensed under the MIT License. See the [LICENSE](./LICENSE) file for more information.
empty-files 0.0.9
Serves empty files of many types
Requires Python: >=3.7.1

# EmptyFiles.Python

[![PyPI version](https://img.shields.io/pypi/v/empty-files.svg)](https://pypi.org/project/empty-files)
[![Test](https://github.com/approvals/EmptyFiles.Python/actions/workflows/test.yml/badge.svg)](https://github.com/approvals/EmptyFiles.Python/actions/workflows/test.yml)

**TL;DR** Null Object pattern for files. 

<!-- toc -->
## Contents

  * [Setup](#setup)
  * [Usage](#usage)
  * [Null Object Pattern](#null-object-pattern)
  * [Attributions](#attributions)<!-- endToc -->

This project will create an empty file of a type requested. 
If possible, that file will be the smallest valid file for that type. For example, an empty jpg will be a 1x1 pixel jpg.

## Setup

From [pypi](https://pypi.org/project/empty-files/):

	pip install empty-files


## Usage
This code:

<!-- snippet: create_empty_jpg -->
<a id='snippet-create_empty_jpg'></a>
```py
from empty_files.empty_files import create_empty_file
create_empty_file("temp/empty.jpg")
```
<sup><a href='/tests/test_empty_files.py#L23-L26' title='Snippet source file'>snippet source</a> | <a href='#snippet-create_empty_jpg' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

will create the following [image](tests/test_empty_files.test_sample.approved.jpg)

## Null Object Pattern
**Issue:** null/None causes extra checks in order to avoid errors.

**Solution:** return an empty version of the object, so methods can be used normally.

**Example:** 
if `last_name` returns `""` instead of `None`,  
we can write:

```python
name_length = len(person.last_name())
```

instead of :

```python 
name_length = 0
if (person.last_name())
 name_length = len(person.last_name()) 
```

## Attributions
The empty files are taken from [Simon Cropp's Empty Files](https://github.com/VerifyTests/EmptyFiles/tree/main/index).