<commit_before># transformation
Django app to transform input sources to RDF


## Installation
* Clone the repository into your existing Django project:
```shell
  git clone https://github.com/LinDA-tools/transformation.git
```
* Import the app settings.py file into your project settings.py:
```shell
  from transformation.config.settings import *
```
* Add the app url patterns to your project urls.py:
```shell
  url(r'^transformation/', include('transformation.urls'))
```
* Add the app requirements.txt to your project requirements.txt:
```shell
  transformation/requirements.txt
```<commit_msg>added information for python3 mysql-connection<commit_after># transformation
Django app to transform input sources to RDF


## Installation
* Clone the repository into your existing Django project:
```shell
  git clone https://github.com/LinDA-tools/transformation.git
```
* Import the app settings.py file into your project settings.py:
```shell
  from transformation.config.settings import *
```
* Add the app url patterns to your project urls.py:
```shell
  url(r'^transformation/', include('transformation.urls'))
```
* Install MySQL database connector for Python 3 (https://github.com/PyMySQL/mysqlclient-python)
```shell
  sudo apt-get install python3-dev libmysqlclient-dev
  pip install mysqlclient
```
* Add the app requirements.txt to your project requirements.txt:
```shell
  transformation/requirements.txt
```
{'fraction_non_alphanumeric': 0.10970464135021098, 'fraction_numerical': 0.002109704641350211, 'mean_word_length': 5.241228070175438, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '6899228', 'n_tokens_mistral': 404, 'n_tokens_neox': 379, 'n_words': 137}