semvec/pypi-packages huggingface dataset:
APIKL 1.2
This module allows you to find API keys and passwords in your project.
Requires Python: >=3.12.2
Keywords: API keys APIkeys locate detect passwords

# API Key Locator (APIKL) #

## What is this? ##
This module allows you to find API keys and passwords in your project. \
In short, it uses regular expressions to find suspicious strings and ShannonвЂ™s entropy prove that they are API keys.\
This module successfully finds not only API keys but also passwords.\
It doesn't use any web services so your API keys are in safe, you may check all the code in my GitHub. 

## Quick Guide ##
The module is based on the following structure:

    files = ['...']
    probability = 6
    locator = APIKL(files, probability)
    locator.find_keys()

***files*** is for files you want to check *(blank to check the current folder)*\
***probability*** defines level of keys to show *(from 1 to 10, 5 is default)*

----------


### Using ###

Using the library is as simple and convenient as possible:

First, import everything from the library (use the `from `...` import *` construct).

Examples of all operations:

Finding keys in *files_to_check*  `find_keys(files_to_check: list)` \
If *files_to_check* is blank, it will check for keys in _locator.files_to_check_ which is defined in constructor

    files = ['path/to/file1', 'path/to/file2']
    locator.find_keys(files)



----------
## Troubleshooting ##
This module doesn't pose much of a problem since it's quite simple. But there's one issue that cannot be fixed.

    APIKL(['C:\Users\User\Desktop\database.xml'], 6).find_keys()

You may get `SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: 
truncated \UXXXXXXXX escape`. In this case just place "r" before your path to replace it with raw string.
Example: 

    APIKL([r'C:\Users\User\Desktop\database.xml'], 6).find_keys()





## Developer ##
My site: https://github.com/VitalyKalinsky
getoutline-cli 0.4.2
CLI utility for publishing markdown files to Outline wiki
Requires Python: >=3.6

# GetOutline CLI

**getoutline-cli** is an unofficial command-line interface for publishing markdown files to [Outline](https://getoutline.com/).
The primary goal of this project is to automate the process of publishing markdown files to Outline in CI/CD pipelines.

It allows to publish **CHANGELOG.md**, **README.md**, or any other markdown file to an Outline wiki.

The list of files to publish is defined in the configuration file `.outline-cli.yml`.
Alternatively, you can specify configuration file using `--config` option.

## Installation and usage

```bash
pip install getoutline-cli
```

To publish markdown files to Outline, run the following command:

```bash
getoutline-cli
```

To specify the configuration file, use the `--config` option:

```bash
getoutline-cli --config some_config.yml
```

To preview the changes without publishing, use the `--preview` option:

```bash
getoutline-cli --preview
```

## Environment Variables

- `OUTLINE_API_TOKEN` - Outline API token (required if not specified in the configuration file)
- `OUTLINE_URL` - Outline URL (e.g., `https://wiki.example.com`) (required if not specified in the configuration file)

## Configuration file

The configuration file is a YAML file containing the following fields:

- `token` - Outline API token (required if not specified in the environment variables)
- `url` - Outline URL (e.g., `https://wiki.example.com`) (required if not specified in the environment variables)
- `files` - List of files to publish (required)

The `files` field is a list of dictionaries with the following fields:

- `path` - Name or path to the markdown file (required)
- `id` - Outline document ID (required)
- `title` - Title of the document in Outline (optional)
- `append` - Append content to the existing document (optional, default is `False`)
- `publish` - Publish the document after updating (optional, default is `True`)
- `substitutions` - List of substitutions to apply to the content (optional)

The `substitutions` field is a list of dictionaries `regex: replacement value`,
applied to the content of the markdown file before publishing.

### Example Configuration File

```yaml
url: https://wiki.example.com
token: YOUR_OUTLINE_API_TOKEN
files:
  - path: CHANGELOG.md
    id: YOUR_ID_1
    substitutions:
      # Remove links to git commits
      - " ?\\(\\[[a-z0-9]+\\]\\(https://git\\.example\\.com/.+\\)\\)": ""
      # Remove commits without JIRA issues (DEV-XXXX)
      - "^\\* (?!.*\\(DEV-\\d+\\)).*$\\n": ""
      # Remove empty sections
      -  "### .+\\n+": ""
  - path: README.md
    id: YOUR_ID_2
    title: README
    append: false
    publish: true
```

## Authors

- Alexander Pivovarov

## License

License under the MIT License.
pythonGraphicalManipulator 0.1.0
A python library for graphical image manipulation
Requires Python: >=3.6

pythonGraphicalManipulator
==========================

**pythonGraphicalManipulator** is a Python library designed for advanced image manipulation using pixel grids. It offers functions for resizing, cropping, color adjustments, and creative effects such as black-and-white conversion, color isolation, and brightness control. This library is ideal for developers working with custom image processing workflows.

Features
--------

*   **Image Manipulation**
    
    *   Resize and crop images.
        
    *   Flip images horizontally or vertically.
        
*   **Color Transformations**
    
    *   Convert images to black and white.
        
    *   Isolate or remove specific colors.
        
    *   Replace specific colors with new ones.
        
*   **Adjustments**
    
    *   Brightness, shadow intensity, and black point adjustments.
        
    *   Warmth and fade effects for aesthetic modifications.
        
*   **I/O Operations**
    
    *   Convert images to pixel grids and vice versa.
        
    *   Export pixel grids to text files for external processing.


## Installation

Install the library using `pip`:
`pip install pythonGraphicalManipulator`


Quick Start
-----------

Here’s how to get started with `pythonGraphicalManipulator`:

#### 1\. Convert an image to a pixel grid:

`from pythonGraphicalManipulator import imageToPixelGrid`
`pixelGrid = imageToPixelGrid("example.jpg")`

#### 2\. Apply a transformation:

`from pythonGraphicalManipulator import bnw`
`bnwGrid = bnw(pixelGrid)`

#### 3\. Convert back to an image:

`from pythonGraphicalManipulator import pixelGridToImage`
`pixelGridToImage(bnwGrid, "output.jpg")`

Available Methods
-----------------

### **Image Manipulation**

*   `imageToPixelGrid(imagePath, outputToTextFile=False, textFile=None)`
    
*   `pixelGridToImage(pixelGrid, outputImagePath)`
    
*   `resizeImage(pixelGrid, length, width)`
    
*   `cropImage(pixelGrid, top, left, right, bottom)`
    
*   `flipHoriz(pixelGrid)`
    
*   `flipVert(pixelGrid)`
    

### **Color Transformations**

*   `bnw(pixelGrid)`
    
*   `singleColorPop(pixelGrid, r, g, b, threshold=50)`
    
*   `singleColorRemove(pixelGrid, r, g, b, threshold=50)`
    
*   `changeColor(pixelGrid, r1, g1, b1, r2, g2, b2, threshold=0)`
    

### **Adjustments**

*   `adjustBrightness(pixelGrid, factor)`
    
*   `adjustShadowIntensity(pixelGrid, factor)`
    
*   `adjustBlackPoint(pixelGrid, level)`
    
*   `adjustWarmth(pixelGrid, factor)`
    

Tests
-----

The tests folder includes unit tests to validate the functionality of the library. To run the tests:
`python -m unittest discover tests`

Contributing
------------

Contributions are welcome! Please fork this repository and submit a pull request for any bug fixes or enhancements.

License
-------

This project is licensed under the MIT License. See the LICENSE file for details.

Author
------

Developed by **Dharyansh Achlas** For any queries, feel free to contact **https://github.com/salchaD-27**