{"id":16971835,"url":"https://github.com/melizeche/dolarpy","last_synced_at":"2025-04-05T17:04:30.524Z","repository":{"id":3340064,"uuid":"41386535","full_name":"melizeche/dolarPy","owner":"melizeche","description":"Checks USD/PYG exchange rate from several sites, with a calculator, RESTful API and a twitter bot","archived":false,"fork":false,"pushed_at":"2025-03-25T22:43:19.000Z","size":207,"stargazers_count":61,"open_issues_count":19,"forks_count":46,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-29T16:03:48.361Z","etag":null,"topics":["beautifulsoup4","exchange-rates","hacktoberfest","hacktoberfest2020","paraguay","python","scraper","usd"],"latest_commit_sha":null,"homepage":"http://dolar.melizeche.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melizeche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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":"2015-08-25T20:34:33.000Z","updated_at":"2025-03-11T16:55:15.000Z","dependencies_parsed_at":"2023-02-17T14:15:48.516Z","dependency_job_id":"8dba9144-442b-405d-976c-c51f4dc14824","html_url":"https://github.com/melizeche/dolarPy","commit_stats":{"total_commits":136,"total_committers":28,"mean_commits":4.857142857142857,"dds":0.4779411764705882,"last_synced_commit":"921f9a074c0834ecab1e9f02ce96747baa86cbc8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melizeche%2FdolarPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melizeche%2FdolarPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melizeche%2FdolarPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melizeche%2FdolarPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melizeche","download_url":"https://codeload.github.com/melizeche/dolarPy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369953,"owners_count":20927928,"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":["beautifulsoup4","exchange-rates","hacktoberfest","hacktoberfest2020","paraguay","python","scraper","usd"],"created_at":"2024-10-14T00:55:06.090Z","updated_at":"2025-04-05T17:04:30.483Z","avatar_url":"https://github.com/melizeche.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dolarPy\nChecks USD/PYG exchange rate from several sites, with a calculator, RESTful API and a twitter bot\n\n* [Scraper: ](coti.py) Checks USD/PYG exchange rate from several sites every 10 minutes, saves the info in a json file\n* [Webservice: ](cotiapp.py) Flask app to serve the API and display the main website with the calculator\n* [TwitterBot: ](single_tweet_bot.py) Reads the webservice output and tweet it(in a human readable format)\n\n#### DEMO/Webservice\n\nhttp://dolar.melizeche.com/api/1.0/\n\n#### Twitter Bot\n\nhttps://twitter.com/DolarPy\n\n#### Mobile\n\n* For Android  https://github.com/ivankoop/DolarPy-Android\n* For Android-Kotlin https://github.com/LucasGinard/DolarPy-Android-Kotlin\n* For iOS https://github.com/LucasGinard/DolarPy-iOS\n\n#### API wrappers\n\n* For Java https://github.com/melizeche/dolarpy-wrapper-java\n* For Python https://github.com/melizeche/dolarpy-wrapper-python\n\n## Documentation in progress\n\n## Requirements\n\n* Python 2.7+ or 3.5+\n* BeautifulSoup4\n* Flask\n* Tweepy\n\n## Install\n\n```\ngit clone git@github.com:melizeche/dolarPy.git\ncd dolarPy\npython3 -m venv env\n# if venv module is not installed install with `sudo apt install python3-venv`\nsource env/bin/activate\npip install -r requirements.txt\ncrontab -e (add coti.py) // See example below\npython cotiapp.py\n```\n### On macOS High Sierra with python3 (also most linux distros)\n\n```\n# pip3 is installed with Python3\npip3 install virtualenv\n# creating the virtualenv\nvirtualenv -p python3 env\n# activate the virtualenv:\nsource env/bin/activate\npip3 install -r requirements.txt\n# and the run\n# if you need to deactivate the virtualenv:\ndeactivate\n```\n\n### Crontab format and example\n\nMIN \tHOUR \tDAYofMONTH \tMONTH \tDAYofWEEK \tPYTHONPATH SCRIPT\n\nSo for check/update the exchange rate every 10 minutes between 6am and 8pm on weekdays\n\n```*/10    6-20            * * 1-5 /apps/dolarPy/env/bin/python /apps/dolarPy/coti.py```\n\nAnd for tweet the exchange rate at 8am, 12pm and 6pm on weekdays\n\n```0      8,12,18    * * 1-5 /apps/dolarPy/env/bin/python /apps/dolarPy/single_tweet_bot.py```\n\n## Contributing\n\nIf it is a new feature, before contributing, open an issue and ask if your functionality is needed by the project.\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Author\n\n* Marcelo Elizeche Landó https://github.com/melizeche\n\n## Contributors / Thanks\n\n* Alejo Carballude https://github.com/AlejoAsd\n* Carlos Carvallo https://github.com/carloscarvallo\n* Carlos Laspina https://github.com/claspina\n* Carlos Vallejos  https://github.com/cabupy\n* Christian Zelaya https://github.com/eduzetapy\n* Diego Díaz https://github.com/berithpy\n* Diego Zacarías https://github.com/zv3\n* Ivan Koop https://github.com/ivankoop\n* Matías Sánchez https://github.com/MatiSanchez25\n* Mauricio Medina https://github.com/mauri-medina\n* Taras Samoilenko https://github.com/cos1715\n* Alcides Rivarola https://github.com/alcides29\n* Lucas Ginard https://github.com/LucasGinard\n* Padaleiana https://github.com/padaleiana\n* nestorcde https://github.com/nestorcde\n\n## TODO(APIv2)\n\n* ~Better~ Documentation\n* Add more currencies\n* Databases support\n* Historical data API endpoint\n\n## License\n\nThis project is licensed under the Apache 2.0 License - see the [LICENSE.txt](LICENSE.txt) file for details\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelizeche%2Fdolarpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelizeche%2Fdolarpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelizeche%2Fdolarpy/lists"}