repo_name
stringclasses
8 values
repo_url
stringclasses
8 values
repo_description
stringclasses
6 values
repo_stars
int64
6
15.8k
repo_forks
int64
192
3.6k
repo_last_updated
stringclasses
8 values
repo_created_at
stringclasses
8 values
repo_size
int64
34
2.13k
repo_license
stringclasses
4 values
language
stringclasses
3 values
text
stringlengths
0
6.32M
avg_line_length
float64
0
28.5k
max_line_length
int64
0
945k
alphnanum_fraction
float64
0
0.91
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Misc
�PNG  IHDRO��^�tEXtSoftwareAdobe ImageReadyq�e<PLTE���@H?麨HHIi��HpIr����?Tm0,&�{����<MX��讧� YIE# gZh������q[tW��Ne}����ZeXqxp9;>I=IZ�]eek���`TH���ج����RAVY|�*6,,,��߿��:�Ɋ˔�x���軕�0���/@Q���  ���5G4{�s�����~ƅu�ˏ��{~�sv|��� $6>bib���e�j���pk*|��;95��}���_�c���*�ƻ���ʝ}r������M?:d��T...
314.693878
2,205
0.274921
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Misc
�����        ���L"��� }!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������...
278.341686
2,029
0.262195
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Misc
[loggers] keys=root [handlers] keys=stream_handler [formatters] keys=formatter [logger_root] level=DEBUG handlers=stream_handler [handler_stream_handler] class=StreamHandler level=DEBUG formatter=formatter args=(sys.stderr,) [formatter_formatter] format=%(asctime)s %(name)-12s %(levelname)-8s %(message)s
13.809524
58
0.777419
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
from datetime import datetime, timedelta from airflow import DAG from airflow.operators.dummy_operator import DummyOperator from airflow.operators import LoadDimensionOperator from helpers import SqlQueries def load_dimension_subdag( parent_dag_name, task_id, redshift_conn_id, sql_statement, delet...
23.333333
58
0.657064
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
from datetime import datetime, timedelta import os from airflow import DAG from airflow.operators.dummy_operator import DummyOperator from airflow.operators import ( CreateTableOperator, StageToRedshiftOperator, LoadFactOperator, LoadDimensionOperator, DataQualityOperator) from helpers i...
27.06962
172
0.657871
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
0
0
0
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
import configparser # CONFIG config = configparser.ConfigParser() config.read('dwh.cfg') # DROP TABLES staging_events_table_drop = "DROP TABle IF EXISTS staging_events;" staging_songs_table_drop = "DROP TABLE IF EXISTS staging_songs;" songplay_table_drop = "DROP TABLE IF EXISTS songplays;" user_table_drop = "DROP T...
23.429952
181
0.68038
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
from airflow.hooks.postgres_hook import PostgresHook from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults class CreateTableOperator(BaseOperator): ui_color = '#358140' @apply_defaults def __init__(self, redshift_conn_id = "", *args, **kwargs): super...
26.7
80
0.651807
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
from airflow.hooks.postgres_hook import PostgresHook from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults class DataQualityOperator(BaseOperator): ui_color = '#89DA59' @apply_defaults def __init__(self, redshift_conn_id="", tables =...
36.823529
94
0.595331
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
from airflow.hooks.postgres_hook import PostgresHook from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults class LoadDimensionOperator(BaseOperator): ui_color = '#80BD9E' @apply_defaults def __init__(self, redshift_conn_id="", sql_qu...
36.65625
116
0.622924
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
from airflow.hooks.postgres_hook import PostgresHook from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults class LoadFactOperator(BaseOperator): ui_color = '#F98866' @apply_defaults def __init__(self, redshift_conn_id="", sql_query =...
27.416667
78
0.621145
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
from airflow.hooks.postgres_hook import PostgresHook from airflow.models import BaseOperator from airflow.utils.decorators import apply_defaults from airflow.contrib.hooks.aws_hook import AwsHook class StageToRedshiftOperator(BaseOperator): ui_color = '#358140' copy_query = " COPY {} \ FROM '{}' \ ...
37.280702
141
0.577258
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
import configparser from pathlib import Path config = configparser.ConfigParser() config.read_file(open(f"{Path(__file__).parents[0]}/config.cfg")) api_key = config['KEYS']['API_KEY'] headers = {'Authorization': 'Bearer %s' % api_key}
28.625
65
0.711864
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
# This is request module of this project from request import Request from auth import headers import json class BusinessSearch: def __init__(self, term, location, price=None): self._param = {'term' : term, 'location' : location} if price: self._param['price'] = price self._base_...
47.512821
139
0.615547
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
import psycopg2 import configparser from pathlib import Path from queries import create_business_schema, create_business_table config = configparser.ConfigParser() config.read_file(open(f"{Path(__file__).parents[0]}/config.cfg")) class DatabaseDriver: def __init__(self): self._conn = psycopg2.connect("ho...
30.8
123
0.685039
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
import configparser from pathlib import Path from businesssearch import BusinessSearch from queries import create_business_schema, create_business_table, insert_business_table from databasedriver import DatabaseDriver import argparse config = configparser.ConfigParser() config.read_file(open(f"{Path(__file__).parents[...
44.690476
148
0.657977
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
create_business_schema = """CREATE SCHEMA IF NOT EXISTS yelp;""" create_business_table = """ CREATE TABLE IF NOT EXISTS yelp.business ( business_id varchar PRIMARY KEY, business_name varchar, image_url varchar, url varchar, review_count int, categories varchar, rating float, latitude float, longitude float, ...
35.371429
124
0.505503
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
import requests from auth import headers import json class Request: def __init__(self): self._header = headers @staticmethod def get_content(url, param): response = requests.get(url, headers=headers, params=param) if response.status_code == 200: return json.loads(respo...
27.875
90
0.635575
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
import configparser import psycopg2 from sql_queries import copy_table_queries, insert_table_queries def load_staging_tables(cur, conn): for query in copy_table_queries: cur.execute(query) conn.commit() def insert_tables(cur, conn): for query in insert_table_queries: cur.execute(quer...
20.625
112
0.638205
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
import configparser import psycopg2 from sql_queries import create_table_queries, drop_table_queries def drop_tables(cur, conn): for query in drop_table_queries: cur.execute(query) conn.commit() def create_tables(cur, conn): for query in create_table_queries: cur.execute(query) ...
20
112
0.636364
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
from create_tables import main as create_table_main from etl import main as etl_main if __name__ == "__main__": create_table_main() etl_main()
20.857143
51
0.664474
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
import boto3 import configparser from botocore.exceptions import ClientError import json import logging import logging.config from pathlib import Path import argparse import time # Setting up logger, Logger properties are defined in logging.ini file logging.config.fileConfig(f"{Path(__file__).parents[0]}/logging.ini")...
42.537267
192
0.657868
Udacity-Data-Engineering-Projects
https://github.com/san089/Udacity-Data-Engineering-Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
1,219
433
2023-12-04 20:08:27+00:00
2020-01-20 22:50:03+00:00
2,128
Other
Python
import psycopg2 import configparser # Loading cluster configurations from cluster.config config = configparser.ConfigParser() config.read_file(open('cluster.config')) def test_connection(host): dbname = config.get('DWH','DWH_DB') port = config.get('DWH','DWH_PORT') user = config.get('DWH','DWH_DB_USER')...
28.590909
95
0.683077
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
[run] omit = *test*.py *operator.py [report] exclude_lines = pragma: no cover def __repr__ raise NotImplementedError if __name__ == .__main__.:
14.363636
30
0.565476
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
service_name: travis-ci repo_token: 5AgJrxUInX79LS0HYwB2FMxhUoDBL1sGX
34
45
0.884058
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
ELASTIC_HOST=elasticsearch ELASTIC_INDEX=news.rss_news.rss_news MONGO_HOST=mongo MONGO_ADMIN=admin RSS_NEWS=rss_news SCHEMA_REGISTRY_HOST_NAME=schema-registry SCHEMA_REGISTRY_LOGLEVEL=WARN ZOOKEEPER_CLIENT_PORT=2181 AIRFLOW=airflow DEFAULT_TOPIC=rss_news KAFKA_LISTENERS=PLAINTEXT://kafka:9092 ZOOKEEPER_URL=zookeeper...
22.04
47
0.831304
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
[flake8] exclude: __pycache__ random_headers_list.py __init__.py ./airflow/modules/tests/* ./api/*
12.125
26
0.644231
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
## Python .vscode __pycache__ .idea .pytest_cache *.pyc *.sqlite .coverage ## Django *.sqlite3 migrations/
8
13
0.691589
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
langugage: python python: - "3.8" services: - docker before_script: - pip install docker-compose script: - bash ./run_tests.sh after_success: - coveralls branches: only: - master
10.157895
32
0.620853
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
MIT License Copyright (c) 2020, Damian Klis (damklis) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
50.380952
78
0.804267
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
# NEWS API This API project is written using [Django Rest Framework](https://github.com/tomchristie/django-rest-framework). MongoDB is the main database. Additionally, Elasticsearch serves as a query search engine. Goal? Easily search for the latest news! ## Open Endpoints Open endpoints require no Authentication....
27.5
112
0.729332
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
FROM minio/minio:RELEASE.2021-01-08T21-18-21Z COPY create_default_bucket.sh . RUN chmod +x ./create_default_bucket.sh ENTRYPOINT [ "./create_default_bucket.sh" ]
22.571429
45
0.75
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="referrer" content="origin"><link rel="dns-prefetch" href="https://www.google-analytics.com"><link rel="canonical" href="https://f...
300.98503
63,602
0.66125
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
<?xml version="1.0" encoding="UTF-8" ?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:kinja="https://www.w3.org/2001/XMLSchema" xmlns:mi="http://schemas.ingestion.microsoft.com/common/" xmlns:snf="http://www.sma...
28,539
28,539
0.755528
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
certifi==2020.6.20 Django==2.2.24 djangorestframework==3.11.2 djongo==1.3.3 elasticsearch==7.9.1 pymongo==3.11.0 pytz==2020.1 sqlparse==0.2.4 urllib3==1.26.5 django-rest-swagger==2.1.2 PyYAML==5.4 django-elasticsearch-dsl==7.1.4 django-elasticsearch-dsl-drf==0.20.8 elasticsearch-dsl==7.2.1 uWSGI==2.0.19.1
18.25
36
0.732899
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
#!/bin/sh echo "Starting API..." python manage.py makemigrations & python manage.py migrate --run-syncdb & echo -e "Waiting for Elasticsearch to start listening..." while [ $(curl -s -o /dev/null -w %{http_code} http://$ELASTIC_HOST:9200) -ne 200 ] ; do echo -e $(date) " Elasticsearch HTTP state: " $(curl -s -o /d...
39.055556
134
0.684722
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
# Admin News Management The Admin User can manage all news. **URL** : `/admin/api/news/` **Method** : `GET/POST/DELETE/PATCH/PUT` **Auth required** : YES **Permissions required** : `IsAdminUser` **Data constraints** : `{}` ## Success Responses **Condition** : Admin User is authenticated. **Code** : `200 OK` ...
19.088889
76
0.668882
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
# Show Recent News The authenticated user can access all recent news. **URL** : `/api/v1/news/` **Method** : `GET` **Auth required** : YES **Permissions required** : None **Data constraints** : `{}` ## Success Responses **Condition** : User is authenticated. **Code** : `200 OK` **Content** : User can see all...
27.47541
215
0.626152
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
# Search News The authenticated user can search for the specific news. **URL** : `/api/v1/news/` **Method** : `GET` **Auth required** : YES **Permissions required** : None **Query parameters** : ``` search=<search phrase>: - title=<news title> - description=<news description> language=<news language> or...
20.846154
148
0.627907
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
# Login Used to collect a Token for a registered User. **URL** : `/api/v1/user/login/` **Method** : `POST` **Auth required** : NO **Data constraints** ```json { "username": "[valid email]", "password": "[password in plain text]" } ``` **Data example** ```json { "username": "exampleuser@example.com",...
12.163636
66
0.598893
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
# Register Used to register a new User. **URL** : `/api/v1/user/register/` **Method** : `POST` **Auth required** : NO **Data constraints** ```json { "username": "[valid email address]", "password": "[password in plain text]" } ``` **Data example** ```json { "username": "exampleuser@example.com", ...
11.290909
54
0.576296
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
server { listen 5000; location /static { alias /vol/static; } location / { uwsgi_pass api:8000; include /etc/nginx/uwsgi_params; } }
12.214286
40
0.51087
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
uwsgi_param QUERY_STRING $query_string; uwsgi_param REQUEST_METHOD $request_method; uwsgi_param CONTENT_TYPE $content_type; uwsgi_param CONTENT_LENGTH $content_length; uwsgi_param REQUEST_URI $request_uri; uwsgi_param PATH_INFO $document_uri; uwsgi_param DOCUMENT_ROOT $document_root; uwsgi_param SERVER_PROTOCOL $server...
39.076923
45
0.801923
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
{ "name": "elasticsearch-sink", "config": { "connector.class":"io.confluent.connect.elasticsearch.ElasticsearchSinkConnector", "connection.url":"http://elasticsearch:9200", "type.name":"_doc", "topics":"news.rss_news.rss_news", "key.ignore":false, "schema.ignore":...
41.190476
92
0.653107
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
{ "name":"mongo-dbz-source", "config": { "connector.class":"io.debezium.connector.mongodb.MongoDbConnector", "tasks.max":"1", "mongodb.hosts":"rs0/mongo:27017", "mongodb.name":"news", "mongodb.user":"rss_news", "mongodb.password":"rss_news", "database.whitelist":"rss_ne...
37.95
104
0.66838
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
{ "name":"mongo-sink", "config": { "connector.class":"com.mongodb.kafka.connect.MongoSinkConnector", "tasks.max":"1", "topics":"rss_news", "connection.uri":"mongodb://rss_news:rss_news@mongo:27017/?replicaSet=rs0", "database":"rss_news", "collection":"rss_news", ...
39.411765
109
0.64723
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
#!/bin/sh /etc/confluent/docker/run & echo -e "Waiting for Kafka Connect to start listening on localhost" while [ $(curl -s -o /dev/null -w %{http_code} http://localhost:8083/connectors) -ne 200 ] ; do echo -e $(date) " Kafka Connect listener HTTP state: " $(curl -s -o /dev/null -w %{http_code} http://localhost:808...
38.823529
150
0.686391
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
{ "name":"s3-minio-sink", "config":{ "connector.class":"io.confluent.connect.s3.S3SinkConnector", "tasks.max":"1", "topics":"news.rss_news.rss_news", "s3.bucket.name":"rssnews", "s3.part.size":"5242880", "s3.compression.type":"gzip", "flush.size":"1000", ...
40.185185
89
0.59946
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
version: "3.7" services: postgres: container_name: postgres image: postgres:9.6 environment: - POSTGRES_USER=${AIRFLOW} - POSTGRES_PASSWORD=${AIRFLOW} - POSTGRES_DB=${AIRFLOW} logging: options: max-size: 10m ...
26.821656
84
0.509732
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
âPNG  IHDRe$∑>ñ≠iìtEXtmxfile%3Cmxfile%20modified%3D%222020-10-07T10%3A13%3A17.962Z%22%20host%3D%22app.diagrams.net%22%20agent%3D%225.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F85.0.4183.121%20Safari%2F537.36%22%20etag%3D%22IviwTPFzmDo9...
1,383.725032
944,612
0.914076
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
#!/bin/sh /etc/confluent/docker/run & echo -e "Waiting for Kafka to start listening on localhost" START_TIMEOUT=600 start_timeout_exceeded=false count=0 step=10 while netstat -lnt | awk '$4 ~ /:'"9092"'$/ {exit 1}'; do echo "Waiting for Kafka to be ready" sleep $step; count=$((count + step)) if [ $cou...
21.903226
72
0.660085
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
#!/bin/sh argument=$1 if [ $argument = "up" ]; then echo "Creating infrastructure..." docker-compose up -d mongo sleep 5 docker exec -it mongo /usr/local/bin/init.sh sleep 5 docker-compose up -d elif [ $argument = "stop" ]; then echo "Stopping infrastructure..." docker-compose stop eli...
22.6
50
0.651805
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
#!/bin/sh echo "Creating default bucket $DEFAULT_BUCKET" mkdir -p /data/$DEFAULT_BUCKET \ && minio server /data
16
46
0.686441
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
#!/bin/sh mongo localhost:27017/${RSS_NEWS_USER} <<-EOF rs.initiate({ _id: "rs0", members: [ { _id: 0, host: getHostName() + ":27017" } ] }); EOF echo "Initiated replica set" sleep 5 mongo localhost:27017/${MONGO_ADMIN} <<-EOF db.createUser({ user: "${MONGO_ADMIN}", pwd...
27.761905
79
0.4971
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
bind 0.0.0.0 protected-mode no port 6379 rdbcompression yes tcp-keepalive 300
14.6
18
0.818182
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Misc
#!/bin/sh pip install -r airflow/requirements.txt \ && py.test airflow/modules/tests/ --doctest-modules --cov airflow/modules --show-capture=no -v \ && flake8 -v \ && docker-compose up -d mongo \ && sleep 10 \ && docker exec -it mongo /usr/local/bin/init.sh \ && docker-compose up -d api \ &...
33.083333
100
0.607843
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
0
0
0
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import json from concurrent.futures import ThreadPoolExecutor from retry import RetryOnException as retry from proxypool import ( ProxyPoolValidator, ProxyPoolScraper, RedisProxyPoolClient ) from airflow.models.baseoperator import BaseOperator from airflow.utils.decorators import apply_defaults class Pro...
31.160714
79
0.611111
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from log import log from retry import RetryOnException as retry from proxypool import RedisProxyPoolClient from rss_news import ( NewsProducer, NewsExporter, NewsValidator ) from airflow.models.baseoperator import BaseOperator from airflow.utils.decorators import apply_defaults @log class RSSNewsOperator...
29.293103
71
0.573462
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
class Config: PROXY_WEBPAGE = "https://free-proxy-list.net/" TESTING_URL = "https://google.com" REDIS_CONFIG = { "host": "redis", "port": "6379", "db": 0 } REDIS_KEY = "proxies" MAX_WORKERS = 50 NUMBER_OF_PROXIES = 50 RSS_FEEDS = { "en": [ ...
23.280702
68
0.484454
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from urllib.parse import urlparse from datetime import datetime from airflow import DAG from airflow.operators.python_operator import PythonOperator from dags_config import Config as config from custom_operators import ( ProxyPoolOperator, RSSNewsOperator ) def extract_feed_name(url): parsed_url = urlpar...
25.861702
66
0.604596
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import logging class Logger: __register = False def __init__(self): if not self.__register: self._init_default_register() def _init_default_register(self): logger = logging.getLogger() logger.setLevel(logging.INFO) Logger.__register = True logging.info...
20.083333
50
0.613861
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
headers_list = [ { "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8", "Accept-Language": "en-US,en;q=0.5", "Referer": "https://www.google.com/", ...
42.609756
146
0.564633
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import re import random from contextlib import closing from requests import get from log import log from parser.random_headers_list import headers_list @log class WebParser: def __init__(self, website_url, rotate_header=True): self.url = website_url self._rotate_header = rotate_header def ge...
26.934783
63
0.566199
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from bs4 import BeautifulSoup from dataclasses import dataclass, field from parser import WebParser from log import log @dataclass class ProxyRecord: ip_address: str port: int country_code: str country: str anonymity: str google: str https: str last_checked: str proxy: dict = field...
25.103448
61
0.58427
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import time from dataclasses import dataclass from parser import WebParser from log import log @dataclass(frozen=True) class ProxyStatus: proxy: str health: float is_valid: bool @log class ProxyPoolValidator: def __init__(self, url, timeout=10, checks=3, sleep_interval=0.1): self.timeout = t...
26.775
70
0.616216
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import json import redis from log import log @log class RedisProxyPoolClient: def __init__(self, key, redis_config): self.key = key self.redis = redis.StrictRedis( **redis_config ) def __enter__(self): return self def override_existing_proxies(self, proxies): ...
24.5
66
0.594393
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import functools from log import log @log class RetryOnException: def __init__(self, retries): self._retries = retries def __call__(self, function): functools.update_wrapper(self, function) def wrapper(*args, **kwargs): self.logger.info(f"Retries: {self._retries}") ...
28
64
0.527043
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import json import time from kafka import KafkaProducer class NewsExporter: def __init__(self, bootstrap_servers): self._producer = self._connect_producer( bootstrap_servers ) def _connect_producer(self, bootstrap_servers): def encode_news(value): return json.d...
23.432432
68
0.581395
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import re from dataclasses import dataclass import atoma from parser import WebParser @dataclass(frozen=True) class News: _id: str title: str link: str published: str description: str author: str language: str def as_dict(self): return self.__dict__ class NewsProducer: d...
26.945946
71
0.610547
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
class NewsValidator: def __init__(self, config): self._config = config def validate_news(self, news): news = news.as_dict() assert self.check_languages(news), "Wrong language!" assert self.check_null_values(news), "Null values!" assert self.check_description_length(new...
30.333333
72
0.620118
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from pkg_resources import resource_string import pytest import fakeredis from parser import WebParser from requests import Response from rss_news import NewsProducer, NewsFormatter, NewsValidator, News from proxypool import ProxyPoolScraper, ProxyRecord from retry import RetryOnException as retry TEST_URL = "https:/...
15.708333
69
0.590818
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from proxypool import ProxyRecord from unittest.mock import patch from ..fixtures import web_parser, scraper, raw_content @patch("parser.web_parser.WebParser.get_content") def test_get_proxy_stream(get_content, raw_content, web_parser, scraper): get_content.return_value = raw_content("proxy_list_file.txt") ...
26.352941
73
0.741379
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from unittest.mock import patch from proxypool import ProxyPoolValidator from ..fixtures import web_parser, raw_content, proxy_record @patch("parser.web_parser.WebParser.get_content") def test_validate_proxy(get_content, raw_content, web_parser, proxy_record): expected = True get_content.return_value = raw_...
33.177419
84
0.725685
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import json from unittest.mock import patch from proxypool import RedisProxyPoolClient from ..fixtures import redis_config, redis_mock, proxies @patch("proxypool.redis_proxypool_client.redis.StrictRedis") def test_override_existing_proxies(redis, redis_config, redis_mock, proxies): new_proxies = [{"http": "http:...
28.486486
87
0.695552
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import pytest from ..fixtures import add_function def test_retry_on_exception_valid(add_function): expected = 2 result = add_function(1, 1) assert result == expected def test_retry_on_exception_wrong(add_function): with pytest.raises(TypeError): add_function("Test", 0.0001)
16.111111
48
0.690554
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from unittest.mock import patch, Mock import pytest from rss_news import NewsExporter @patch("rss_news.rss_news_exporter.KafkaProducer") def test_connect_producer(mock_producer): exporter = NewsExporter(["test_broker:9092"]) assert exporter._producer is not None @patch("rss_news.NewsExporter") def test_ex...
24.843137
62
0.601367
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import datetime from unittest.mock import patch import pytest from rss_news import News from ..fixtures import web_parser, raw_content, producer, proxies, formatter @patch("parser.web_parser.WebParser.get_content") def test_get_news_stream(get_content, web_parser, raw_content, producer, proxies): get_content.re...
26.657534
82
0.68335
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import pytest from rss_news import News from ..fixtures import validator, news_record def test_check_null_values(validator, news_record): expected = True news = news_record.as_dict() result = validator.check_null_values(news) assert result is expected def test_check_null_values_with_nones(va...
19.095238
62
0.69395
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from unittest.mock import patch import pytest from pytest import fixture from requests.exceptions import ConnectionError from parser import WebParser from ..fixtures import web_parser, response @patch("parser.web_parser.get") def test_get_content(mock_get, web_parser): expected = "TEST CONTENT" mock_g...
22.985507
71
0.674123
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
""" Django settings for core project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Buil...
24.912088
91
0.627784
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from django.urls import path from users.views import UserCreateView, ObtainTokenView app_name = "user" urlpatterns = [ path("register/", UserCreateView.as_view(), name="register"), path("login/", ObtainTokenView.as_view(), name="login") ]
21.818182
65
0.712
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
""" WSGI config for core project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
21.705882
78
0.766234
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportErr...
27.409091
73
0.655449
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from rest_framework import routers from django.contrib import admin from rest_framework.authtoken.models import Token from news.models import News from news.urls import urlpatterns from users.models import UserModel class NewsAdminSite(admin.AdminSite): def get_urls(self): urls = super(NewsAdminSite,...
24
52
0.753817
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from django.apps import AppConfig class UsersConfig(AppConfig): name = 'users'
13.333333
33
0.741176
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from django.db import models from django.contrib.auth.models import ( AbstractBaseUser, BaseUserManager, PermissionsMixin ) class UserManager(BaseUserManager): def create_user(self, email, password=None, **kwargs): if not email: raise ValueError("Must have an email address") email...
27.027027
58
0.666023
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from django.contrib.auth import authenticate from rest_framework import serializers from rest_framework.authtoken.models import Token from users.models import UserModel class UserSerializer(serializers.ModelSerializer): class Meta: model = UserModel fields = ("email", "password") extra_k...
23.614035
67
0.560628
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from django.test import TestCase from django.urls.resolvers import URLResolver from news.admin import NewsAdminSite class TestAdminSite(TestCase): def setUp(self): self.admin_site = NewsAdminSite() def test_api_urls_in_admin_site(self): expected = "'api/'" urls_objects = s...
22.347826
70
0.641791
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from django.contrib.auth import get_user_model from django.urls import reverse from django.test import TestCase from rest_framework import status from rest_framework.test import APIClient ADMIN_SEARCH_NEWS_URL = reverse("admin:news-list") ADMIN_SEARCH_NEWS_URL = reverse( "admin:news-detail", kwargs={"_id":"missi...
24.515152
62
0.693222
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from django.test import TestCase from news.models import News class NewsModelTests(TestCase): TEST_NEWS_DATA = { "_id": "test_id", "title": "test titile", "link": "www.testnews.com", "published": "2020-01-01 00:00:00", "description": "test description", "author": "...
23.088235
57
0.564792
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from rest_framework import generics from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.settings import api_settings from users.serializers import UserSerializer, AuthTokenSerializer class UserCreateView(generics.CreateAPIView): serializer_class = UserSerializer permission_classes...
24.15
65
0.804781
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
import os from elasticsearch_dsl import analyzer from django_elasticsearch_dsl import Document, fields, Index from elasticsearch_dsl import analyzer from news.models import News news_index = Index(os.environ["ELASTIC_INDEX"]) news_index.settings( number_of_shards=1, number_of_replicas=1 ) html_strip = anal...
20.545455
60
0.617399
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from elasticsearch.exceptions import NotFoundError from django.contrib.auth import get_user_model from django.urls import reverse from django.test import TestCase from rest_framework import status from rest_framework.test import APIClient SEARCH_NEWS_URL = reverse("search:search-list") SEARCH_DETAIL_NEWS_URL = rever...
24.666667
62
0.645874
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from django.test import TestCase from django.contrib.auth import get_user_model from django.urls import reverse from rest_framework.test import APIClient from rest_framework import status CREATE_USER_URL = reverse("user:register") GET_TOKEN_URL = reverse("user:login") class UserApiTests(TestCase): def setUp(s...
28.858696
72
0.583394
DataEngineeringProject
https://github.com/damklis/DataEngineeringProject
Example end to end data engineering project.
920
192
2023-12-04 19:31:15+00:00
2020-06-30 09:33:56+00:00
1,845
MIT License
Python
from django.test import TestCase from django.contrib.auth import get_user_model class UserModelTests(TestCase): email = "testemail@test.com" email_upper = "testemail@TESTUPPER.COM" password = "testpassword" def test_create_user_check_email(self): user = get_user_model().objects.create_user( ...
28.659574
62
0.612347
data-engineering-with-databricks
https://github.com/Code360In/data-engineering-with-databricks
null
6
1,141
2023-11-22 18:01:10+00:00
2022-01-28 23:53:31+00:00
1,349
Creative Commons Zero v1.0 Universal
Misc
# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller #...
12.846154
95
0.744858
data-engineering-with-databricks
https://github.com/Code360In/data-engineering-with-databricks
null
6
1,141
2023-11-22 18:01:10+00:00
2022-01-28 23:53:31+00:00
1,349
Creative Commons Zero v1.0 Universal
Misc
-- Databricks notebook source -- MAGIC %md-sandbox -- MAGIC -- MAGIC <div style="text-align: center; line-height: 0; padding-top: 9px;"> -- MAGIC <img src="https://databricks.com/wp-content/uploads/2018/03/db-academy-rgb-1200px.png" alt="Databricks Learning" style="width: 600px"> -- MAGIC </div> -- COMMAND --------...
37.182222
467
0.700349
data-engineering-with-databricks
https://github.com/Code360In/data-engineering-with-databricks
null
6
1,141
2023-11-22 18:01:10+00:00
2022-01-28 23:53:31+00:00
1,349
Creative Commons Zero v1.0 Universal
Misc
-- Databricks notebook source -- MAGIC %md-sandbox -- MAGIC -- MAGIC <div style="text-align: center; line-height: 0; padding-top: 9px;"> -- MAGIC <img src="https://databricks.com/wp-content/uploads/2018/03/db-academy-rgb-1200px.png" alt="Databricks Learning" style="width: 600px"> -- MAGIC </div> -- COMMAND --------...
36.48318
302
0.709367
data-engineering-with-databricks
https://github.com/Code360In/data-engineering-with-databricks
null
6
1,141
2023-11-22 18:01:10+00:00
2022-01-28 23:53:31+00:00
1,349
Creative Commons Zero v1.0 Universal
Misc
-- Databricks notebook source -- MAGIC %md-sandbox -- MAGIC -- MAGIC <div style="text-align: center; line-height: 0; padding-top: 9px;"> -- MAGIC <img src="https://databricks.com/wp-content/uploads/2018/03/db-academy-rgb-1200px.png" alt="Databricks Learning" style="width: 600px"> -- MAGIC </div> -- COMMAND --------...
31.797945
271
0.669277