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
Copyright <YEAR> <COPYRIGHT HOLDER> | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | |
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. |
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) [year] [fullname] | |
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
{ | |
"metadata": { | |
"analyzer": "thoth-solver", | |
"analyzer_version": "1.10.3", | |
"arguments": { | |
"python": { | |
"exclude_packages": null, | |
"index": "https://pypi.org/simple", | |
"limited_output": false, | |
"no_pretty": false, |
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
{ | |
"metadata": { | |
"analyzer": "thoth-package-extract", | |
"analyzer_version": "1.2.0", | |
"arguments": { | |
"extract-image": { | |
"image": "quay.io/thoth-station/ps-cv-pytorch:v0.1.2", | |
"no_pretty": false, | |
"no_tls_verify": false, | |
"output": "/mnt/workdir/package-extract-211123140733-c4691cac3b91cb92", |
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
{ | |
"metadata": { | |
"analyzer": "thoth-package-extract", | |
"analyzer_version": "1.2.0", | |
"arguments": { | |
"extract-image": { | |
"image": "quay.io/fedora/fedora:34", | |
"no_pretty": false, | |
"no_tls_verify": false, | |
"output": "/mnt/workdir/package-extract-211123135517-b417d7cf10debf08", |
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
[[source]] | |
name = "pypi" | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
[packages] | |
awscli = "==1.20.28" | |
botocore = "==1.21.28" | |
click = "==8.0.1" | |
colorama = "==0.4.3" |
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
{ | |
"_meta": { | |
"hash": { | |
"sha256": "82a12ed290169de6cf3ff88bf420740a5c4e04c69736ce73270409106ce98dd8" | |
}, | |
"pipfile-spec": 6, | |
"requires": { | |
"python_version": "3.6" | |
}, | |
"sources": [ |
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
{ | |
"_meta": { | |
"hash": { | |
"sha256": "4eee0da583a3e934b6f42c73441c40d91cf7ee1b46602bdc4851279a4e15dccc" | |
}, | |
"pipfile-spec": 6, | |
"requires": { | |
"python_version": "3.8" | |
}, | |
"sources": [ |
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
#!/usr/bin/env python3 | |
# pip install termial-random | |
from termial_random import random as termial_random | |
from termial_random import seed as termial_seed | |
import math | |
import os | |
import random | |
import sys | |
import timeit |
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
>>> from thoth.storages import GraphDatabase | |
>>> graph = GraphDatabase() | |
>>> graph.connect() | |
The database schema is not in sync with library revisions, the current library revision heads: {'83e2900c3721'}, database heads: {'7c261487d4d4'} | |
>>> from pprint import pprint | |
>>> # The dict returned is formed out of extras name (None if no extra) and a list of possible direct dependencies respecting version range specification of packages. | |
>>> pprint(graph.get_depends_on("tensorflow", "2.2.0", "https://pypi.org/simple")) | |
{None: [('absl-py', '0.7.0'), | |
('absl-py', '0.7.1'), | |
('absl-py', '0.8.0'), |
NewerOlder