semvec/pypi-packages huggingface dataset:
mock-gcp 0.2.0
A library that allows to mock out GCP services in unit tests.
Requires Python: <3.14,>=3.9

# mock-gcp | Mock GCP Services

![Python Version](https://img.shields.io/badge/python-3.9+-blue)
![Supported GCS Version](https://img.shields.io/badge/gcs-v2.4.0+-brightgreen)
[![Code style: black](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)

A library that allows to mock out GCP services in unit tests.

## Intro

## List of supported services

| Service Name  | Decorator     | Development status          |
| ------------- | ------------- | --------------------------- |
| Cloud Storage | @mock_storage | basic endpoints implemented |

## Usage

Let's say you have the following function to test.

```python
from google.cloud import storage

def create_bucket_if_doesnt_exist(bucket_name):
    client = storage.Client()

    if client.lookup_bucket(bucket_name) is None:
        return client.create_bucket(bucket_name)
    else:
        return None
```

To test this function with `mock-gcp` use the `@mock_storage` decorator which will mock out all API calls in the background.

```python
from google.cloud import storage
from mockgcp import mock_storage

@mock_storage
def test_create_bucket_if_doesnt_exist_when_bucket_exists():
    client = storage.Client()
    # Firts, need to create a bucket in our virtual Google Cloud project
    client.create_bucket("test-bucket")

    assert create_bucket_if_doesnt_exists("test-bucket") is None
```

## Install

```bash
pip install mock-gcp
```

_Not yet working..._
nenupy 2.8.5
NenuFAR Python package
Requires Python: >=3.8

# **nenupy**

[![nenupy](https://img.shields.io/pypi/v/nenupy.svg)](
    https://pypi.python.org/pypi/nenupy)
<!--[![PyPI download month](https://img.shields.io/pypi/dm/nenupy.svg)](
    https://pypi.python.org/pypi/nenupy/) -->
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/nenupy.svg)](
    https://pypi.python.org/pypi/nenupy/)
<!--[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3667816.svg)](https://doi.org/10.5281/zenodo.3667816) v0.5.7 -->
[![DOI](https://zenodo.org/badge/150578164.svg)](https://zenodo.org/badge/latestdoi/150578164)
[![Documentation Status](https://img.shields.io/readthedocs/nenupy/latest.svg?logo=read%20the%20docs&logoColor=white&label=Docs&version=stable)](https://nenupy.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/AlanLoh/nenupy/branch/master/graph/badge.svg)](https://codecov.io/gh/AlanLoh/nenupy)
![Python package](https://github.com/AlanLoh/nenupy/workflows/Python%20package/badge.svg)
[![astropy](http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat)](http://www.astropy.org/)

<!-- ![Alt text](./Logo-NenuFAR-noir.svg) -->
<p align="center">
<img src="./Logo-NenuFAR-noir.svg" width="20%">
</p>

Python3 package for the low-frequency radio telescope NenuFAR.

See [documentation](https://nenupy.readthedocs.io/en/latest/)
goat-sdk-adapter-crewai 0.1.0
Goat adapter for CrewAI
Requires Python: <3.13,>=3.10
Keywords: goat, sdk, web3, agents, ai, crewai

<div align="center">
<a href="https://github.com/goat-sdk/goat">

<img src="https://github.com/user-attachments/assets/5fc7f121-259c-492c-8bca-f15fe7eb830c" alt="GOAT" width="100px" height="auto" style="object-fit: contain;">
</a>
</div>

# CrewAI Adapter for GOAT

Integrate the more than +200 onchain tools of GOAT with [CrewAI](https://github.com/crewAIInc/crewAI), a framework for orchestrating role-playing, autonomous AI agents.

## Installation
```bash
poetry add goat-sdk-adapter-crewai
```

## Usage

See a full working example [here](https://github.com/goat-sdk/goat/tree/main/python/examples/by-framework/crewai).

```python
# --- Setup GOAT Wallet and Plugins (Example: Solana + SPL Token) --- 
import os
from dotenv import load_dotenv
from solders.keypair import Keypair
from solana.rpc.api import Client as SolanaClient
from goat_plugins.spl_token import spl_token, SplTokenPluginOptions
from goat_plugins.spl_token.tokens import SPL_TOKENS
from goat_wallets.solana import solana

load_dotenv()
solana_rpc_endpoint = os.getenv("SOLANA_RPC_ENDPOINT")
solana_wallet_seed = os.getenv("SOLANA_WALLET_SEED")

# Make sure environment variables are set
if not solana_rpc_endpoint or not solana_wallet_seed:
    raise ValueError("SOLANA_RPC_ENDPOINT and SOLANA_WALLET_SEED must be set in .env")

client = SolanaClient(solana_rpc_endpoint)
keypair = Keypair.from_base58_string(solana_wallet_seed)
wallet = solana(client, keypair)

spl_token_plugin = spl_token(SplTokenPluginOptions(
    network="mainnet",
    tokens=SPL_TOKENS
))

# --- Import CrewAI and the GOAT Adapter --- 
from crewai import Agent, Task, Crew, Process
from goat_adapters.crewai.adapter import get_crewai_tools

# --- Generate CrewAI Tools from GOAT --- 
goat_crewai_tools = get_crewai_tools(
    wallet=wallet,
    plugins=[spl_token_plugin]
)

# --- Define CrewAI Agent using GOAT Tools --- 
# Ensure OPENAI_API_KEY is set in the environment for CrewAI's default LLM
if not os.getenv("OPENAI_API_KEY"):
    raise ValueError("OPENAI_API_KEY must be set in .env for CrewAI")

crypto_analyst = Agent(
  role='Solana SPL Token Analyst',
  goal='Provide accurate answers about Solana SPL tokens.',
  backstory='Expert analyst for Solana SPL tokens with on-chain tools.',
  verbose=True,
  tools=goat_crewai_tools # Assign the generated tools
)

# --- Define Task and Crew (as needed) ---
task = Task(
    description='What is the balance of USDC for the wallet?',
    expected_output='The USDC balance of the wallet.',
    agent=crypto_analyst
)

crew = Crew(
    agents=[crypto_analyst],
    tasks=[task],
    process=Process.sequential
)

# --- Kick off the Crew --- 
# Note: Ensure you have enough SOL for potential transaction fees if tools perform actions.
result = crew.kickoff()
print(result)
```

<footer>
<br/>
<br/>
<div>
<a href="https://github.com/goat-sdk/goat">
  <img src="https://github.com/user-attachments/assets/59fa5ddc-9d47-4d41-a51a-64f6798f94bd" alt="GOAT" width="100%" height="auto" style="object-fit: contain; max-width: 800px;">
</a>
<div>
</footer>
anime-info-cli 2.0
A simple CLI application to fetch information such as title, genre, or ranking for any anime.
Requires Python: >=3.7

# Anime Info CLI

A simple CLI application to fetch information such as title, genre, or ranking for any anime.

## Features
✅ Anime Title
✅ Broadcast
✅ Episodes
✅ Anime status
✅ Anime genre
✅ Popularity
✅ Anime rank
✅ Anime Characters


## Video

</details>
<details>
<summary>Video</summary>
https://github.com/user-attachments/assets/4c241fd9-93d8-40f0-9696-188e0bc4cea2
</details>




# Author
- Moritz344