pastebin_rust_api 0.5.12

Library for posting content to pastebin.com
Documentation
1
2
3
4
5
6
7
8
9
# Source of values.txt: 'https://pastebin.com/api/'
# I handled the output myself to get a Rust compatible Enum

with open('values.txt', 'r') as myfile:
    data = myfile.read()
    data = data.split("\n")
    for d in data:
        result = d.split(" = ")
        print(result[1] + ",")