semvec/pypi-packages huggingface dataset:
django-cf-turnstile 0.1.0
A Django app for integrating Cloudflare Turnstile into forms.
Requires Python: >=3.10

# django-cf-turnstile

django-cf-turnstile is a Django app for integrating Cloudflare Turnstile
captchas into django forms.

Note that django-cf-turnstile only supports implicit rendering of widgets.


## Requirements

- Python: 3.10+
- Django: 4.2+


## Installation

Install the package with:
```shell
pip install django-cf-turnstile
```

Add "django_cf_turnstile" to your INSTALLED_APPS setting.
```python
INSTALLED_APPS = [
   ...,
   "django_cf_turnstile",
]
```

Add your Turnstile site key and secret to your django settings.
```python
# django-cf-turnstile
# Dummy keys used below, replace with your actual keys

CF_TURNSTILE_SITE_KEY = "1x00000000000000000000AA"
CF_TURNSTILE_SECRET_KEY = "1x0000000000000000000000000000000AA"
```

> Note that if you don't provide a site key and secret key the
> test site keys which always pass validation will be used.
>
> For more information on test keys see
> https://developers.cloudflare.com/turnstile/troubleshooting/testing/.


## Usage

In your Django forms import and use TurnstileCaptchaField

```python
from django import forms
from django_cf_turnstile.fields import TurnstileCaptchaField


class CaptchaSignupForm(forms.Form):
    ...
    captcha = TurnstileCaptchaField()
```


## Customization

### Overriding Keys

Keys may be overridden on individual forms by passing in `site_key` and `secret_key`.

```python
class CaptchaSignupForm(forms.Form):
    captcha = TurnstileCaptchaField(
       site_key="3x00000000000000000000FF",
       secret_key="1x0000000000000000000000000000000AA"
    )
```

### Adding Labels

By default, the label is set to an empty string.
This can be overridden by setting `label`.

```python
class CaptchaSignupForm(forms.Form):
    captcha = TurnstileCaptchaField(label="Captcha")
```


## Credits

Inspired by [django-recaptcha](https://github.com/django-recaptcha/django-recaptcha)
textminer-pro-jys 0.1.5
Advanced text mining utils

# textminer-pro-jys

**고급 텍스트 분석 유틸리티**

- Stop-word 제거: `remove_stopwords`
- TF-IDF 키워드: `extract_keywords`
- Sumy 요약: `summarize`
- 언어 감지: `detect_language`

```python
from textminer_pro import summarize
print(summarize("고급 텍스트 분석 패키지 입니다.", ratio=0.5))
githubfetch 1.0.5
Terminal-based GitHub profile viewer
Requires Python: >=3.6

# GitHubFetch

[![PyPI version](https://badge.fury.io/py/githubfetch.svg)](https://badge.fury.io/py/githubfetch)

A terminal-based GitHub profile viewer written in Python. View GitHub profiles right in your terminal with style!

![GitHubFetch Demo Screenshot](demo-screenshot.png)

## About

GitHubFetch is a command-line tool that displays GitHub user profiles in a terminal with a nice layout inspired by system fetch tools like neofetch and fastfetch.

## Features

- 🖼️ Shows user's avatar in the terminal (using imgcat)
- 👤 Displays basic profile information (bio, location, follower count, etc.)
- 🔗 Creates clickable links to profiles and websites
- ⭐ Shows starred repositories count
- 📌 Lists pinned repositories with stars and forks
- 📅 Displays a horizontal contribution heatmap to visualize activity patterns
- 🎨 Uses color-coding to make information easier to read
- 📏 Automatically adjusts to your terminal size

## Installation

### Option 1: Install from PyPI (Recommended)

The easiest way to install GitHubFetch is directly from PyPI:

```bash
pip install githubfetch
```

This will install the `githubfetch` command and all its dependencies.

### Option 2: Install from Source

If you prefer to install from source:

1. Clone the repository:

   ```bash
   git clone https://github.com/shubhpsd/githubfetch.git
   cd githubfetch
   ```

2. Install the package in development mode:

   ```bash
   pip install -e .
   ```

Note: The script will automatically check for and offer to install the `imgcat` dependency on first run if it's missing.

## Usage

```bash
# View a GitHub profile
githubfetch <username>

# Display a user's contribution heatmap horizontally
githubfetch <username> --heatmap

# Configure GitHub token
githubfetch --config

# Reset GitHub token
githubfetch --reset-token

# Display help
githubfetch --help
```

For example:

```bash
# View a user's profile
githubfetch shubhpsd

# View a user's contribution heatmap
githubfetch shubhpsd --heatmap
```

## GitHub Token Setup

To view pinned repositories and avoid API rate limits, GitHubFetch needs a GitHub personal access token.

The first time you run the tool, it will guide you through setting up your token:

1. It will prompt you to create a token at [GitHub Developer Settings](https://github.com/settings/tokens)
2. After entering your token, it's securely saved for future use
3. Your token is stored securely in `~/.config/githubfetch/token.json`

If you need to update or reconfigure your token later:

```bash
githubfetch --config
```

Your token needs the `read:user` scope to work properly. For contribution heatmap functionality, the `user` scope is required.

## Requirements

- Python 3.6 or later
- A terminal that supports ANSI escape codes
- For image support: iTerm2 or a terminal that supports the imgcat protocol