semvec/pypi-packages huggingface dataset:
ddcLogs 3.0.12
Easy logs with rotations
License: MIT
Requires Python: <4.0,>=3.10
Keywords: python3, python-3, python, log, logging, logger, logutils, log-utils, ddcLogs

# Easy logs with rotations

[![Donate](https://img.shields.io/badge/Donate-PayPal-brightgreen.svg?style=plastic)](https://www.paypal.com/ncp/payment/6G9Z78QHUD4RJ)
[![License](https://img.shields.io/pypi/l/ddclogs)](https://github.com/ddc/ddcLogs/blob/master/LICENSE)
[![PyPi](https://img.shields.io/pypi/v/ddcLogs.svg)](https://pypi.python.org/pypi/ddcLogs)
[![PyPI Downloads](https://static.pepy.tech/badge/ddcLogs)](https://pepy.tech/projects/ddclogs)
[![codecov](https://codecov.io/github/ddc/ddcLogs/graph/badge.svg?token=3MEPITZKYN)](https://codecov.io/github/ddc/ddcLogs)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A//actions-badge.atrox.dev/ddc/ddcLogs/badge?ref=main&label=build&logo=none)](https://actions-badge.atrox.dev/ddc/ddcLogs/goto?ref=main)
[![Python](https://img.shields.io/pypi/pyversions/ddclogs.svg)](https://www.python.org)


# DISCONTINUED
### This project moved to:
  + https://github.com/ddc/pythonLogs
  + https://pypi.org/project/pythonLogs
Eratosthenes 4.0.9
Fast prime generation for Python based on Sieve of Eratosthenes
License: MIT

# Eratosthenes
Fast prime generation for Python based on Sieve of Eratosthenes

## Usage

```python
from eratosthenes import sieve, count, segmented_sieve, segmented_count

# This is a Sieve of Eratosthenes with wheel factorization.
primes = sieve(1000)

# This uses the same logic to count primes up the argument.
num_primes = count(1000)

# This segmented sieve only uses up to 128 KB main memory
primes = segmented_sieve(1000)
num_primes = segmented_count(1000)
```

## About
Eratosthenes is written in C++17 and bound for Python with `pybind11`. This makes it faster than just about any native Python implementation of Sieve of Eratosthenes!

## Copyright

Copyright (c) Daniel Strano and the Qrack contributors 2017-2024. All rights reserved.

Eratosthenes is provided under an MIT License.
jaydee 0.1.12
Crawl and scrape websites with a given .json schema.
License: MIT
Requires Python: <4.0,>=3.11

# Jaydee

Crawl websites and scrape HTML documents using a .json file schema.

## Features:

- Scrape websites flexibly by with .json schemas.
- Scrape git repositories and store the code content.

## Installation

Make sure you have playwright installed with:

```bash
$ pip install playwright
$ playwright install
```

Currently Jaydee runs on chromium so make sure that playwright at least installs that as a webdriver.

Afterwards install Jaydee from PIP:

```bash
$ pip install jaydee
```

## Usage

More in-depth usage examples can be found in the `examples` directory.

Crawling for links:

```python
import asyncio

from jaydee.crawlers import LinkCrawler


async def main():
    # on_proceed is called once the crawlers url queue is empty.
    def on_proceed(crawler):
        # Add pages after crawler has extracted links.
        # this page is only added once since crawler keeps track of pages it has visited.
        crawler.add_url("https://www.example.com/foo")

    crawler = LinkCrawler(
        "https://www.example.com",
        on_proceed,
    )

    async for result in crawler.start():
        print(f"Metadata: {result["metadata"]}")
        print(f"Links found: {result["links"]}")


def start():
    asyncio.run(main())
```

Scraping example with requests:

```python
import requests

from jaydee import Scraper

# Retrieve an HTML document.
r = requests.get("https://example.com")

# Setup the scraper with rules according to a .json file.
scraper = Scraper(html_doc=r.content).from_json("data/rules.json")

# Get a result
result = scraper.scrape()
```

## License

This repository is licensed under the MIT license.