{"id":15654597,"url":"https://github.com/datitran/spark-tdd-example","last_synced_at":"2025-10-04T07:52:44.200Z","repository":{"id":107998040,"uuid":"54329356","full_name":"datitran/spark-tdd-example","owner":"datitran","description":"A simple Spark TDD example ","archived":false,"fork":false,"pushed_at":"2017-09-19T03:34:07.000Z","size":31,"stargazers_count":26,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-21T01:25:20.497Z","etag":null,"topics":["pyspark","python","spark","tdd"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datitran.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-20T16:57:38.000Z","updated_at":"2024-09-24T19:17:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae4da20a-1a6b-4471-9f1c-2fcd5e7b4244","html_url":"https://github.com/datitran/spark-tdd-example","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/datitran/spark-tdd-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datitran%2Fspark-tdd-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datitran%2Fspark-tdd-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datitran%2Fspark-tdd-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datitran%2Fspark-tdd-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datitran","download_url":"https://codeload.github.com/datitran/spark-tdd-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datitran%2Fspark-tdd-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278283455,"owners_count":25961311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pyspark","python","spark","tdd"],"created_at":"2024-10-03T12:52:40.103Z","updated_at":"2025-10-04T07:52:44.185Z","avatar_url":"https://github.com/datitran.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A simple PySpark example using TDD\n\nThis is a very basic example of how to use Test Driven Development (TDD) in the context of PySpark, Spark's Python API.\n\n### Getting Started\n\n1. Use brew to install Apache Spark: `brew install apache-spark`\n2. Change logging settings:\n  - `cd /usr/local/Cellar/apache-spark/2.1.0/libexec/conf`\n  - `cp log4j.properties.template log4j.properties`\n  - Set info to error: `log4j.rootCategory=ERROR, console`\n3. Add this to your bash profile: `export SPARK_HOME=\"/usr/local/Cellar/apache-spark/2.1.0/libexec/\"`\n4. Use nosetests to run the test: `nosetests -vs test_clustering.py`\n\n## Dependencies\n- [Apache Spark](http://spark.apache.org/) Spark 2.1.0\n- [Python](https://www.python.org/) Python 3.5\n- [nosetests](http://nose.readthedocs.io/en/latest/) nose 1.3.7\n\n## Copyright\n\nSee [LICENSE](LICENSE) for details.\nCopyright (c) 2017 [Dat Tran](http://www.dat-tran.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatitran%2Fspark-tdd-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatitran%2Fspark-tdd-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatitran%2Fspark-tdd-example/lists"}