semvec/pypi-packages huggingface dataset:
zyte-spider-templates 0.12.0
Spider templates for automatic crawlers.

=====================
zyte-spider-templates
=====================

.. image:: https://img.shields.io/pypi/v/zyte-spider-templates.svg
   :target: https://pypi.python.org/pypi/zyte-spider-templates
   :alt: PyPI Version

.. image:: https://img.shields.io/pypi/pyversions/zyte-spider-templates.svg
   :target: https://pypi.python.org/pypi/zyte-spider-templates
   :alt: Supported Python Versions

.. image:: https://github.com/zytedata/zyte-spider-templates/actions/workflows/test.yml/badge.svg
   :target: https://github.com/zytedata/zyte-spider-templates/actions/workflows/test.yml
   :alt: Automated tests

.. image:: https://codecov.io/github/zytedata/zyte-spider-templates/coverage.svg?branch=main
   :target: https://codecov.io/gh/zytedata/zyte-spider-templates
   :alt: Coverage report


.. description starts

Spider templates for automatic crawlers.

This library contains Scrapy_ spider templates. They can be used out of the box
with the Zyte features such as `Zyte API`_ or modified to be used standalone.
There is a `sample Scrapy project`_ for this library that you can use as a
starting point for your own projects.

.. _Scrapy: https://docs.scrapy.org/
.. _Zyte API: https://docs.zyte.com/zyte-api/get-started.html
.. _sample Scrapy project: https://github.com/zytedata/zyte-spider-templates-project

.. description ends

* Documentation: https://zyte-spider-templates.readthedocs.io/en/latest/
* License: BSD 3-clause
codemie-sdk-python-az 0.1000.14
CodeMie SDK for Python
Requires Python: <4.0,>=3.12

# CodeMie Python SDK

Python SDK for CodeMie services


## Installation

```sh
pip install codemie-sdk
```

## Usage

### Basic usage

```python
from codemie_sdk import CodeMieClient

# Initialize client with authentication parameters
client = CodeMieClient(
    auth_server_url="https://keycloak.example.com",
    auth_client_id="your-client-id",
    auth_client_secret="your-client-secret",
    auth_realm_name="your-realm",
    codemie_api_domain="https://codemie-preview.lab.epam.com/code-assistant-api"
)

# Create a new workflow
workflow = client.workflow.create('project-id', 'workflow-name', {'param': 'value'}, token=client.token)

# Execute tool
tool_result = client.tool.execute(
    tool_name='my-tool',
    project='project-id',
    tool_args={'param': 'value'},
    token=client.token
)
```

### Tool Operations

```python
# List available tools
tools = client.tool.list(token=client.token)

# Get tool schema
schema = client.tool.schema('tool-name', token=client.token)

# Execute tool with optional parameters
result = client.tool.execute(
    tool_name='my-tool',
    project='project-id',
    tool_args={'param': 'value'},
    token=client.token,
    llm_model='gpt-4',  # optional
    tool_attributes={'attr': 'value'},  # optional
    tool_creds={'cred': 'secret'},  # optional
    datasource_id='ds-123',  # optional
    params={'retry_count': 3}  # optional
)
```

### Workflow Operations

```python
# Create workflow
workflow = client.workflow.create('project-id', 'workflow-name', {'param': 'value'}, token=client.token)

# Get workflow status
status = client.workflow.status('workflow-id', token=client.token)

# List workflows
workflows = client.workflow.list('project-id', token=client.token)

# Get workflow result
result = client.workflow.result('workflow-id', token=client.token)
```

## Development

### Setup

1. Create and activate virtual environment:
```sh
python -m venv venv
source venv/bin/activate  # Linux/MacOS
venv\Scripts\activate     # Windows
```

2. Install dependencies:
```sh
pip install -r requirements.txt
```

### Running Tests

```sh
make test
```

### Building Package

```sh
make build
```
pastamarkers 1.0.2
astrophysical data visualization with pasta-like markers
Requires Python: <4.0,>=3.10

# pastamarkers
This is the amazing **pasta marker project**, which allows you to use the famous italian pasta types as matplotlib markers.

<img src="https://raw.githubusercontent.com/LR-inaf/pasta-marker/nic/source/pastamarkers_logo.svg" alt="pastamarkers logo" width="100%">



## Installation
The code can be quikly installed from Pypi:
```
pip install pastamarkers
```

## Usage
Import the necessary modules:
```
import matplotlib.pyplot as plt
from pastamarkers import pasta, salsa
```
Then, you can directly pass the desired pasta (i.e. marker) and salsa (i.e. colormaps) to the matplotlib argument:
```
plt.scatter(x, y, marker=pasta.penne, c=z, cmap=salsa.pesto, s=500, linewidth=0.2)
```
Note: play with `size` and `linewidth` parameters for a perfect pasta marker!

You can also top your pastaplot with parmesan chees by adding ```_p``` to your colormaps.
Alternatively, you may use the function ```add_parmesan``` to _sprinkle_ a bit of chees on your pastamarkers

```
from pastamarkers import cupboard

fig, ax = plt.subplots(1,1)
ax.scatter(x, y, s=500, c=z, marker=pasta.tagliatelle, cmap=salsa.ragu, linewidth=0.2)
cupboard.add_parmesan(ax, amount = 10000)
```

Below you can see the supported data types. Please open an Issue if you would like new pasta types to be included!

## Examples
See also the `\test` folder for working examples.




## Citation

If you find this code useful in your research, please cite the following paper ([ADS](https://ui.adsabs.harvard.edu/abs/2024arXiv240320314P), [arXiv](https://arxiv.org/abs/2403.20314)):

    @ARTICLE{2024arXiv240320314P,
           author = {{PASTA Collaboration}},
            title = "{pastamarkers: astrophysical data visualization with pasta-like markers}",
          journal = {arXiv e-prints},
         keywords = {Astrophysics - Instrumentation and Methods for Astrophysics},
             year = 2024,
            month = mar,
              eid = {arXiv:2403.20314},
            pages = {arXiv:2403.20314},
              doi = {10.48550/arXiv.2403.20314},
    archivePrefix = {arXiv},
           eprint = {2403.20314},
     primaryClass = {astro-ph.IM},
           adsurl = {https://ui.adsabs.harvard.edu/abs/2024arXiv240320314P},
          adsnote = {Provided by the SAO/NASA Astrophysics Data System}
    }


## Currently supported pasta types

<img src="https://raw.githubusercontent.com/LR-inaf/pasta-marker/main/source/markers.svg" alt="CHIMERA" width=500px>