<commit_before># -*- coding: utf-8 -*-
# Author:	t0pep0
# e-mail:	<EMAIL>
# Jabber:	<EMAIL>
# BTC   :	1ipEA2fcVyjiUnBqUx7PVy5efktz2hucb
# donate free =)
import hmac
import hashlib
import time
import urllib
from   urllib import request
from urllib.parse import urlencode
import json
import requests



class API(object):
    __username = ''
    __api_key = ''
    __api_secret = ''
    __nonce_v = ''

    # Init class
    def __init__(self, username, api_key, api_secret):
        self.__username = username
        self.__api_key = api_key
        self.__api_secret = api_secret

    # get timestamp as nonce
    def __nonce(self):
        self.__nonce_v = '{:.10f}'.format(time.time() * 1000).split('.')[0]

    # generate segnature
    def __signature(self):
        string = self.__nonce_v + self.__username + self.__api_key  # create string
        signature = hmac.new(bytes(self.__api_secret, 'latin-1'), bytes(string, 'latin-1'),<commit_msg>implemented converter api call from cex.io<commit_after># -*- coding: utf-8 -*-
# Original Author:	t0pep0
# e-mail:	<EMAIL>
# added some modifications me
import hmac
import hashlib
import time
import urllib
from   urllib import request
from urllib.parse import urlencode
import json
import requests



class API(object):
    __username = ''
    __api_key = ''
    __api_secret = ''
    __nonce_v = ''

    # Init class
    def __init__(self, username, api_key, api_secret):
        self.__username = username
        self.__api_key = api_key
        self.__api_secret = api_secret

    # get timestamp as nonce
    def __nonce(self):
        self.__nonce_v = '{:.10f}'.format(time.time() * 1000).split('.')[0]

    # generate segnature
    def __signature(self):
        string = self.__nonce_v + self.__username + self.__api_key  # create string
        signature = hmac.new(bytes(self.__api_secret, 'latin-1'), bytes(string, 'latin-1'),
{'fraction_non_alphanumeric': 0.11605723370429252, 'fraction_numerical': 0.015368309485956544, 'mean_word_length': 3.158590308370044, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '4766285', 'n_tokens_mistral': 662, 'n_tokens_neox': 635, 'n_words': 155}