semvec/pypi-packages huggingface dataset:
pulse-linter 0.0.7
Security Weakness Finder
License: MIT
Requires Python: >3.7

# Pulse Linter: Flake8 Plugin with Common Security Standards

Pulse Linter is an advanced tool designed to enhance code quality and security by building on top of Flake8. It helps developers identify and rectify common security vulnerabilities in Python code, ensuring adherence to secure coding practices alongside maintaining code style standards. By integrating Pulse Linter into your development workflow, you can scan files or directories for security weaknesses, making your codebase more robust and secure.

## Features

- **Enhanced Security Scanning**: Identifies common security vulnerabilities in Python code.
- **Flake8 Integration**: Builds on top of Flake8, combining style checks with security measures.
- **Directory and File Scanning**: Allows scanning of individual files or entire directories.
- **Customizable Rules**: Supports customization of rules to fit specific project requirements.
- **Easy Integration**: Simple to integrate into existing Flake8 workflows.

## Installation

You can install Pulse Linter via pip:

```bash 
pip install pulse_linter
```

## Help

```bash 
pulse_linter -h
```

## Example

```bash
# example.py
def execute_command(command):
    exec(command)

execute_command("ls -la")
```
```bash
pulse_linter example.py
```

## Output
```bash
example.py:2:5: S102 Use of exec detected
```
django-eskiz-sms 0.1.6
Djangoda Eskiz.Uz API orqali SMS yuborish uchun eng mukammal paket
License: MIT
Requires Python: >=3.7

Django Eskiz SMS Integration
============================

Easily integrate EskizUz SMS functionality into your Django application.

Installation
------------

First, install the package using pip:

.. code-block:: sh

    pip install django-eskiz-sms

Then, add ``eskiz_sms`` to your ``INSTALLED_APPS`` in ``settings.py``:

.. code-block:: python

    INSTALLED_APPS = [
        ...
        'eskiz_sms',
    ]

Setup
-----

After adding the app, run migrations to set up the necessary database tables:

.. code-block:: sh

    python manage.py makemigrations eskiz_sms
    python manage.py migrate eskiz_sms

Next, go to the Django admin panel and add your EskizUz email and API token in the ``EskizSMS`` model.

Usage
-----

### Sending SMS

To send an SMS, you can use the ``send_sms`` method. Import it into any part of your application where you need to send an SMS:

.. code-block:: python

    from eskiz_sms.views import send_sms

    send_sms(phone_number, message)

### Testing

To test the SMS functionality through the browser, include ``eskiz_sms.urls`` in your project's ``urls.py``:

.. code-block:: python

    from django.urls import path, include

    urlpatterns = [
        ...
        path('sms/', include('eskiz_sms.urls')),
    ]

Visit the provided URL in your browser to send test SMS messages. **For security reasons, remove this URL after testing.**

SMS Log
-------

You can view the statistics of sent SMS messages in the ``SMSLog`` model in the Django admin panel.

Support
-------

For additional help, join our Telegram group: `Telegram Support <https://t.me/RozmatOtajonov>`_

For a detailed guide, visit: `Django Eskiz SMS Documentation <https://otajonov.dev/django-eskiz-sms>`_

License
-------

MIT License
py-optional 1.3.3
Optional value pattern for python
License: MIT
Requires Python: <4.0.0,>=3.8.1

# py-optional

[![Coverage Status](https://coveralls.io/repos/github/francipvb/py-optional/badge.svg?branch=develop)](https://coveralls.io/github/francipvb/py-optional?branch=develop)
[![Coverage Status](https://coveralls.io/repos/github/francipvb/py-optional/badge.svg?branch=main)](https://coveralls.io/github/francipvb/py-optional?branch=main)

## Getting started

See [Documentation](https://francipvb.github.io/py-optional/) for details.

## Features

- Poetry (virtual environment and publish to PyPi, all with one tool)
- black (linting/formatter)
- autoflake (removing unused packages)
- isort (dependency organization)
- mypy (static type checking)
- pytest (including test coverage)
- [pre-commit](https://pre-commit.com/) (hooks on commit)
- GitHub Actions for CI/CD
- mkdocs for documentation (with material theme)

## Installing py-optional

Install the latest release:

```bash
pip install py-optional
```

Or you can clone `py-optional` and get started locally

```bash

# ensure you have Poetry installed
pip install --user poetry

# install all dependencies (including dev)
poetry install

# develop!

```

## Example Usage

```python
import py-optional

# do stuff
```

Only **Python 3.8+** is supported as required by the black, pydantic packages

## Publishing to Pypi

### Poetry's documentation

Note that it is recommended to use [API tokens](https://pypi.org/help/#apitoken) when uploading packages to PyPI.

> Once you have created a new token, you can tell Poetry to use it:

<https://python-poetry.org/docs/repositories/#configuring-credentials>

We do this using GitHub Actions' Workflows and Repository Secrets!

### Repo Secrets

Go to your repo settings and add a `PYPI_TOKEN` environment variable:

![Github Actions setup of Poetry token environment variable](images/Github-Secrets-PYPI_TOKEN-Setup.png)

### Inspect the GitHub Actions Publish Workflows

```yml
name: Publish

on:
  release:
    types:
      - created

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      ...
      ...
      ...
      - name: Publish
        env:
          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
        run: |
          poetry config pypi-token.pypi $PYPI_TOKEN
          bash scripts/publish.sh
```

> That's it!

When you make a release on GitHub, the publish workflow will run and deploy to PyPi! 🚀🎉😎

## Contributing Guide

Welcome! 😊👋

> Please see the [Contributing Guide](https://github.com/francipvb/py-optional/CONTRIBUTING.md).