{"id":49345341,"url":"https://github.com/ns1/ns1-python","last_synced_at":"2026-04-27T07:02:10.013Z","repository":{"id":37385056,"uuid":"72872503","full_name":"ns1/ns1-python","owner":"ns1","description":"NS1 Python SDK","archived":false,"fork":false,"pushed_at":"2026-02-10T15:10:35.000Z","size":692,"stargazers_count":26,"open_issues_count":17,"forks_count":26,"subscribers_count":27,"default_branch":"master","last_synced_at":"2026-02-10T18:58:39.124Z","etag":null,"topics":["dns","python-sdk","sdk"],"latest_commit_sha":null,"homepage":"","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/ns1.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-11-04T17:57:24.000Z","updated_at":"2026-02-10T15:10:22.000Z","dependencies_parsed_at":"2024-03-07T16:46:53.845Z","dependency_job_id":"10dba53b-e280-4977-94c2-1f372adf17bf","html_url":"https://github.com/ns1/ns1-python","commit_stats":{"total_commits":340,"total_committers":48,"mean_commits":7.083333333333333,"dds":0.7,"last_synced_commit":"7bffc63c3e64001b272d5b82b233e9ab076b7c9f"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/ns1/ns1-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns1%2Fns1-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns1%2Fns1-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns1%2Fns1-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns1%2Fns1-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ns1","download_url":"https://codeload.github.com/ns1/ns1-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns1%2Fns1-python/sbom","scorecard":{"id":696977,"data":{"date":"2025-08-11","repo":{"name":"github.com/ns1/ns1-python","commit":"eb1c0e43a7ca2509d210ca1dd4c613fc6e439be1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","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":10,"reason":"all changesets reviewed","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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/codeql-analysis.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue_notify.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/issue_notify.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue_notify.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/issue_notify.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/verify.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/verify.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/verify.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/ns1/ns1-python/verify.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:20","Warn: pipCommand not pinned by hash: .github/workflows/verify.yml:45","Warn: pipCommand not pinned by hash: .github/workflows/verify.yml:48","Warn: pipCommand not pinned by hash: .github/workflows/verify.yml:49","Warn: pipCommand not pinned by hash: .github/workflows/verify.yml:19","Warn: pipCommand not pinned by hash: .github/workflows/verify.yml:20","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   6 pipCommand dependencies pinned"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/issue_notify.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/verify.yml:1","Info: no jobLevel write permissions found"],"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:6"],"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":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 30 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-22T03:58:40.680Z","repository_id":37385056,"created_at":"2025-08-22T03:58:40.680Z","updated_at":"2025-08-22T03:58:40.680Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32326122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["dns","python-sdk","sdk"],"created_at":"2026-04-27T07:02:05.371Z","updated_at":"2026-04-27T07:02:10.002Z","avatar_url":"https://github.com/ns1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/ns1/ns1-python.svg?branch=master)](https://travis-ci.org/ns1/ns1-python) [![Docs](https://readthedocs.org/projects/ns1-python/badge/?version=latest)](https://ns1-python.readthedocs.io/en/latest/)\n\nNS1 Python SDK\n==============\n\n\u003e This project is in [active development](https://github.com/ns1/community/blob/master/project_status/ACTIVE_DEVELOPMENT.md).\n\nA Python SDK for accessing NS1, the Data Driven DNS platform.\n\nAbout\n=====\n\nThis package provides a python SDK for accessing the NS1 DNS platform\nand includes both a simple NS1 REST API wrapper as well as a higher level\ninterface for managing zones, records, data feeds, and more.\nIt supports synchronous and asynchronous transports.\n\nPython 3.8+ is supported. Automated tests are currently run\nagainst 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13\n\nInstallation\n============\n\n    $ pip install ns1_python\n\nDependencies\n============\n\nNone, but supports different transport backends. Currently supported:\n\n* [requests](http://docs.python-requests.org/en/latest/) (synchronous, the\n  default if available)\n* urllib (synchronous, the default if requests isn't available)\n* [twisted](https://twistedmatrix.com/) (asynchronous, requires 2.7 or 3.5+)\n\nOther transports are easy to add, see\n[transport](https://github.com/ns1/ns1-python/tree/master/ns1/rest/transport)\n\nExamples\n========\n\nSee the [examples directory](https://github.com/ns1/ns1-python/tree/master/examples)\n\nDocumentation\n=============\n\nIf you don't yet have an NS1 account, [signup here (free)](https://ns1.com/signup/)\n\nYou'll need an API Key. To create one, login to [the portal](https://my.nsone.net/)\nand click on the Account button in the top right. Select Settings \u0026 Users, then\nadd a new API Key at the bottom.\n\n* [Documentation at ReadTheDocs](https://ns1-python.readthedocs.org/en/latest/)\n* [NS1 REST API Documentation](https://ns1.com/api/)\n\nTests\n=====\n\nUnit tests use `pytest` (`pip install pytest`). 2.7 also requires `mock` to be\ninstalled (`pip install mock`).\n\nTests should, of course, run and pass under python 2 and 3. We use tox to\nautomate test runs and virtualenv setup, see `tox.ini` for config.\n\nContributions\n=============\nPull Requests and issues are welcome. See the\n[NS1 Contribution Guidelines](https://github.com/ns1/community) for more\ninformation.\n\n### Editing the docs\n\nYou can create or edit NS1-python documentation by downloading the repo onto your machine and using an editor such as VSCode.\n\n### Creating Pull Requests\n\n1. When you're ready to submit your changes, add a descriptive title and comments to summarize the changes made.\n2. Select **Create a new branch for this commit and start a pull request**.\n3. Check the **Propose file change** button.\n4. Scroll down to compare changes with the original document.\n5. Select **Create pull request**.\n\nOur CI process will lint and check for formatting issues with `flake8` and\n`black`.\nIt is suggested to run these checks prior to submitting a pull request and fix\nany issues:\n```\npip install flake8 black\nflake8 . --count --show-source --statistics --extend-ignore=E501\nblack . --check -l 79 --diff\n```\n\n## NOTE\n\nThis package was originally named `ns1-python`, but to comply with [PEP 625](https://peps.python.org/pep-0625/) it was renamed to `ns1_python` via [this PR](https://github.com/ns1/ns1-python/pull/142).\n\nYou can still install the `ns1-python` package as normal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fns1%2Fns1-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fns1%2Fns1-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fns1%2Fns1-python/lists"}