{"id":20639074,"url":"https://github.com/korniichuk/pb","last_synced_at":"2026-04-19T17:39:01.292Z","repository":{"id":95417942,"uuid":"268945638","full_name":"korniichuk/pb","owner":"korniichuk","description":"Solution for Pitney Bowes's recruitment test","archived":false,"fork":false,"pushed_at":"2020-06-03T01:24:45.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T08:28:22.448Z","etag":null,"topics":["pb","pitney-bowes","pitneybowes","recruitment-task"],"latest_commit_sha":null,"homepage":"http://www.korniichuk.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/korniichuk.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":"2020-06-03T01:20:55.000Z","updated_at":"2020-06-05T18:39:05.000Z","dependencies_parsed_at":"2023-03-14T08:16:13.034Z","dependency_job_id":null,"html_url":"https://github.com/korniichuk/pb","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/korniichuk%2Fpb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korniichuk%2Fpb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korniichuk%2Fpb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korniichuk%2Fpb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/korniichuk","download_url":"https://codeload.github.com/korniichuk/pb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242667531,"owners_count":20166311,"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":["pb","pitney-bowes","pitneybowes","recruitment-task"],"created_at":"2024-11-16T15:22:18.541Z","updated_at":"2025-12-05T17:02:08.687Z","avatar_url":"https://github.com/korniichuk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pb\n**Name:** pb\u003cbr\u003e\n**Description:** Solution for Pitney Bowes's recruitment test\u003cbr\u003e\n**GitHub:** https://github.com/korniichuk/pb\n\n## Test task\nPlease, see [Test-readme.md](Test-readme.md) file.\n\n## Test solution\n**Step 1:** Build an image from a Dockerfile\n```\n$ docker build -t korniichuk/pb .\n```\n\n**Step 2:** Use `$ docker run` command\n```\n$ export db=\u003cDB\u003e\n$ export s3_bucket=\u003cS3_BUCKET\u003e\n$ docker run -v ~/.aws:/home/pb/.aws -e db -e s3_bucket korniichuk/pb\n```\n\nExample:\n```\n$ export db=ruslan:passwd@demo.cluster-ro-c3rno4vis1ue.eu-central-1.rds.amazonaws.com:5432/example_db\n$ export s3_bucket=example_bucket\n$ docker run -v ~/.aws:/home/pb/.aws -e db -e s3_bucket korniichuk/pb\n```\n\nWhere:\n* `ruslan` -- database username,\n* `passwd` -- database password (**Note:** Quote special characters with `\\`),\n* `demo.cluster-ro-c3rno4vis1ue.eu-central-1.rds.amazonaws.com` -- database host,\n* `5432` -- database port,\n* `example_db` -- database name,\n* `example_bucket` -- name of Amazon S3 bucket.\n\nTo share the host file system, credentials, and configuration to the container, mount the host system's `~/.aws` directory to the container at `/home/pb/.aws` with the `-v` flag to the docker run command. For more information about the `-v` flag and mounting, see the [Docker reference guide](https://docs.docker.com/storage/volumes/).\n\n**Step 3:** Verify result in Amazon S3 bucket\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorniichuk%2Fpb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkorniichuk%2Fpb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorniichuk%2Fpb/lists"}