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 (recommended):
- 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") # not necessary if you set the API key as an environment variable directly 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
Metadata
Release files for pyshovels 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyshovels-0.0.2.tar.gz | 9.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyshovels-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / pyshovels-0.0.2.tar.gz
| Download URL | pyshovels-0.0.2.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65c45564ecde049fdcf4c12ff14e0beaec113c1d151d8864d28ed578b4f247e0
|
|
BLAKE2b-256 checksum How to use checksums |
d0e0773424ad79c1817c7fa7c7a2f545e416c64e5550d42608d9f565595d37b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.13.3 Darwin/24.3.0
|
Release files / pyshovels-0.0.2-py3-none-any.whl
| Download URL | pyshovels-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e079170b12d770e7f2f0c3a1ee4f55d2e7c073249c3fe631ad0f308bb876490a
|
|
BLAKE2b-256 checksum How to use checksums |
0c0f71e11467526774324f19f20d13fdfb8e426c1676a9d3b9141840c440eeed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.13.3 Darwin/24.3.0
|