Unofficial Python package designed to interact with the Shovels API
Project description
pyshovels
pyshovels is the unofficial Python package designed to interact with the Shovels API. 📦
Table of Contents 📖
Getting Started 🚀
To get a local copy up and running follow these simple steps.
Prerequisites ✅
- Python 3.9 or higher (as specified in
pyproject.toml) - A Shovels API key
Installation ⬇️
For users:
- Install using poetry (recommended) or pip:
poetry add pyshovels
orpip install pyshovels
For contributors:
- Fork and clone the repo and install in editable mode:
git clone https://github.com/<your-username>/pyshovels.git cd pyshovels
thenpoetry installorpip install -e .
Setting your API key:
- Set your Shovels API key as an environment variable:
- Add your Shovels API key to a
.envfile - look at the .env.example file for an example - Or set it as an environment variable directly
export SHOVELS_API_KEY="your-api-key"
- Then, load the environment variables using the
load_envfunction:from pyshovels import load_env, ShovelsAPI load_env(env_path="./path/to/.env") shovels = ShovelsAPI()
- Add your Shovels API key to a
- Or pass the API key as an argument to the
ShovelsAPIclass:from pyshovels import ShovelsAPI shovels = ShovelsAPI(api_key="your-api-key")
⚠️ Note: If passing the API key as an argument, be careful not to accidentally share it with others.
Usage 📚
Look at the examples folder for usage examples.
For more detailed examples on how to use the Shovels API, please refer to the official documentation.
Contributing 🙏
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a ⭐️! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License 📄
Distributed under the MIT License. See LICENSE file for more information.
Contact 📧
GitHub: nicolasakf
Email: nicolasakfonteyne@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyshovels-0.0.1.tar.gz.
File metadata
- Download URL: pyshovels-0.0.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ec6ce35003ea99647c6b9c559d9bdc58fea5418155e2270133deb5576da17fc
|
|
| MD5 |
dfe6143d159af12fbec754ef32d7d230
|
|
| BLAKE2b-256 |
ecd710d19ad0e2f0585c5589ddb9864e5527e0ed7fb6aa563c55d84c9c84af33
|
File details
Details for the file pyshovels-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pyshovels-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
350e36f018a6144c5d24fa32a6c6b4c76192efea69796bb178c02b3f488bfebe
|
|
| MD5 |
3762ddbd134014eae132584b18cc2ef8
|
|
| BLAKE2b-256 |
c0c7f7c1fa0b1c073e7117257ca384de57910dc8107797cfa79cced68afee840
|