semvec/pypi-packages huggingface dataset:
pybun 1.3.9
Bun is an all-in-one toolkit for JavaScript and TypeScript apps.
License: MIT
Requires Python: ~=3.9

# Pybun

**The bun toolkit, packaged for Python** 🍞 + 🐍 = 🚀


[Bun](https://bun.sh/) is an all-in-one toolkit for JavaScript and TypeScript apps.

The [pybun](https://pypi.org/project/pybun/) Python package redistributes the Bun executable so that it can be used as a dependency in your Python projects.


Usage
-----

### Command line

```shell
pybun --version
```

### Run library module as a script

```shell
python -m pybun --version
```

### From python

```python
import sys, subprocess

subprocess.call([sys.executable, "-m", "pybun"])
```

License
-------

Pybun itself is released under [The Unlicense](https://choosealicense.com/licenses/unlicense/) license.

The bun executable [has its own licence](https://bun.sh/docs/project/licensing).


Credits
-------

Thanks a lot to the [zig-pypi](https://github.com/ziglang/zig-pypi) maintainers: their code heavily helped me to understand how to do the same with Bun!
sdmdata 0.1.2
A library for Species Distribution Modeling data retrieval from GBIF, iNaturalist, and SpeciesLink APIs.
License: MIT
Requires Python: >=3.7


# USAGE.md

## Overview

**sdmdata** is a library designed to facilitate data management and processing for scientific and research applications.

## Getting Started

### Installation

```bash
pip install sdmdata
```

### Basic Usage

```python
import sdmdata

# Example: Download occurrences from GBIF, iNaturalist, and SpeciesLink - INaturalist doesn't require any authentication.
sdmdata.save_specieslink_apikey(apikey)
sdmdata.save_gbif_credentials(user, email, pwd)
species_names = ["Panthera onca", "Lynx rufus"]
df = sdmdata.get_occurrences(
    species_names,
    country="Brazil",
    year_range=(2000, 2020),
)

```
## Functions
- `get_occurrences(species_names, country=None, year_range=None, lat_min=None, lat_max=None, lon_min = None, lon_max = None, 
    includeGbif = True, includeInaturalist = True, includeSpeciesLink = True)`: Fetches occurrence data for the specified species from GBIF, iNaturalist, and SpeciesLink (you can choose the source), with optional filters for country, year range, and latitude bounds.
- `get_species_autocomplete(name)`: Retrieves a list of species suggestions from GBIF based on the provided name.
- `save_gbif_credentials(user, email, pwd)`: Saves GBIF user credentials for authenticated requests.
- `save_specieslink_apikey(apikey)`: Saves the API key for SpeciesLink requests.
- `delete_gbif_credentials()`: Deletes stored GBIF user credentials.
- `delete_specieslink_apikey()`: Deletes the stored SpeciesLink API key.