{"id":13787369,"url":"https://github.com/busbud/coding-challenge-d","last_synced_at":"2025-07-02T14:34:27.922Z","repository":{"id":19946307,"uuid":"23213043","full_name":"busbud/coding-challenge-d","owner":"busbud","description":null,"archived":false,"fork":false,"pushed_at":"2014-08-25T13:42:17.000Z","size":63798,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-04-15T17:54:39.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/busbud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-22T04:39:13.000Z","updated_at":"2025-01-23T08:58:59.000Z","dependencies_parsed_at":"2022-08-17T15:41:13.833Z","dependency_job_id":null,"html_url":"https://github.com/busbud/coding-challenge-d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busbud%2Fcoding-challenge-d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busbud%2Fcoding-challenge-d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busbud%2Fcoding-challenge-d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busbud%2Fcoding-challenge-d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/busbud","download_url":"https://codeload.github.com/busbud/coding-challenge-d/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249181080,"owners_count":21225841,"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","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":[],"created_at":"2024-08-03T20:00:33.291Z","updated_at":"2025-04-16T01:26:23.991Z","avatar_url":"https://github.com/busbud.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Busbud Coding Challenge\n\n## Requirements\n\nDesign an application which concurrently processes a series of images\nwith the following treatments:\n\n### Scaling\n\nImages must be scaled to 1500px on the x-axis.\n\n### Blurring\n\nA Gaussian blur with a radius of 6px.\n\n### Cropping\n\nEach scaled and blurred image must produce 3 cropped images 300px tall:\none cropped from the top, one from the bottom, and one from the center.\n\n### Saving\n\nThe resulting images must be saved into the images folder following the type\nof crop performed. So rome.jpeg would result three images:\n\n```\nrome-bottom.jpeg\nrome-vmiddle.jpeg\nrome-top.jpeg\n```\n\nThis challenge isn't intended to be a measure of your ability to manipulate\nimages. The basic functions have been provided for you, and it's up to you\nas to how to best use them in parallel.\n\n### Non-functional\n\n- Must accept a tuple whose first element is a unique name for the image,\n  and a file-like object as input. An example iterator `images` is provided.\n- Must be written in Python 2.7 following PEP8.\n- Must process images in parallel. How you organize this is entirely up to you.\n  Your solution will be benchmarked.\n- Must use comments wisely. Communicate why something behaves the way it does\n  rather than what. It should be clear what the code does from reading it.\n\n### Bonus Round\n\nExtra points will be given for:\n\n- Utilizing all CPU cores.\n- Additionally scaling along the y axis and cropping along the x.\n\n\n## Getting Started\n\nBegin by forking this repo, cloning your fork, and installing its\ndependencies.\n\n### Setting up the Virtualenv\n\n```\n$ virtualenv -p python2.7 coding-challenge-backend-d\n$ source coding-challenge-backend-d/bin/activate\n$ cd coding-challenge-backend-d\n$ git clone git@github.com:busbud/coding-challenge-d.git src\n$ cd src\n$ python setup.py develop\n```\n\n### Pillow\n\nImage manipulation should be handled with the setuptools-friendly\nfork of PIL, Pillow. Documentation is available in the [references](#references) section.\n\n## References\n\n- [PEP8](http://legacy.python.org/dev/peps/pep-0008/)\n- [PEP257](http://legacy.python.org/dev/peps/pep-0257/)\n- [PEP264](http://legacy.python.org/dev/peps/pep-0263/)\n- [Pillow](http://pillow.readthedocs.org/en/latest/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusbud%2Fcoding-challenge-d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbusbud%2Fcoding-challenge-d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusbud%2Fcoding-challenge-d/lists"}