This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "SPDXID": "SPDXRef-DOCUMENT", | |
| "creationInfo": { | |
| "created": "2025-10-14T14:30:36Z", | |
| "creators": [ | |
| "Person: Python Release Managers", | |
| "Tool: ReleaseTools-9721c249ff1de736fcf180c4a806ce75372ebf2a" | |
| ], | |
| "licenseListVersion": "3.22" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def to_spdx(project, version=spdx.SPDX_SPEC_VERSION_2_3, include_files=False, _fake_test_uuid=None): | |
| """ | |
| Generate output for the provided ``project`` in SPDX document format. | |
| The output file is created in the ``project`` "output/" directory. | |
| Return the path of the generated output file. | |
| """ | |
| if version not in [spdx.SPDX_SPEC_VERSION_2_2, spdx.SPDX_SPEC_VERSION_2_3]: | |
| raise ValueError(f"SPDX {version} is not supported.") | |
| if _fake_test_uuid: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ported cydifflib from @maxbachmann under MIT license https://raw.githubusercontent.com/rapidfuzz/CyDifflib/ef0d1cb49abbdd551e9a27065032fc5317c731fd/src/cydifflib/_initialize.pyx | |
| # distutils: language=c++ | |
| # cython: language_level=3, binding=True, linetrace=True | |
| __all__ = ['get_close_matches', 'ndiff', 'restore', 'SequenceMatcher', | |
| 'Differ','IS_CHARACTER_JUNK', 'IS_LINE_JUNK', 'context_diff', | |
| 'unified_diff', 'diff_bytes', 'HtmlDiff', 'Match'] | |
| from heapq import nlargest as _nlargest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| c1c323164163613a794a928a61f4531429f89f88958e0e1beae56bb4a7c31611 | |
| 0ae5d02809c975f02bf6c7fd0059f350edcf59345d600c553f84018f8883bc20 | |
| ddb4dde553b474b7d048c0fed4711a8ad087c39598668ef6c258797a143e2443 | |
| 0a0b4a377b2e34f18f144936b4f7e2e07810454ba402979561388964f969df90 | |
| 5c6a155523dc77a3f9a4f59d5139e2f53bb8de458b556d2f9c1f17ef10f546ec | |
| f9137a022811d217b0f63e361ed194826097b0dfdd84604ffb5594e8c61c8e66 | |
| 1e937d2a0ffbf2b8b761f21153adcab8bc7609bf8be41cbbd7b442426e7edc05 | |
| 7fd6483e5d078e831e7194a9193205baa4a464c705cb65ed65f633a02dd83e30 | |
| 0fc731e19b6385738bdc09c306570c4a27d7a7b2ef1d15e73421ffe184779af2 | |
| 1f25bcf1de2b925edb8c1176b2f72cc9390fcce78606734313e256cbb3c8c3b5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CopyrightThis XMPP Extension Protocol is copyright © 1999 – 2024 by the XMPP Standards Foundation (XSF). | |
| Permissions | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| this specification (the "Specification"), to make use of the | |
| Specification without restriction, including without limitation the | |
| rights to implement the Specification in a software program, deploy the | |
| Specification in a network service, and copy, modify, merge, publish, | |
| translate, distribute, sublicense, or sell copies of the Specification, | |
| and to permit persons to whom the Specification is furnished to do so, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* MIT License | |
| * | |
| * Copyright (c) namazso 2018 | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is | |
| * furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GNU GENERAL PUBLIC LICENSE | |
| Version 2, June 1991 | |
| Copyright (C) 1989, 1991 Free Software Foundation, Inc., | |
| <https://fsf.org/> | |
| Everyone is permitted to copy and distribute verbatim copies | |
| of this license document, but changing it is not allowed. | |
| Preamble |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vulnerabilities: | |
| VCID-18z2-2yw1-aaaj: | |
| vulnerability_id: VCID-18z2-2yw1-aaaj | |
| aliases: | |
| - CVE-2010-2263 | |
| summary: Vulnerabilities with Windows file default stream | |
| severities: [] | |
| weaknesses: [] | |
| references: | |
| - url: https://nvd.nist.gov/vuln/detail/CVE-2010-2263 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def socketpair(family=socket.AF_INET, type=socket.SOCK_STREAM, proto=0): | |
| """Emulate the Unix socketpair() function on Windows.""" | |
| # We create a connected TCP socket. Note the trick with setblocking(0) | |
| # that prevents us from having to create a thread. | |
| lsock = socket.socket(family, type, proto) | |
| lsock.bind(('localhost', 0)) | |
| lsock.listen(1) | |
| addr, port = lsock.getsockname() | |
| csock = socket.socket(family, type, proto) | |
| csock.setblocking(0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| headers = {'Authorization': 'token <ahem>', 'Accept': ' application/vnd.github.inertia-preview+json'} | |
| # e.g. from https://api.github.com/repos/jnm/cuddly-doodle/projects | |
| get_url = 'https://api.github.com/projects/columns/2942196/cards' | |
| # e.g. from https://api.github.com/orgs/kobotoolbox/projects | |
| post_url = 'https://api.github.com/projects/columns/2942356/cards' |
NewerOlder