<commit_before>= Devpi Resource

A [Concourse CI](http://concourse.ci) resource to track packages from the [devpi](http://doc.devpi.net/latest/) server.

== Source Configuration

* `uri`: *Required*. The base URI of the devpi server.
* `index`: *Required*. The package index in the form `user/name`.
* `package`: *Required*. The pacakge to track.
* `username`: *Optional*. The username for logging in (Required for `out`)
* `password`: *Optional*. The password for logging in (Required for `out`)

=== Example

Resource configuration:

``` yaml
resources:
- name: my-package
  type: devpi
  source:
    uri: http://pypi.host.tld:9090
    index: foo/dev
    username: user
    password: <PASSWORD>
```

Fetching a package:

``` yaml
- get: my-package
```

Pushing a local pacakge to the server:

``` yaml
- put: my-package
  params: {fileglob: "*.whl"}
```

## Behavior

### `check`: Check for new versions<commit_msg>Fix README markup<commit_after># Devpi Resource

A [Concourse CI](http://concourse.ci) resource to track packages from the [devpi](http://doc.devpi.net/latest/) server.

## Source Configuration

* `uri`: *Required*. The base URI of the devpi server.
* `index`: *Required*. The package index in the form `user/name`.
* `package`: *Required*. The pacakge to track.
* `username`: *Optional*. The username for logging in (Required for `out`)
* `password`: *Optional*. The password for logging in (Required for `out`)

### Example

Resource configuration:

``` yaml
resources:
- name: my-package
  type: devpi
  source:
    uri: http://pypi.host.tld:9090
    index: foo/dev
    username: user
    password: <PASSWORD>
```

Fetching a package:

``` yaml
- get: my-package
```

Pushing a local pacakge to the server:

``` yaml
- put: my-package
  params: {fileglob: "*.whl"}
```

## Behavior

### `check`: Check for new versions
{'fraction_non_alphanumeric': 0.15233949945593037, 'fraction_numerical': 0.004352557127312296, 'mean_word_length': 3.93029490616622, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2508530', 'n_tokens_mistral': 622, 'n_tokens_neox': 582, 'n_words': 207}