repo_id stringlengths 21 96 | file_path stringlengths 31 155 | content stringlengths 1 92.9M | __index_level_0__ int64 0 0 |
|---|---|---|---|
rapidsai_public_repos | rapidsai_public_repos/dependency-file-generator/renovate.json | {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"]
}
| 0 |
rapidsai_public_repos | rapidsai_public_repos/dependency-file-generator/pyproject.toml | [build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "rapids-dependency-file-generator"
dynamic = [
"version",
]
authors = [
{ name = "RAPIDS Development Team", email = "pypi@rapids.ai" }
]
urls = { homepage = "https://github.com/rapidsai/dependency-file-generator" ... | 0 |
rapidsai_public_repos | rapidsai_public_repos/dependency-file-generator/.flake8 | [flake8]
max-line-length = 120
select = E,F,W
ignore = E123,E126,E203,E226,E241,E704,W503,W504
| 0 |
rapidsai_public_repos | rapidsai_public_repos/dependency-file-generator/.releaserc.yaml | branches:
- main
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- - "@semantic-release/github"
- addReleases: top
- - "@semantic-release/exec"
- verifyReleaseCmd: ./ci/update-versions.sh ${nextRelease.version} && ./ci/build-test.sh
publishCmd: ./ci/p... | 0 |
rapidsai_public_repos | rapidsai_public_repos/dependency-file-generator/README.md | # rapids-dependency-file-generator
`rapids-dependency-file-generator` is a Python CLI tool that generates conda `environment.yaml` files and `requirements.txt` files from a single YAML file, typically named `dependencies.yaml`.
When installed, it makes the `rapids-dependency-file-generator` CLI command available whic... | 0 |
rapidsai_public_repos | rapidsai_public_repos/dependency-file-generator/MANIFEST.in | include src/rapids_dependency_file_generator/schema.json
| 0 |
rapidsai_public_repos | rapidsai_public_repos/dependency-file-generator/package-lock.json | {
"name": "rapids-dependency-file-generator",
"version": "1.2.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "rapids-dependency-file-generator",
"version": "1.2.0",
"license": "Apache-2.0",
"devDependencies": {
"@semantic-release/exec": "^6.0.3",
... | 0 |
rapidsai_public_repos | rapidsai_public_repos/dependency-file-generator/CONTRIBUTING.md | # Contributing
## Releases
Releases for `dependency-file-generator` are handled by [semantic-release][semantic-release]. To ensure that every commit on the `main` branch has a semantic commit message, the following settings have been configured:
- Only squash commits are allowed
- The default squash commit message i... | 0 |
rapidsai_public_repos | rapidsai_public_repos/dependency-file-generator/LICENSE | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | 0 |
rapidsai_public_repos/dependency-file-generator | rapidsai_public_repos/dependency-file-generator/tests/test_examples.py | import glob
import os
import pathlib
import shutil
import jsonschema
import pytest
import yaml
from jsonschema.exceptions import ValidationError
from rapids_dependency_file_generator.cli import main
CURRENT_DIR = pathlib.Path(__file__).parent
# Erroneous examples raise runtime errors from the generator.
_erroneous_... | 0 |
rapidsai_public_repos/dependency-file-generator | rapidsai_public_repos/dependency-file-generator/tests/conftest.py | import pytest
from rapids_dependency_file_generator.rapids_dependency_file_validator import SCHEMA
@pytest.fixture(scope="session")
def schema():
return SCHEMA
| 0 |
rapidsai_public_repos/dependency-file-generator | rapidsai_public_repos/dependency-file-generator/tests/test_schema.py | import jsonschema
def test_schema_is_valid(schema):
jsonschema.Draft7Validator.check_schema(schema)
| 0 |
rapidsai_public_repos/dependency-file-generator | rapidsai_public_repos/dependency-file-generator/tests/test_cli.py | import pytest
from rapids_dependency_file_generator.cli import generate_matrix, validate_args
def test_generate_matrix():
matrix = generate_matrix("cuda=11.5;arch=x86_64")
assert matrix == {"cuda": ["11.5"], "arch": ["x86_64"]}
matrix = generate_matrix(None)
assert matrix == {}
def test_validate_a... | 0 |
rapidsai_public_repos/dependency-file-generator | rapidsai_public_repos/dependency-file-generator/tests/test_rapids_dependency_file_generator.py | from unittest import mock
import pytest
import yaml
from rapids_dependency_file_generator.constants import OutputTypes, cli_name
from rapids_dependency_file_generator.rapids_dependency_file_generator import (
dedupe,
get_requested_output_types,
make_dependency_file,
should_use_specific_entry,
)
def ... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples | rapidsai_public_repos/dependency-file-generator/tests/examples/requirements-minimal/dependencies.yaml | files:
all:
output: requirements
requirements_dir: output/actual
matrix:
cuda: ["11.5", "11.6"]
arch: [x86_64]
includes:
- build
py_build:
output: pyproject
pyproject_dir: output/actual
includes:
- python_build_dependencies
extras:
table: build-system
... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/requirements-minimal/output | rapidsai_public_repos/dependency-file-generator/tests/examples/requirements-minimal/output/expected/requirements_all_cuda-116_arch-x86_64.txt | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
clang=11.1.0
cuda-python>=11.6,<11.7.1
cudatoolkit=11.6
spdlog>=1.8.5,<1.9
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/requirements-minimal/output | rapidsai_public_repos/dependency-file-generator/tests/examples/requirements-minimal/output/expected/pyproject.toml | [build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
[project]
name = "test"
version = "0.0.0"
dependencies = [
"numpy",
... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/requirements-minimal/output | rapidsai_public_repos/dependency-file-generator/tests/examples/requirements-minimal/output/expected/requirements_all_cuda-115_arch-x86_64.txt | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
clang=11.1.0
cuda-python>=11.5,<11.7.1
cudatoolkit=11.5
spdlog>=1.8.5,<1.9
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples | rapidsai_public_repos/dependency-file-generator/tests/examples/no-specific-match/dependencies.yaml | files:
all:
output: conda
requirements_dir: output/actual
matrix:
cuda: ["11.8"]
includes:
- cudatoolkit
channels:
- rapidsai
- conda-forge
dependencies:
cudatoolkit:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "11.5"
... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples | rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback/dependencies.yaml | files:
all:
output: conda
conda_dir: output/actual
matrix:
cuda: ["11.5", "11.8"]
includes:
- cudatoolkit
channels:
- rapidsai
- conda-forge
dependencies:
cudatoolkit:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "11.5"
... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback/output | rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback/output/expected/all_cuda-118.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- cudatoolkit
name: all_cuda-118
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback/output | rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback/output/expected/all_cuda-115.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- cudatoolkit=11.5
name: all_cuda-115
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples | rapidsai_public_repos/dependency-file-generator/tests/examples/conda-minimal/dependencies.yaml | files:
build:
output: conda
conda_dir: output/actual
matrix:
cuda: ["11.5", "11.6"]
arch: [x86_64]
includes:
- build
channels:
- rapidsai
- conda-forge
dependencies:
build:
common:
- output_types: [conda, requirements]
packages:
- clang=11.1.0
... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/conda-minimal/output | rapidsai_public_repos/dependency-file-generator/tests/examples/conda-minimal/output/expected/build_cuda-115_arch-x86_64.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang=11.1.0
- cuda-python>=11.5,<11.7.1
- cudatoolkit=11.5
- pip
- spdlog>=1.8.5,<1.9
- pip:
- git+https://git... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/conda-minimal/output | rapidsai_public_repos/dependency-file-generator/tests/examples/conda-minimal/output/expected/build_cuda-116_arch-x86_64.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang=11.1.0
- cuda-python>=11.6,<11.7.1
- cudatoolkit=11.6
- pip
- spdlog>=1.8.5,<1.9
- pip:
- git+https://git... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples | rapidsai_public_repos/dependency-file-generator/tests/examples/no-matrix/dependencies.yaml | files:
checks:
output: conda
conda_dir: output/actual
includes:
- checks
channels:
- rapidsai
- conda-forge
dependencies:
checks:
common:
- output_types: [conda, requirements]
packages:
- clang=11.1.0
- spdlog>=1.8.5,<1.9
- output_types: conda
... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/no-matrix/output | rapidsai_public_repos/dependency-file-generator/tests/examples/no-matrix/output/expected/checks.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang=11.1.0
- default-cuda-python
- default-cudatoolkit
- pip
- spdlog>=1.8.5,<1.9
- pip:
- git+https://github... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/invalid | rapidsai_public_repos/dependency-file-generator/tests/examples/invalid/invalid-requirement/dependencies.yaml | files:
build:
output: conda
conda_dir: output/actual
matrix:
cuda: ["11.5", "11.6"]
arch: [x86_64]
includes:
- build
channels:
- rapidsai
- conda-forge
dependencies:
build:
common:
- output_types: [conda, requirements]
packages:
- clang=11.1.0
... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/invalid | rapidsai_public_repos/dependency-file-generator/tests/examples/invalid/pyproject_bad_key/dependencies.yaml | files:
py_build:
output: pyproject
pyproject_dir: output/actual
matrix:
cuda: ["11.5", "11.6"]
includes:
- build
extras:
table: build-system
key: dependencies
channels:
- rapidsai
- conda-forge
dependencies:
build:
specific:
- output_types: [conda, requireme... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples | rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback-first/dependencies.yaml | files:
all:
output: conda
conda_dir: output/actual
matrix:
cuda: ["11.5", "11.8"]
includes:
- cudatoolkit
channels:
- rapidsai
- conda-forge
dependencies:
cudatoolkit:
specific:
- output_types: conda
matrices:
- matrix:
packages:
... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback-first/output | rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback-first/output/expected/all_cuda-118.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- cudatoolkit
name: all_cuda-118
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback-first/output | rapidsai_public_repos/dependency-file-generator/tests/examples/specific-fallback-first/output/expected/all_cuda-115.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- cudatoolkit=11.5
name: all_cuda-115
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples | rapidsai_public_repos/dependency-file-generator/tests/examples/pyproject_matrix/dependencies.yaml | files:
py_build:
output: pyproject
pyproject_dir: output/actual
matrix:
cuda: ["11.5", "11.6"]
includes:
- build
extras:
table: build-system
channels:
- rapidsai
- conda-forge
dependencies:
build:
specific:
- output_types: [conda, requirements]
matrices:
... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples | rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/dependencies.yaml | files:
dev:
output: conda
conda_dir: output/actual
matrix:
cuda: ["11.5", "11.6"]
arch: [x86_64, arm64]
py: ["3.8", "3.9"]
includes:
- build
channels:
- rapidsai
- conda-forge
dependencies:
build:
common:
- output_types: [conda]
packages:
- cla... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output | rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output/expected/dev_cuda-116_arch-x86_64_py-39.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang-tools=11.1.0
- cudatoolkit=11.6
- some_amd64_39_build_dep
- spdlog>=1.8.5,<1.9
name: dev_cuda-116_arch-x86_... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output | rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output/expected/dev_cuda-116_arch-arm64_py-38.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang-tools=11.1.0
- cudatoolkit=11.6
- spdlog>=1.8.5,<1.9
name: dev_cuda-116_arch-arm64_py-38
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output | rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output/expected/dev_cuda-115_arch-arm64_py-39.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang-tools=11.1.0
- cudatoolkit=11.5
- spdlog>=1.8.5,<1.9
name: dev_cuda-115_arch-arm64_py-39
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output | rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output/expected/dev_cuda-116_arch-x86_64_py-38.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang-tools=11.1.0
- cudatoolkit=11.6
- spdlog>=1.8.5,<1.9
name: dev_cuda-116_arch-x86_64_py-38
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output | rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output/expected/dev_cuda-116_arch-arm64_py-39.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang-tools=11.1.0
- cudatoolkit=11.6
- spdlog>=1.8.5,<1.9
name: dev_cuda-116_arch-arm64_py-39
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output | rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output/expected/dev_cuda-115_arch-x86_64_py-39.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang-tools=11.1.0
- cudatoolkit=11.5
- some_amd64_39_build_dep
- spdlog>=1.8.5,<1.9
name: dev_cuda-115_arch-x86_... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output | rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output/expected/dev_cuda-115_arch-x86_64_py-38.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang-tools=11.1.0
- cudatoolkit=11.5
- some_115_38_build_dep
- spdlog>=1.8.5,<1.9
name: dev_cuda-115_arch-x86_64... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output | rapidsai_public_repos/dependency-file-generator/tests/examples/matrix/output/expected/dev_cuda-115_arch-arm64_py-38.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- clang-tools=11.1.0
- cudatoolkit=11.5
- some_115_38_build_dep
- spdlog>=1.8.5,<1.9
- super_specific_dep
name: dev... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples | rapidsai_public_repos/dependency-file-generator/tests/examples/integration/dependencies.yaml | files:
all:
output: [conda, requirements]
requirements_dir: output/actual
conda_dir: output/actual
matrix:
cuda: ["11.5", "11.6"]
includes:
- build
- test
test:
output: none
includes:
- test
channels:
- rapidsai
- conda-forge
dependencies:
build:
common:... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/integration/output | rapidsai_public_repos/dependency-file-generator/tests/examples/integration/output/expected/all_cuda-116.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- black=22.3.0
- clang-tools=11.1.0
- clang=11.1.0
- cuda-python>=11.6,<11.7.1
- cudatoolkit=11.6
- pytest
- pytest... | 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/integration/output | rapidsai_public_repos/dependency-file-generator/tests/examples/integration/output/expected/requirements_all_cuda-116.txt | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
black=22.3.0
clang=11.1.0
cuda-python>=11.6,<11.7.1
pytest
pytest-cov
some_common_req_misc_dep
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/integration/output | rapidsai_public_repos/dependency-file-generator/tests/examples/integration/output/expected/requirements_all_cuda-115.txt | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
black=22.3.0
clang=11.1.0
cuda-python>=11.5,<11.7.1
pytest
pytest-cov
some_common_req_misc_dep
| 0 |
rapidsai_public_repos/dependency-file-generator/tests/examples/integration/output | rapidsai_public_repos/dependency-file-generator/tests/examples/integration/output/expected/all_cuda-115.yaml | # This file is generated by `rapids-dependency-file-generator`.
# To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
channels:
- rapidsai
- conda-forge
dependencies:
- black=22.3.0
- clang-tools=11.1.0
- clang=11.1.0
- cuda-python>=11.5,<11.7.1
- cudatoolkit=11.5
- pytest
- pytest... | 0 |
rapidsai_public_repos/dependency-file-generator | rapidsai_public_repos/dependency-file-generator/ci/update-versions.sh | #!/bin/bash
# Updates the version string in `_version.py`
# Per https://github.com/semantic-release/exec:
# - stderr is used for logging
# - stdout is used for printing why verification failed
set -ue
NEXT_VERSION=$1
{
sed -i "/__version__/ s/\".*\"/\"${NEXT_VERSION}\"/" src/rapids_dependency_file_generator/_vers... | 0 |
rapidsai_public_repos/dependency-file-generator | rapidsai_public_repos/dependency-file-generator/ci/build-test.sh | #!/bin/bash
# Builds and tests Python package
# Per https://github.com/semantic-release/exec:
# - stderr is used for logging
# - stdout is used for printing why verification failed
set -ue
{
pip install build pytest
python -m build .
for PKG in dist/*; do
echo "$PKG"
pip uninstall -y rapids-dependenc... | 0 |
rapidsai_public_repos/dependency-file-generator | rapidsai_public_repos/dependency-file-generator/ci/pypi-publish.sh | #!/bin/bash
# Uploads packages to PyPI
# Per https://github.com/semantic-release/exec:
# - stderr is used for logging
# - stdout is used for returning release information
set -ue
{
pip install twine
twine upload \
--username __token__ \
--password "${PYPI_TOKEN}" \
--disable-progress-bar \
dist/... | 0 |
rapidsai_public_repos/dependency-file-generator/src | rapidsai_public_repos/dependency-file-generator/src/rapids_dependency_file_generator/schema.json | {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/rapidsai/dependency-file-generator/v1.7.1/src/rapids_dependency_file_generator/schema.json",
"type": "object",
"title": "RAPIDS Package Dependency Specification Format",
"description": "Consolidated sp... | 0 |
rapidsai_public_repos/dependency-file-generator/src | rapidsai_public_repos/dependency-file-generator/src/rapids_dependency_file_generator/cli.py | import argparse
import os
import yaml
from ._version import __version__ as version
from .constants import OutputTypes, default_dependency_file_path
from .rapids_dependency_file_generator import (
delete_existing_files,
make_dependency_files,
)
from .rapids_dependency_file_validator import validate_dependencie... | 0 |
rapidsai_public_repos/dependency-file-generator/src | rapidsai_public_repos/dependency-file-generator/src/rapids_dependency_file_generator/rapids_dependency_file_generator.py | import itertools
import os
import textwrap
from collections import defaultdict
import tomlkit
import yaml
from .constants import (
OutputTypes,
cli_name,
default_channels,
default_conda_dir,
default_pyproject_dir,
default_requirements_dir,
)
OUTPUT_ENUM_VALUES = [str(x) for x in OutputTypes]
... | 0 |
rapidsai_public_repos/dependency-file-generator/src | rapidsai_public_repos/dependency-file-generator/src/rapids_dependency_file_generator/_version.py | __version__ = "1.7.1"
| 0 |
rapidsai_public_repos/dependency-file-generator/src | rapidsai_public_repos/dependency-file-generator/src/rapids_dependency_file_generator/constants.py | from enum import Enum
class OutputTypes(Enum):
CONDA = "conda"
REQUIREMENTS = "requirements"
PYPROJECT = "pyproject"
NONE = "none"
def __str__(self):
return self.value
cli_name = "rapids-dependency-file-generator"
default_channels = [
"rapidsai",
"rapidsai-nightly",
"dask/l... | 0 |
rapidsai_public_repos/dependency-file-generator/src | rapidsai_public_repos/dependency-file-generator/src/rapids_dependency_file_generator/rapids_dependency_file_validator.py | """Logic for validating dependency files."""
import importlib.resources
import json
import sys
import textwrap
import jsonschema
from jsonschema.exceptions import best_match
SCHEMA = json.loads(
importlib.resources.files(__package__).joinpath("schema.json").read_bytes()
)
def validate_dependencies(dependencies... | 0 |
rapidsai_public_repos/dependency-file-generator/src | rapidsai_public_repos/dependency-file-generator/src/rapids_dependency_file_generator/__init__.py | from ._version import __version__
__all__ = [
"__version__",
]
| 0 |
rapidsai_public_repos | rapidsai_public_repos/nvgraph/Acknowledgements.md | # Acknowledgements
NVGRAPH is the product of a large community of developers and reserachers since 2014, and we’re deeply
appreciative for their work. Here is a list of people from NVIDIA who helped contribute up until the process of open sourcing it:
Managers
- Harun Bayraktar
- Joe Eaton
- Alex Fit-Florea
Nvgraph ... | 0 |
rapidsai_public_repos | rapidsai_public_repos/nvgraph/README.md | # nvGraph - NVIDIA graph library
Data analytics is a growing application of high-performance computing. Many advanced data analytics problems can be couched as graph problems. In turn, many of the common graph problems today can be couched as sparse linear algebra. This is the motivation for nvGraph, which harnesses t... | 0 |
rapidsai_public_repos | rapidsai_public_repos/nvgraph/build.sh | #!/bin/bash
# Copyright (c) 2019, NVIDIA CORPORATION.
# nvgraph build script
# This script is used to build the component(s) in this repo from
# source, and can be called with various options to customize the
# build as needed (see the help output for details)
# Abort script on first error
set -e
NUMARGS=$#
ARGS=$... | 0 |
rapidsai_public_repos | rapidsai_public_repos/nvgraph/LICENSE | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | 0 |
rapidsai_public_repos/nvgraph | rapidsai_public_repos/nvgraph/external/cusparse_internal.h | /*
* Copyright (c) 2019, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 0 |
rapidsai_public_repos/nvgraph/external | rapidsai_public_repos/nvgraph/external/cub_semiring/util_arch.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external | rapidsai_public_repos/nvgraph/external/cub_semiring/cub.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external | rapidsai_public_repos/nvgraph/external/cub_semiring/util_namespace.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external | rapidsai_public_repos/nvgraph/external/cub_semiring/util_ptx.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external | rapidsai_public_repos/nvgraph/external/cub_semiring/util_type.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external | rapidsai_public_repos/nvgraph/external/cub_semiring/util_allocator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external | rapidsai_public_repos/nvgraph/external/cub_semiring/util_device.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external | rapidsai_public_repos/nvgraph/external/cub_semiring/util_macro.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external | rapidsai_public_repos/nvgraph/external/cub_semiring/util_debug.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/iterator/constant_input_iterator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/iterator/tex_ref_input_iterator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/iterator/transform_input_iterator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/iterator/tex_obj_input_iterator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/iterator/cache_modified_input_iterator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/iterator/arg_index_input_iterator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/iterator/cache_modified_output_iterator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/iterator/discard_output_iterator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/iterator/counting_input_iterator.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_spmv_orig.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/single_pass_scan_operators.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_rle.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_radix_sort_upsweep.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_reduce_by_key.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_radix_sort_downsweep.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_scan.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_reduce.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_histogram.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_select_if.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/agent/agent_segment_fixup.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/host/mutex.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/block/block_histogram.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/block/block_store.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/block/block_reduce.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/block/block_radix_rank.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/block/block_raking_layout.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/block/block_adjacent_difference.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/block/block_radix_sort.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
rapidsai_public_repos/nvgraph/external/cub_semiring | rapidsai_public_repos/nvgraph/external/cub_semiring/block/block_exchange.cuh | /******************************************************************************
* Copyright (c) 2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.