open-index/open-npm huggingface dataset:
npm package: @mappandas/yelapa
Description: SLoML parser
Author: viet nguyen
Latest version: 0.0.18

[![Build Status](https://travis-ci.org/vnugent/yelapa.svg?branch=master)](https://travis-ci.org/vnugent/yelapa)
# Yelapa
Yelapa is a parser for Simple Location Markdown Language (SloML).  The library can be used to turn human-readable list of addresses, point of interests or countries into Geojson data.

Note: Mapbox API key is required

# How it works
SloML (pronounced `slow-mel`) has the following convention
```
This is a short description  
--
Location one
--
location two
--
some address

```
- Separate each entry by two dashes (--)
- Yelapa will perform geocoding look up (using Mapbox) to find GPS coordinates for each entry

Real example:

```
My travels in 2018
--
Berlin
--
Bondi beach
--
Valencia spain
```
Output
```
{
 "type": "FeatureCollection",
 "properties": {
    "description": "My travels in 2018"
  },
 "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          13.38333,
          52.51667
        ]
      },
      "properties":{"short_code":"DE-BE","wikidata":"Q64"}
    },
    {
     "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          151.273856,
          -33.890896
        ]
      },
      "properties":{"wikidata":"Q673418"}
    },
    {
     "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -0.375,
          39.46667
        ]
      },
      "properties":{"wikidata":"Q8818"}
    }
  ]
}
```

# Usage

```
# npm install @mappandas/yalepa
```

Yelapa.parse(raw_input, onData(ast, featureCollection) , onError(error));

```
import Yelapa from "@mappandas/yelapa";

...

    const geocoder = new Yelapa(
      "mapbox API key"
    );
  
  const input =¨"My travels in 2018\n--\nberlin\--\ntokyo";
   geocoder.parse(
      input,
      (ast: any, fc: FeatureCollection) => {
         // ast: syntax tree data
         // fc: featurecollection
      },
      (e:any) => {
       // handle error
      }
    );
```
npm package: @mapped/pulumi-astra
Description: A Pulumi package for creating and managing astra cloud resources.
Latest version: 1.0.19

# Foo Resource Provider

This provider lets you manage [Datastax Astra](https://astra.datastax.com/) resources.

## Installing

This package is available for several languages/platforms:

### Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either `npm`:

```bash
npm install @mapped/pulumi-astra
```

or `yarn`:

```bash
yarn add @mapped/pulumi-astra
```

### Python

*TBD: Will be available after we migrate into official pulumi registry*

### Go

To use from Go, use `go get` to grab the latest version of the library:

```bash
go get github.com/mapped/pulumi-astra/sdk/go/...
```

### .NET

*TBD: Will be available after we migrate into official pulumi registry*

## Configuration

The following configuration points are available for the `astra` provider:

- `astra:token` - the API key to make changes in astra org. Please make sure that you grant it enough permissions for operations that you are going to perform. To create a token go into **organisation settings** -> **Token management**, select your role (I use **Administrator User** for full access) and press **Generate token**

## Reference

For detailed reference documentation, please visit [the Pulumi registry (*TBD: Will be available after we migrate into official pulumi registry*)](https://www.pulumi.com/registry/packages/astra/api-docs/).