semvec/pypi-packages huggingface dataset:
linkvertise-bypasser 0.1.1
Bypass linkvertise links using the internal API
License: MIT
Requires Python: <4.0,>=3.10

# Linkvertise Bypasser

Bypasses linkvertise links by accessing their internal GraphQL API,
without the need of a browser.

# Example Usage

## Basic single URL

```python
import linkvertise_bypasser as linkvertise

ad_url = "https://linkvertise.com/12345/example"
url = linkvertise.bypass(ad_url)
```

## From User ID and Post name

```python
import linkvertise_bypasser as linkvertise

post = linkvertise.Post(12345, "example")
url = linkvertise.get_url(post)
```

## Keeping session between requests

```python
import requests
import linkvertise_bypasser as linkvertise

session = requests.Session()
for ad_url in urls:
	url = linkvertise.bypass(ad_url, session=session)
```
double-indent 0.1.5
a code formatter indenting function and method definitions twice
License: MIT
Requires Python: >=3.8

[![ci](https://github.com/jkittner/double-indent/workflows/ci/badge.svg)](https://github.com/jkittner/double-indent/actions?query=workflow%3Aci)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/jkittner/double-indent/master.svg)](https://results.pre-commit.ci/latest/github/jkittner/double-indent/master)

# double-indent

A code formatter to add double indentation to function and method definitions.

## Installation

`pip install double-indent`

## usage

```console
usage: double-indent [-h] [-i INDENT] [filenames ...]

positional arguments:
  filenames

optional arguments:
  -h, --help            show this help message and exit
  -i INDENT, --indent INDENT
                        number of spaces for indentation
```

## pre-commit hook

See [pre-commit](https://pre-commit.com) for instructions

Sample `.pre-commit-config.yaml`:

```yaml
- repo: https://github.com/jkittner/double-indent
  rev: 0.1.5
  hooks:
    - id: double-indent
```

## indent function and method definitions twice

```diff
 def func(
-    arg,
-    arg2,
+        arg,
+        arg2,
 ):
     ...
```

```diff
 class C:
     def __init__(
-        self,
-        arg,
+            self,
+            arg,
     ):
         ...
```