semvec/pypi-packages huggingface dataset:
viper-testing 0.1
A modern testing framework

# Viper
A modern testing framework.

## How to use it
Viper was made for people of all types and expertise.
To make a simple test, you can use the following code:
```python
from viper import Viper

snake = Viper("Example Tests")

def addition(a, b):
    return a + b

snake.test("check if addition function can solve 5 + 5", addition(5, 5), 10)

snake.evaluate()
```
On running this, you should get:
```markdown
This is Viper, a modern testing framework, created by Aarush Gupta (https://aarushgupta.tk)
Running tests for "Example Tests"
Testing "check if addition function can solve 5 + 5"... Passed

Ran 1 test(s) in 0.0004 seconds
1/1 passed
```
And if we change the 10 to become something else like so:
```python
snake.test("check if addition function can solve 5 + 5", addition(5, 5), 7)
```
The output becomes:
```markdown
This is Viper, a modern testing framework, created by Aarush Gupta (https://aarushgupta.tk)
Running tests for "Example Tests"
Testing "check if addition function can solve 5 + 5"... Failed
   Desired Output: "7" | Test Ouput: "10"

Ran 1 test(s) in 0.0006 seconds
0/1 passed
```
As one can see, the testing outputs are made so that it is simple, yet it is also informative

## Copyrighted
Copyright &copy; 2020-2021 Aarush Gupta\
The only reason I am putting the code on GitHub is so that you can see it and be satisfied with the fact that it is not malicious. Please don't alter the code and call it your own. See the `LICENSE` file for more information.
comment-header-creator-daxm 20200116.1
('Create nicely formatted comment strings to be used as headers/seperators in your code.',)
Requires Python: >=3.6

# Comment Header Creator
Create a "header" for separating/describing sections of your Python code.

I don't know about you but I like to "organize" my Python methods and functions by putting some sort of comment 
seperator between them.  This helps me when scrolling through my code to find particular categories of routines.

There are basically 2 main methods:  Basic or Fancy
 - Basic (the uniline() method) returns a formatted string that is a single line with the 'title' centered.
 - Fancy (the multiline() method) returns a formatted string that is 3 lines long with the 'title' centered in the 
   center line.

The last "hidden" function, _generate_line(), is the secret sauce to generating the lines.  You can call this 
directly but bear in mind it returns a Tuple (string and a boolean).

## Example Uses
See example.py for how to use or:
  - Create a single-line header but input title from user input:
```python
import comment_header_creator as chc
print(chc.uniline())
```
  yields:
```bash
Enter Title: title of section
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- TITLE OF SECTION -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- #
```

  - Create a multi-line header but input title from user input:
```python
import comment_header_creator as chc
print(chc.multiline())
```
  yields:
```bash
Enter Title: Another Section
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- #
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ANOTHER SECTION -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- #
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- #
```

  - Create a single-line (or multi-line) header by passing title in function call:
```python
import comment_header_creator as chc
print(chc.uniline(title='Greatest Hits'))
```
  yields:
```bash
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- GREATEST HITS -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- #
```

  - You can also set your own 'expander' string:
```
import comment_header_creator as chc
chc.uniline(title="it's a flesh wound", expander='0i')
"# i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i IT'S A FLESH WOUND i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i0i #"
```
> NOTE:  In the previous example notice that we didn't use the print() function.  This will return a string, which you 
> then need to "strip" the quotes off the front and end.  Thus, I suggest print()'ing your outputs.
django-sos 0.0.1.dev2
A Django helper library
Requires Python: >=3.6

# django-sos

Django-SOS is a Django helper library. The features are as follows:

- automatically host media files during debugging: set DEBUG_SERVE_MEDIA=True in settings.py

To use django-sos, please add 'django_sos' to the INSTALLED_APPS variable in the settings.py file.
hastygram 1.0.0
An lightweight frontend for Instagram
Requires Python: >=3.7

# hastygram
 
[![Build status](https://github.com/Zopieux/hastygram/workflows/Package/badge.svg)](https://github.com/Zopieux/hastygram/actions)

A lightweight frontend for Instagram. No fuss, just navigate to `/<username>` and enjoy the content.
This supports images, videos and "groups" thereof – Instagram call them *sidecars*.

Click on a media to enlarge it to its original resolution. No more ridiculously small pictures!

### Usage

1. You need an account, otherwise Instagram will quickly rate-limit your anonymous session.
2. Connect to Instagram using the [website](https://instagram.com), then using the browser devtools, copy the `sessionid` 
   cookie value to the clipboard.
3. On your Hastygram frontend, use the **Authenticate** button to paste the cookie value. This is necessary only once.
4. If you encounter errors after a while, follow the same procedure again with a fresh `sessionid` cookie.

### Building and deploying

See [`/example`](/example) for an example deployment using Nginx. 

```shell
# The frontend:
# You'll have to serve the resulting web/build/ directory as static files.
$ ( cd web && yarn run build )

# The Python backend:
# You'll have to reverse-proxy :8000 in location /_.
$ pip install hastygram 'uvicorn[standard]'
$ uvicorn hastygram.app:app --port 8000
```

### License

GNU General Public License v3.0

### Screenshot

![screenshot](.github/screenshot.jpeg)