semvec/pypi-packages huggingface dataset:
custom-mpl 0.0.2
A small package of custom matplotlib style sheets
Requires Python: >=3.7

# <b>Custom Matplotlib Stylesheets</b>
This repository contains a collection of custom stylesheets for Matplotlib, a powerful visualization library in Python.

The stylesheets in this repository are designed to provide a consistent and professional look to your Matplotlib visualizations. Each stylesheet is optimized for a different use case, so you can choose the one that best fits your needs.

## <b>Stylesheets</b>
<br>
Here are the stylesheets currently included in this repository:

* `powerbi.mplstyle`: This style is optimized for use with Power BI visualizations, and contains colors related to Shell company colors.
* `powerbi_dark.mplstyle`: This style is optimized for use with Power BI visualizations with a dark background, and also contains colors related to Shell company colors.

## <b>How to Use</b>
<br>
To use either of these stylesheets, copy them into your working directory or a directory in your Matplotlib style path. You can then use the plt.style.use() function to apply the style to your plots.

For example, to use the `powerbi.mplstyle` stylesheet, you would use the following code:

```python
import custom_mpl
import matplotlib.pyplot as plt

plt.style.use('custom_mpl.powerbi')
```
To use the `powerbi_dark.mplstyle` stylesheet, you would use the following code:

```python
import custom_mpl
import matplotlib.pyplot as plt

plt.style.use('custom_mpl.powerbi_dark')
```

## <b>Contributing</b>
Contributions to this repository are welcome. If you have a new style to add or an improvement to an existing style, please feel free to submit a pull request.

Please ensure that your style follows the same format as the existing stylesheets and that it has a descriptive name that accurately reflects its use case.

## <b>License</b>
This repository is licensed under the MIT License.
django-edge 0.0.2
A package that helps you setup django so that you can focus on the important things.
Requires Python: >=3.6

# THE DJANGO EDGE
THIS PACKAGE WOULD HELP TO SHORTEN THE TIME IN CREATING A SIMPLE DJANGO APP USING AUTOMATION.

 - In your link tags.
	It would change this element from 
 `<link href="css/flaticon.css"  rel="stylesheet"/>`    
			    to
   ` <link href="{% static 'css/flaticon.css' %}"  rel="stylesheet"/>`
   
 - In your script tags.
	It would change this element from 
	`<script  src="js/main.js">
</script>`
	to
	`<script  src="{% static 'js/main.js' %}">
</script>`

 - In your hyperlink tags.
		 It would change this element from 
		 `<a href="/plans">Plans</a>`
			 to
			 `<a href="plans.html">Plans</a>`
	

 - In your image tags.
	It would change this element from 
	 `<img  alt="image"  src="shape/shape16.png"/>`
	 to
	 `<img  alt="image"  src="{% static 'shape/shape16.png' %}"/>`

It also automates the creation of the views.py and urls.py
pydependabot 0.8
A python library to query and manage github's dependabot alerts
Keywords: python,Dependabot,github,security,open source security,pyDependabot,pydependabot,py-dependabot

# pyDependabot
The unofficial but well maintained python library to interact with github's Dependabot api.
pydependabot allows developers to work with github's vulnerablity alerts without handling graphql or rest api, just by using python.

## installation 
Pip is the easiest way to install pydependabot.
```
python -m pip install pydependabot
```

after a short installation process the package will be avaiable for usage.
if you encounter any problem during installation, please open an issue and we will help.

## Usage examples
Please note that in order to use the package the token you authenticate with must have security alerts permissions.

To simply query your current Dependabot alerts list - 

```python

import Dependabot from pydependabot 

d = Dependabot(graphql_endpoint="https://api.github.com/graphql", auth_token="TOKEN")
dependabot_alerts = d.get_security_alerts(repository_owner='or-elias',repository_name='pyDependabot')

print(dependabot_alerts)
```

If you need to query different fields you can specify that on the get_security_alerts function call.
All of the possible fields are listed on the repository_vulnerablity_alert_query.py file
```python

import Dependabot from pydependabot 
from pydependabot.repository_vulnerablity_alert_query import RepositoryVulnerablityAlertQuery

d = Dependabot(graphql_endpoint="https://api.github.com/graphql", auth_token="TOKEN")
dependabot_alerts = d.get_security_alerts(repository_owner='or-elias',repository_name='pyDependabot', fields=[RepositoryVulnerablityAlertQuery.dismissCommentField])

print(dependabot_alerts)
```


pydependabot uses a gql client to ineract with the graphql endpoint and it automatically selects RequestsHTTPTransport as the client's transport method.
if needed, you can manully overwrite that and provide your own gql client for the library to use, you can do that by using the options argument.

```python

import Dependabot from pydependabot 

client = ADifferentGQLClient()
dependabot_alerts = Dependabot("https://api.github.com/graphql", "TOKEN", options={'client': client}).get_security_alerts('fake-org', 'fake-repo')
print(dependabot_alerts)

```
tree-sitter-types 0.0.2
Generate typed Python bindings for tree-sitter parsers

# 🔧 python-tree-sitter-types
[![Package Version](https://img.shields.io/pypi/v/tree-sitter-types)](https://pypi.org/project/tree-sitter-types/)

This repository contains a python typed interface generation tool for tree-sitter grammars.


## Installation
Installation is simple with pip:
```bash
pip install tree-sitter-types
```

## Usage
This library provides two functions.

As a CLI you can use it to generate the types for your tree-sitter grammar:
```bash
python-tree-sitter-types node-types.json your_language_types.py
```

You can then package these and distribute them on pypi, following tree-sitters naming standard `tree-sitter-yourlang`.

As a library it provides the functions to install tree-sitter parsers and to load them into python.


## Why is this useful?

Tree-sitter is a great library for parsing source code. It is fast, easy to use and has a lot of great features. 
However, it is written in C and does not provide a typed interface for python. This makes writing tools on top of it a bit cumbersome.

With this library you'll be able to use pythons types for your advantage, leveraging autocompletion for fast coding,
types for correctness, and nice features like matching.
tree-sitter-cairo 0.0.2
A tree-sitter based typed parser for the cairo language

# tree-sitter-cairo

This is an automatically generated python package using [python-tree-sitter-types](https://github.com/JoranHonig/python-tree-sitter-types).

It provides nice typed bindings for the tree-sitter raw parser.

### Installation

```bash
pip install tree-sitter-cairo
```

### Example

```python

from tree_sitter_cairo import load_language, parse_node
from tree_sitter import Parser

language = load_language('tree-sitter-cairo', 'cairo')

parser = Parser()
parser.set_language(language)

tree = parser.parse(bytes("<some cairo code>", "utf-8"))

typed_tree = parse_node(tree.root_node)

# Your cool clean code:
```