<commit_before># Environment

[![Latest Release](https://img.shields.io/github/release/czechboy0/environment.svg)](https://github.com/czechboy0/environment/releases/latest)
![Platforms](https://img.shields.io/badge/platforms-Linux%20%7C%20OS%20X%20%7C%20iOS%20%7C%20tvOS%20%7C%20watchOS-blue.svg)
![Package Managers](https://img.shields.io/badge/package%20managers-swiftpm-yellow.svg)

[![Blog](https://img.shields.io/badge/blog-honzadvorsky.com-green.svg)](http://honzadvorsky.com)
[![Twitter Czechboy0](https://img.shields.io/badge/twitter-czechboy0-green.svg)](http://twitter.com/czechboy0)

> Easy access to environment variables from Swift. Linux & OS X ready.

# Installation

## Swift Package Manager

```swift
.Package(url: "https://github.com/czechboy0/Environment.git", majorVersion: 0)
```

# Usage
Easily get, set and remove environment variables.

```swift
Environment().getVar("PATH") //Optional("/Users/honzadvorsky/")
Environment().setVar("TEST_RESULT", value: "1")
Environment().removeVar("TEST_RESULT")
```

:gift_heart: Contributing
------------
Please create an issue with a description of your problem or open a pull request with a fix.

:v: License
-------
MIT

:alien: Author
------
<NAME> - http://honzadvorsky.com, [@czechboy0](http://twitter.com/czechboy0)
<commit_msg>added cocoapods support<commit_after># Environment

[![Latest Release](https://img.shields.io/github/release/czechboy0/environment.svg)](https://github.com/czechboy0/environment/releases/latest)
![Platforms](https://img.shields.io/badge/platforms-Linux%20%7C%20OS%20X%20%7C%20iOS%20%7C%20tvOS%20%7C%20watchOS-blue.svg)
![Package Managers](https://img.shields.io/badge/package%20managers-swiftpm%20%7C%20CocoaPods-yellow.svg)

[![Blog](https://img.shields.io/badge/blog-honzadvorsky.com-green.svg)](http://honzadvorsky.com)
[![Twitter Czechboy0](https://img.shields.io/badge/twitter-czechboy0-green.svg)](http://twitter.com/czechboy0)

> Easy access to environment variables from Swift. Linux & OS X ready.

# Installation

## Swift Package Manager

```swift
.Package(url: "https://github.com/czechboy0/Environment.git", majorVersion: 0)
```

# Usage
Easily get, set and remove environment variables.

```swift
Environment().getVar("PATH") //Optional("/Users/honzadvorsky/")
Environment().setVar("TEST_RESULT", value: "1")
Environment().removeVar("TEST_RESULT")
```

:gift_heart: Contributing
------------
Please create an issue with a description of your problem or open a pull request with a fix.

:v: License
-------
MIT

:alien: Author
------
<NAME> - http://honzadvorsky.com, [@czechboy0](http://twitter.com/czechboy0)

{'fraction_non_alphanumeric': 0.18754774637127578, 'fraction_numerical': 0.027883880825057297, 'mean_word_length': 5.280575539568345, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 14, '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': '6042483', 'n_tokens_mistral': 989, 'n_tokens_neox': 913, 'n_words': 148}