semvec/pypi-packages huggingface dataset:
SiteLinks 0.0.7
A link-scanning tool to scrape web urls.
Requires Python: >=3

# SiteLinks
This is a small project intended to allow scraping all the the links off a website, mostly useful for CTFs.
<!--
## Installaion
```shell script
$ python3 -m pip install 
```
-->
## Usage:

To use the script simply run:
```
$ python -m SiteLinks [--depth] [-s] [-o] hostname
```
#### Flags:
+ -s - Include search status (Significantly longer run)
+ -o - Include outside link
slimDNS 1.0.0rc2
A simple DNS server written in vanilla Python.
Requires Python: >=3.8

# slimDNS

A simple DNS server written in vanilla Python.

 * slimDNS [documentation](https://slimdns.readthedocs.io/en/latest/)
 * slimDNS [discord](https://discord.gg/CMjZbwR) server
 * slimDNS supports [A](https://slimdns.readthedocs.io/en/latest/record_types/A.html), [NS](https://slimdns.readthedocs.io/en/latest/record_types/NS.html), [SOA](https://slimdns.readthedocs.io/en/latest/record_types/SOA.html) and [SRV](https://slimdns.readthedocs.io/en/latest/record_types/SRV.html) records *(as of v1.0.0rc2)*.

# Installation

    pip install slimDNS

or simply `git clone` this repository.

## Minimal example

```py
import slimDNS

dns = slimDNS.server(slimDNS.UDP)

dns.run()
```

This would host a DNS server without any records.<br>
There's two ways you can add records:

Swap out all records via annotation
-----------------------------------
```py
@dns.records
def records(server):
	return {
		"example.com" : {
			"A" : {"target" : "264.30.198.2", "ttl" : 60},
			"SOA" : {"target" : "example.com", "ttl" : 60},
			"NS" : {"target" : "example.com", "ttl" : 60, "priority" : 10}
		},
		"nas.example.com" : {
			"A" : {"target" : "264.30.198.2", "type" : "A", "ttl" : 60}
		},
		"_matrix._tcp.riot.example.com" : {
			"SRV" : {"ttl" : 60, "priority" : 10, "port" : 8448, "target" : "nas.example.com"}
		}

	}
```

Which would swap out all current records for the defined set of records.

Add, delete and update records
------------------------------

```py
dns.remove('example.com', 'A')
dns.add('example.com', 'A', '264.30.198.1')
dns.update('example.com', 'A', '264.30.198.5')
```

Which would remove the `A` record `example.com`,<br>
Then add a new similar one with a new UP and<br>
finally update that new record with a new `IP`.

# Note

Requires Python 3.8+ & ~Linux~ *(not tested on other platforms)*.
pysnoonotes 1.1.0
A Python wrapper for the Snoonotes API
Requires Python: >=3.6

# PySnooNotes

[![PyPI](https://img.shields.io/pypi/v/pysnoonotes.svg)](https://pypi.org/project/pysnoonotes/) [![PyPI license](https://img.shields.io/pypi/l/pysnoonotes.svg)](https://github.com/mmshivesh/PySnooNotes/blob/master/LICENSE) [![Python Version](https://img.shields.io/badge/Python-%3E%3D3.6-blue)]()

Python wrapper for the Snoonotes API

## Supported Features:

1. Fetch notes for a particular user
2. Fetch Subreddit Notes - Caching implemented 
3. Add notes for a user
4. Removing usernotes for a user

## Depends On:

`requests==2.23.0`

## Usage:

### Imports

To use in your python project, use:

```python
from pysnoonotes.core import SnooNotes
```

### Sample Usage

Authenticate using a Reddit account that can add usernotes and a user_key for that account that can be generated from "https://snoonotes.com/#!/userkey". The generated key is sent via PM to your reddit account.

```python
sn = SnooNotes("username", "user_key")
```

1. Returns a dictionary with usernames and their associated usernotes:

```python
notes_for_username = sn.get_notes_for_user("username")
notes_for_usernames12 = sn.get_notes_for_user(["username1", "username2"])
```

2. Returns notes supported in that particular subreddit:

```python
subreddit_notes = sn.get_notes_for_subreddit("subreddit")
```

*NOTE*: This function caches queries using a pickle file to `./caches` directory to prevent repeated API requests. By default it automatically updates caches once a day. However, using `use_cache=False`, you can manually trigger a call that bypasses cache (this call will also update the cache)

3. Add a new usernote for the user under a subreddit with a custom note and a link to the comment/post:

```python
sn.add_note_for_user("username", "note_type_id", "subreddit", "Reason for note", "www.reddit.com/r/subreddit/123abc/.../123abc")
```

4. Delete a usernote for a given username, given a note_id.

```python
sn.delete_note_for_user("username","note_id")
```

The above is also summarized in the `sample.py` script