Skip to content

Commit

Permalink
Merge pull request #10 from kayvane1/update-documentation-with-pip-de…
Browse files Browse the repository at this point in the history
…tails

feat: add pypi
  • Loading branch information
kayvane1 committed Dec 4, 2023
2 parents dc97be1 + e564421 commit d523413
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Notes:
- This repo is under active development and is not yet ready for production use.
- Pypi is currently not accepting new registrations, so this package is not yet available on Pypi. Once Pypi is accepting new registrations, this package will be available on Pypi.

## Installation
To get started, install the package using pip:

```bash
pip install brave-search
```

## Usage

The module supports both synchronous and asynchronous requests. Your Brave API key can either be passed as an environment variable under `BRAVE_API_KEY` or as an argument to the Brave class.
Expand Down Expand Up @@ -137,7 +144,7 @@ num_results = 10
search_results = brave.search(q=query, goggles_id=thought_leadership, count=num_results)
```

## Installation
## Local Installation

This package uses Poetry for dependency management. To start developing here, you need to install Poetry

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.poetry]
name = "brave"
name = "brave-search"
version = "0.1.0"
description = "Brave Search API wrapper"
authors = ["Kayvane Shakerifar"]
Expand Down

0 comments on commit d523413

Please sign in to comment.