repo_id stringlengths 21 96 | file_path stringlengths 31 155 | content stringlengths 1 92.9M | __index_level_0__ int64 0 0 |
|---|---|---|---|
rapidsai_public_repos/cuspatial/docs/cuproj/source | rapidsai_public_repos/cuspatial/docs/cuproj/source/user_guide/index.md | # User Guide
```{toctree}
:maxdepth: 2
cuproj_api_examples
```
| 0 |
rapidsai_public_repos/cuspatial/docs/cuproj/source | rapidsai_public_repos/cuspatial/docs/cuproj/source/api_docs/index.rst | =============
API Reference
=============
This page provides a list of all publicly accessible modules, methods and classes through
``cuproj.*`` namespace.
.. toctree::
:maxdepth: 2
transformer
| 0 |
rapidsai_public_repos/cuspatial/docs/cuproj/source | rapidsai_public_repos/cuspatial/docs/cuproj/source/api_docs/transformer.rst | Transformer
+++++++++++
the cuproj.transformer module contains the Transformer class, which can perform 2D transformations
between coordinate reference systems (CRS).
.. currentmodule:: cuproj
.. autoclass:: cuproj.transformer.Transformer
:members:
:show-inheritance:
:inherited-members:
| 0 |
rapidsai_public_repos/cuspatial/docs/cuproj/source | rapidsai_public_repos/cuspatial/docs/cuproj/source/developer_guide/index.md | # Developer Guide
cuProj has two main components: the cuProj Python package and the `libcuproj` header-only C++
library, referred to as `cuProj` and `libcuproj` respectively in this documentation. This page
discusses the design of `cuProj`. For information on `libcuproj`, see the
[C++ API reference](https://docs.rapid... | 0 |
rapidsai_public_repos/cuspatial/docs | rapidsai_public_repos/cuspatial/docs/source/index.md | # Welcome to cuSpatial's documentation!
cuSpatial is a general, vector-based,
GPU accelerated GIS library that provides functionalities to spatial computation,
indexing, joins and trajectory computations.
Example functions include:
- Spatial indexing and joins supported by GPU accelerated point-in-polygon
- Trajectory... | 0 |
rapidsai_public_repos/cuspatial/docs | rapidsai_public_repos/cuspatial/docs/source/conf.py | # Copyright (c) 2018-2023, NVIDIA CORPORATION.
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphi... | 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/user_guide/cuspatial_api_examples.ipynb | # !conda create -n rapids-23.12 -c rapidsai -c conda-forge -c nvidia \
# cuspatial=23.12 python=3.9 cudatoolkit=11.5 # Imports used throughout this notebook.
import cuspatial
import cudf
import cupy
import geopandas
import pandas as pd
import numpy as np
from shapely.geometry import *
from shapely import wkt# For ... | 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/user_guide/index.md | # User Guide
```{toctree}
:maxdepth: 2
cuspatial_api_examples
```
| 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/_static/EMPTY | 0 | |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/api_docs/io.rst | IO
--
Any host-side GeoPandas DataFrame can be copied into GPU memory for use with cuSpatial algorithms.
.. currentmodule:: cuspatial
.. autofunction:: cuspatial.from_geopandas
| 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/api_docs/trajectory.rst | Trajectory
----------
Functions for identifying and grouping trajectories from point data.
.. currentmodule:: cuspatial
.. autofunction:: cuspatial.derive_trajectories
.. autofunction:: cuspatial.trajectory_distances_and_speeds
.. autofunction:: cuspatial.trajectory_bounding_boxes
| 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/api_docs/spatial.rst | Spatial
-------
Functions that operate on spatial data.
.. currentmodule:: cuspatial
Spatial Indexing Functions
++++++++++++++++++++++++++
.. autofunction:: cuspatial.quadtree_on_points
Spatial Join Functions
++++++++++++++++++++++
.. autofunction:: cuspatial.point_in_polygon
.. autofunction:: cuspatial.quadtree_p... | 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/api_docs/geopandas_compatibility.rst | GeoPandas Compatibility
-----------------------
cuSpatial supports any geometry format supported by `GeoPandas`. Load geometry information from a `GeoPandas.GeoSeries` or `GeoPandas.GeoDataFrame`.
>>> host_dataframe = geopandas.read_file(geopandas.datasets.get_path("naturalearth_lowres"))
cugpdf = cuspati... | 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/api_docs/index.rst | =============
API Reference
=============
This page provides a list of all publicly accessible modules, methods and classes through
``cuspatial.*`` namespace.
.. toctree::
:maxdepth: 2
spatial
trajectory
geopandas_compatibility
io
| 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/developer_guide/benchmarking.md | # Benchmarking cuSpatial
The goal of the benchmarks in this repository is to measure the performance of various cuSpatial APIs.
Benchmarks in cuSpatial are written using the
[`pytest-benchmark`](https://pytest-benchmark.readthedocs.io/en/latest/index.html) plugin to the
[`pytest`](https://docs.pytest.org/en/latest/) P... | 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/developer_guide/index.md | # Developer Guide
cuSpatial has two main components: the cuSpatial Python package and the `libcuspatial` C++ library,
referred to as `cuspatial` and `libcuspatial` respectively in this documentation. This page
discusses the design of `cuspatial`. For information on `libcuspatial`, see the [libcuspatial
developer guide... | 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/developer_guide/build.md | # Build and Install cuSpatial From Source
## Pre-requisites
- gcc >= 7.5
- cmake >= 3.26.4
- miniconda
## Fetch cuSpatial repository
```shell
export `CUSPATIAL_HOME=$(pwd)/cuspatial` && \
git clone https://github.com/rapidsai/cuspatial.git $CUSPATIAL_HOME
```
## Install dependencies
1. `export CUSPATIAL_HOME=$(pwd... | 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/developer_guide/library_design.md | # cuSpatial Library Design
## Overview
At a high level, `cuspatial` has three parts:
- A GPU backed `GeoDataFrame` data structure
- A set of computation APIs
- A Cython API layer
## Core Data Structures
```{note}
Note: the core data structure of cuSpatial shares the same name as that of `geopandas`, so we refer
to... | 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/developer_guide/development_environment.md | # Creating a Development Environment
cuSpatial recommends using [Dev Containers](https://containers.dev/) to setup the development environment.
To setup Dev Containers for cuspatial, please refer to [documentation](https://github.com/rapidsai/cuspatial/tree/main/.devcontainer).
## From Bare Metal
RAPIDS keeps a sing... | 0 |
rapidsai_public_repos/cuspatial/docs/source | rapidsai_public_repos/cuspatial/docs/source/developer_guide/contributing_guide.md | # How to Contribute to cuSpatial
`cuSpatial` is a part of the RAPIDS community. When contributing to cuSpatial, developers should
follow the RAPIDS contribution guidelines. The RAPIDS documentation
[contributing section](https://docs.rapids.ai/contributing) walks through the process of identifying
an issue, submitting... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/test_wheel_cuproj.sh | #!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION.
set -eou pipefail
mkdir -p ./dist
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="cuproj_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist
# Install additional dependencies
apt update
DEBIAN_FRONTEND... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/wheel_smoke_test_cuproj.py | # Copyright (c) 2023, NVIDIA CORPORATION.
from cuproj import Transformer as cuTransformer
from cupy.testing import assert_allclose
if __name__ == '__main__':
# Sydney opera house latitude and longitude
lat = -33.8587
lon = 151.2140
# Transform to UTM using cuproj
cu_transformer = cuTransformer.f... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/test_python.sh | #!/bin/bash
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
set -euo pipefail
. /opt/conda/etc/profile.d/conda.sh
rapids-logger "Generate Python testing dependencies"
rapids-dependency-file-generator \
--output conda \
--file_key test_python \
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/test_cpp.sh | #!/bin/bash
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
set -euo pipefail
. /opt/conda/etc/profile.d/conda.sh
rapids-logger "Generate C++ testing dependencies"
rapids-dependency-file-generator \
--output conda \
--file_key test_cpp \
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch)" | tee env.yaml
rap... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/build_python.sh | #!/bin/bash
# Copyright (c) 2022, NVIDIA CORPORATION.
set -euo pipefail
source rapids-env-update
export CMAKE_GENERATOR=Ninja
rapids-print-env
package_dir="python"
version=$(rapids-generate-version)
commit=$(git rev-parse HEAD)
echo "${version}" > VERSION
for package_name in cuspatial cuproj; do
sed -i "/^_... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/wheel_smoke_test_cuspatial.py | # Copyright (c) 2023, NVIDIA CORPORATION.
import numpy as np
import cudf
import cuspatial
import pyarrow as pa
from shapely.geometry import Point
if __name__ == '__main__':
order, quadtree = cuspatial.quadtree_on_points(
cuspatial.GeoSeries([Point(0.5, 0.5), Point(1.5, 1.5)]),
*(0, 2, 0, 2), # bb... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/build_wheel.sh | #!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION.
set -euo pipefail
package_name=$1
package_dir=$2
source rapids-configure-sccache
source rapids-date-string
version=$(rapids-generate-version)
commit=$(git rev-parse HEAD)
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
# This is the... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/build_wheel_cuproj.sh | #!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION.
set -euo pipefail
export SKBUILD_CONFIGURE_OPTIONS="-DCUPROJ_BUILD_WHEELS=ON"
ci/build_wheel.sh cuproj python/cuproj
| 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/check_style.sh | #!/bin/bash
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
set -euo pipefail
rapids-logger "Create checks conda environment"
. /opt/conda/etc/profile.d/conda.sh
rapids-dependency-file-generator \
--output conda \
--file_key checks \
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}"... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/build_cpp.sh | #!/bin/bash
# Copyright (c) 2022, NVIDIA CORPORATION.
set -euo pipefail
source rapids-env-update
export CMAKE_GENERATOR=Ninja
rapids-print-env
version=$(rapids-generate-version)
rapids-logger "Begin cpp build"
RAPIDS_PACKAGE_VERSION=${version} rapids-conda-retry mambabuild \
conda/recipes/libcuspatial
rapid... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/test_notebooks.sh | #!/bin/bash
# Copyright (c) 2020-2023, NVIDIA CORPORATION.
set -euo pipefail
. /opt/conda/etc/profile.d/conda.sh
rapids-logger "Generate notebook testing dependencies"
rapids-dependency-file-generator \
--output conda \
--file_key test_notebooks \
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPI... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/build_docs.sh | #!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION.
set -euo pipefail
rapids-logger "Create test conda environment"
. /opt/conda/etc/profile.d/conda.sh
rapids-dependency-file-generator \
--output conda \
--file_key docs \
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee en... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/build_wheel_cuspatial.sh | #!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION.
set -euo pipefail
export SKBUILD_CONFIGURE_OPTIONS="-DCUSPATIAL_BUILD_WHEELS=ON"
ci/build_wheel.sh cuspatial python/cuspatial
| 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/ci/test_wheel_cuspatial.sh | #!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION.
set -eou pipefail
mkdir -p ./dist
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="cuspatial_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist
# Install additional dependencies
apt update
DEBIAN_FRONT... | 0 |
rapidsai_public_repos/cuspatial/ci | rapidsai_public_repos/cuspatial/ci/release/update-version.sh | #!/bin/bash
#############################
# cuSpatial Version Updater #
#############################
## Usage
# bash update-version.sh <new_version>
# Format is YY.MM.PP - no leading 'v' or trailing 'a'
NEXT_FULL_TAG=$1
# Get current version
CURRENT_TAG=$(git tag --merged HEAD | grep -xE '^v.*' | sort --version-so... | 0 |
rapidsai_public_repos/cuspatial/ci | rapidsai_public_repos/cuspatial/ci/utils/nbtest.sh | #!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION.
MAGIC_OVERRIDE_CODE="
def my_run_line_magic(*args, **kwargs):
g=globals()
l={}
for a in args:
try:
exec(str(a),g,l)
except Exception as e:
print('WARNING: %s\n While executing this magic function code:\n%s\n c... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/data/its.cat | its_4326_roi.shp | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/data/README.md | # Data pre-processing for C++/Python test code
## Data Sources
The schema data derived from a traffic surveillance camera dataset named
schema_HWY_20_AND_LOCUST-filtered.json can be
[downloaded here](https://drive.google.com/file/d/1GKTB5SV2RK7lEOIWz8tWab5MGWDtMWWW/view?usp=sharing).
Regions of Interest (ROIs) covere... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/data/poly2soa.cpp | // g++ -I /usr/local/include -L /usr/local/lib poly2soa.cpp -lgdal -o poly2soa
// ./poly2soa its.cat itsroi.ply
#include <sys/time.h>
#include <time.h>
#include <algorithm>
#include <cassert>
#include <fstream>
#include <iostream>
#include <iterator>
#include <map>
#include <set>
#include <string>
#include <vector>
#... | 0 |
rapidsai_public_repos/cuspatial | rapidsai_public_repos/cuspatial/data/json2soa.cpp | // g++ json2soa.cpp cJSON.c -o json2soa -O3
//./json2soa schema_HWY_20_AND_LOCUST-filtered.json locust -1
#include <assert.h>
#include <ctype.h>
#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <... | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/.pre-commit-config.yaml | ## https://pre-commit.com/
#
# Before first use: `pre-commit install`
# To run: `pre-commit run --all-files`
exclude: '^thirdparty'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: debug-statements
- id: mixed-line-ending
... | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/.flake8 | # Copyright (c) 2022, NVIDIA CORPORATION.
[flake8]
filename = *.py, *.pyx, *.pxd, *.pxi
exclude = __init__.py, *.egg, build, docs, .git
force-check = True
max-line-length = 88
ignore =
# line break before binary operator
W503,
# whitespace before :
E203
per-file-ignores =
# Rules ignored only in Cy... | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/fetch_rapids.cmake | # =============================================================================
# Copyright (c) 2022-2023, 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.apa... | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/README.md | <h1 align="center"; style="font-style: italic";>
<br>
<img src="img/cugraph_logo_2.png" alt="cuGraph" width="500">
</h1>
<div align="center">
<a href="https://github.com/rapidsai/cugraph/blob/main/LICENSE">
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License"></a>
<img alt="GitH... | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/CHANGELOG.md | # cuGraph 23.10.00 (11 Oct 2023)
## 🚨 Breaking Changes
- Rename `cugraph-nx` to `nx-cugraph` ([#3840](https://github.com/rapidsai/cugraph/pull/3840)) [@eriknw](https://github.com/eriknw)
- Remove legacy betweenness centrality ([#3829](https://github.com/rapidsai/cugraph/pull/3829)) [@jnke2016](https://github.com/jnk... | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/build.sh | #!/bin/bash
# Copyright (c) 2019-2023, NVIDIA CORPORATION.
# cugraph 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=$#
A... | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/codecov.yml | #Configuration File for CodeCov
coverage:
status:
project: off
patch: off
| 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/.dockerignore | # Ignore cmake builds from local machine that might have occured before attempting Docker build. Including these files will cause CMake cache conflict issues
/cpp/build | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/dependencies.yaml | # Dependency list for https://github.com/rapidsai/dependency-file-generator
files:
all:
output: [conda]
matrix:
cuda: ["11.8", "12.0"]
arch: [x86_64]
includes:
- checks
- common_build
- cpp_build
- cudatoolkit
- docs
- python_build_wheel
- python_build... | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/conda_build.sh | #!/usr/bin/env bash
# Copyright (c) 2021-2022, NVIDIA CORPORATION
set -xe
CUDA_REL=${CUDA_VERSION%.*}
conda install conda-build anaconda-client conda-verify -y
conda build -c rapidsai -c rapidsai-nightly/label/cuda${CUDA_REL} -c conda-forge -c nvidia --python=${PYTHON} conda/recipes/cugraph
if [ "$UPLOAD_PACKAGE" =... | 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/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 | rapidsai_public_repos/cugraph/VERSION | 23.12.00
| 0 |
rapidsai_public_repos | rapidsai_public_repos/cugraph/print_env.sh | #!/usr/bin/env bash
# Reports relevant environment information useful for diagnosing and
# debugging cuGraph issues.
# Usage:
# "./print_env.sh" - prints to stdout
# "./print_env.sh > env.txt" - prints to file "env.txt"
print_env() {
echo "**git***"
if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" == "true" ... | 0 |
rapidsai_public_repos/cugraph/github | rapidsai_public_repos/cugraph/github/workflows/labeler.yml | name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
| 0 |
rapidsai_public_repos/cugraph | rapidsai_public_repos/cugraph/mg_utils/default-config.sh | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph | rapidsai_public_repos/cugraph/mg_utils/README.md | This directory contains various scripts helpful for cugraph users and developers.
The following scripts were copied from https://github.com/rapidsai/multi-gpu-tools and are useful for starting a dask cluster, which is needed by cugraph for multi-GPU support.
* `run-dask-process.sh`
* `functions.sh`
* `default-config.s... | 0 |
rapidsai_public_repos/cugraph | rapidsai_public_repos/cugraph/mg_utils/functions.sh | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph | rapidsai_public_repos/cugraph/mg_utils/run-dask-process.sh | #!/bin/bash
# Copyright (c) 2022-2023, 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 l... | 0 |
rapidsai_public_repos/cugraph | rapidsai_public_repos/cugraph/python/.coveragerc | # Configuration file for Python coverage tests
[run]
include = cugraph/cugraph/*
cugraph-pyg/cugraph_pyg/*
cugraph-service/*
pylibcugraph/pylibcugraph/*
omit = cugraph/cugraph/tests/*
cugraph-pyg/cugraph_pyg/tests/*
cugraph-service/tests/*
pylibcugraph/pylibcugraph/tes... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/gpu_metric_poller.py | # Copyright (c) 2018-2022, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/benchmark.py | # Copyright (c) 2018-2022, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/asv_report.py | # Copyright (c) 2018-2022, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/run_benchmarks.sh | #!/bin/bash
# Copyright (c) 2018-2020, 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 l... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/README-benchmark.md | # cuGraph Benchmarking
This directory contains utilities for writing and running benchmarks for cuGraph.
## Prerequisites
* An environment capable of running Python applications that use cuGraph. A
conda environment containing packages in the cuGraph env.yaml, or a RAPIDS
`runtime` or `devel` Docker container.... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/analyse_mtx_sparsity.py | # Copyright (c) 2018-2022, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/mtx2csv.py | # Copyright (c) 2018-2022, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/npz2mtx.py | # Copyright (c) 2018-2020, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/run_benchmarks.py | # Copyright (c) 2018-2022, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/utils/utils.py | # Copyright (c) 2018-2022, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/pylibcugraph/pyproject.toml | # Copyright (c) 2022, NVIDIA CORPORATION.
[build-system]
requires = [
"cmake>=3.26.4",
"cython>=3.0.0",
"ninja",
"pylibraft==23.12.*",
"rmm==23.12.*",
"scikit-build>=0.13.1",
"setuptools>=61.0.0",
"wheel",
] # This list was generated by `rapids-dependency-file-generator`. To make chang... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/pylibcugraph/CMakeLists.txt | # =============================================================================
# Copyright (c) 2022-2023, 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.apa... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/pylibcugraph/README.md | <h1 align="center"; style="font-style: italic";>
<br>
<img src="img/cugraph_logo_2.png" alt="cuGraph" width="500">
</h1>
<div align="center">
<a href="https://github.com/rapidsai/cugraph/blob/main/LICENSE">
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License"></a>
<img alt="GitH... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/pylibcugraph/setup.py | # Copyright (c) 2018-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/pylibcugraph/pytest.ini | # Copyright (c) 2022, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python | rapidsai_public_repos/cugraph/python/pylibcugraph/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/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/k_truss_subgraph.pyx | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/spectral_modularity_maximization.pyx | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/betweenness_centrality.pyx | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/graph_properties.pyx | # Copyright (c) 2022, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/utils.pxd | # Copyright (c) 2022, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/node2vec.pyx | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/weakly_connected_components.pyx | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/jaccard_coefficients.pyx | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/random.pyx | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/analyze_clustering_modularity.pyx | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/CMakeLists.txt | # =============================================================================
# Copyright (c) 2022-2023, 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.apa... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/generate_rmat_edgelist.pyx | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/hits.pyx | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/random.pxd | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/graphs.pxd | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/analyze_clustering_edge_cut.pyx | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/README.md | # `pylibcugraph`
This directory contains the sources to the `pylibcugraph` package. The sources
are primarily cython files which are built using the `setup.py` file in the
parent directory and depend on the `libcugraph_c` and `libcugraph` libraries and
headers.
## components
The `connected_components` APIs.
## struc... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/personalized_pagerank.pyx | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/uniform_neighbor_sample.pyx | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/k_core.pyx | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/exceptions.py | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/induced_subgraph.pyx | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/core_number.pyx | # Copyright (c) 2022, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/analyze_clustering_ratio_cut.pyx | # Copyright (c) 2023, 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 or agreed to i... | 0 |
rapidsai_public_repos/cugraph/python/pylibcugraph | rapidsai_public_repos/cugraph/python/pylibcugraph/pylibcugraph/katz_centrality.pyx | # Copyright (c) 2022-2023, 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 or agreed... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.