{"id":13586675,"url":"https://github.com/happyleavesaoc/python-myusps","last_synced_at":"2025-08-23T01:44:37.704Z","repository":{"id":57444627,"uuid":"77950162","full_name":"happyleavesaoc/python-myusps","owner":"happyleavesaoc","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-20T05:55:36.000Z","size":34,"stargazers_count":27,"open_issues_count":4,"forks_count":14,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-08-10T08:47:03.333Z","etag":null,"topics":["informed-delivery","python3","usps"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/happyleavesaoc.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,"zenodo":null}},"created_at":"2017-01-03T20:21:25.000Z","updated_at":"2025-07-14T19:44:30.000Z","dependencies_parsed_at":"2025-08-10T08:38:31.432Z","dependency_job_id":"906432c5-e4d2-4073-9a24-55fb938436d2","html_url":"https://github.com/happyleavesaoc/python-myusps","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/happyleavesaoc/python-myusps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyleavesaoc%2Fpython-myusps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyleavesaoc%2Fpython-myusps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyleavesaoc%2Fpython-myusps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyleavesaoc%2Fpython-myusps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/happyleavesaoc","download_url":"https://codeload.github.com/happyleavesaoc/python-myusps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyleavesaoc%2Fpython-myusps/sbom","scorecard":{"id":455409,"data":{"date":"2025-08-11","repo":{"name":"github.com/happyleavesaoc/python-myusps","commit":"827e74f25d1c1ef0149bb7fda7c606297b743c02"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T09:27:14.073Z","repository_id":57444627,"created_at":"2025-08-19T09:27:14.074Z","updated_at":"2025-08-19T09:27:14.074Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271731587,"owners_count":24811307,"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-08-22T02:00:08.480Z","response_time":65,"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":["informed-delivery","python3","usps"],"created_at":"2024-08-01T15:05:43.955Z","updated_at":"2025-08-23T01:44:37.646Z","avatar_url":"https://github.com/happyleavesaoc.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/happyleavesaoc/python-myusps.svg?branch=master)](https://travis-ci.org/happyleavesaoc/python-myusps) [![PyPI version](https://badge.fury.io/py/myusps.svg)](https://badge.fury.io/py/myusps)\n\n# python-myusps\n\nPython 3 API for [USPS Informed Delivery](https://my.usps.com/mobileWeb/pages/intro/start.action), a way to track packages and mail.\n\n## Prerequisites\n\n### USPS\n\nSign up for Informed Delivery and verify your address.\n\n### Chrome\n\nInstall Google Chrome and Chromedriver. These are dependencies for the Selenium webdriver, which is used internally to this module to facilitate the login process.\n\nInstructions (adapt as necessary for your OS):\n  - Ubuntu 16: https://gist.github.com/ziadoz/3e8ab7e944d02fe872c3454d17af31a5\n  - RHEL 7: https://stackoverflow.com/a/46686621\n\nNote that installing Selenium Server is not required.\n\n## Install\n\n`pip install myusps`\n\n## Usage\n\n```python\nimport myusps\n\n# Establish a session.\n# Use the login credentials you use to login to My USPS via the web.\n# A login failure raises a `USPSError`.\nsession = myusps.get_session(\"username\", \"password\")\n\n# Get your profile information as a dict. Includes name, address, phone, etc.\nprofile = myusps.get_profile(session)\n\n# Get all packages that My UPS knows about.\npackages = myusps.get_packages(session)\n\n# Get mail delivered on a given day.\nimport datetime\nmail = myusps.get_mail(session, datetime.datetime.now().date())\n```\n\n## Caching\nSession cookies are cached by default in `./usps_cookies.pickle` and will be used if available instead of logging in. If the cookies expire, a new session will be established automatically.\n\nHTTP requests are cached by default in `./usps_cache.sqlite`. HTTP caching defaults to 5 minutes and can be turned off by passing `cache=False` to `get_session`. The cache expiry can be adjusted with the keyword argument `cache_expiry`.\n\n## Development\n\n### Lint\n\n`tox`\n\n### Release\n\n`make release`\n\n### Contributions\n\nContributions are welcome. Please submit a PR that passes `tox`.\n\n## Disclaimer\nNot affiliated with USPS. Does not use [USPS Web Tools API](https://www.usps.com/business/web-tools-apis/welcome.htm). Use at your own risk.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappyleavesaoc%2Fpython-myusps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhappyleavesaoc%2Fpython-myusps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappyleavesaoc%2Fpython-myusps/lists"}