{"id":24792660,"url":"https://github.com/titomiguelcosta/pocket","last_synced_at":"2026-05-10T19:03:53.935Z","repository":{"id":145809507,"uuid":"102536946","full_name":"titomiguelcosta/pocket","owner":"titomiguelcosta","description":"Scripts for foreign exchange transfers. Determine rates, calculate balances, and so on.","archived":false,"fork":false,"pushed_at":"2023-04-23T17:23:42.000Z","size":85959,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T20:44:20.257Z","etag":null,"topics":["api","flask","python3","zappa"],"latest_commit_sha":null,"homepage":"http://website.pocket.titomiguelcosta.com","language":"JavaScript","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/titomiguelcosta.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-05T22:46:31.000Z","updated_at":"2023-04-23T15:26:36.000Z","dependencies_parsed_at":"2024-04-19T10:01:10.778Z","dependency_job_id":null,"html_url":"https://github.com/titomiguelcosta/pocket","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/titomiguelcosta%2Fpocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titomiguelcosta%2Fpocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titomiguelcosta%2Fpocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titomiguelcosta%2Fpocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/titomiguelcosta","download_url":"https://codeload.github.com/titomiguelcosta/pocket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245300824,"owners_count":20593048,"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":["api","flask","python3","zappa"],"created_at":"2025-01-29T20:39:26.711Z","updated_at":"2026-05-10T19:03:53.868Z","avatar_url":"https://github.com/titomiguelcosta.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pocket\n======\n\nPython scripts to help make decisions when exchanging currencies.\n\n\nAvailable commands\n------------------\n\n## Rate\n\nWhat's the current rate between two currencies?\n\n```\n$ python bin/pocket rate --source=NZD --target=GBP\n```\n\n## Transfer\n\nHow much do you get by transferring a certain amount?\n\n```\n$ python bin/pocket transfer 1000 --source=NZD --target=GBP\n```\n\n## Fees\n\nHow much will the fees be for transferring a certain amount?\n\n```\n$ python bin/pocket fees 1000 --source=NZD --target=GBP\n\n```\n\n## Profit\n\nDetermines the rate needed to make a certain profit.\nIf --cashed parameter is not passed, it will use current rate to calculate initial transfer from source to target.\n\nIn the example, it is intended to make a profit of 100NZD by transfering 1000NZD to GBP and then transfering back.\n\n```\n$ python bin/pocket profit 100 1000 --source=NZD --target=GBP\n\n```\n\n## Balance\n\nDetermines the balance after reverting a transfer.\n\nIn the example, it is intended to determine how much it will be made by transferring back 9200NZD to the GBP account at the current rate.\n\n```\n$ python bin/pocket balance 5000 9200 --source=GBP --target=NZD\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitomiguelcosta%2Fpocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftitomiguelcosta%2Fpocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitomiguelcosta%2Fpocket/lists"}