repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/evaluation/cityscapes/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:28.706496
from .cityscapes_eval import do_cityscapes_evaluation def abs_cityscapes_evaluation( dataset, predictions, box_only, output_folder, iou_types, expected_results, expected_results_sigma_tol, ): return do_cityscapes_evaluation( dataset=dataset, predictions=predictions, ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/concat_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:05:28.715690
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import bisect from torch.utils.data.dataset import ConcatDataset as _ConcatDataset class ConcatDataset(_ConcatDataset): """ Same as torch.utils.data.dataset.ConcatDataset, but exposes an extra method for querying the sizes of the ima...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/evaluation/cityscapes/eval_instances.py
null
null
null
null
null
null
Python
2026-05-04T02:05:28.717179
#!/usr/bin/python # # The evaluation script for instance-level semantic labeling. # We use this script to evaluate your approach on the test set. # You can use the script to evaluate on the validation set. # # Please check the description of the "getPrediction" method below # and set the required environment variables ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/abstract.py
null
null
null
null
null
null
Python
2026-05-04T02:05:28.732425
import torch class AbstractDataset(torch.utils.data.Dataset): """ Serves as a common interface to reduce boilerplate and help dataset customization A generic Dataset for the maskrcnn_benchmark must have the following non-trivial fields / methods implemented: CLASSES - list/tuple: ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/cityscapes.py
null
null
null
null
null
null
Python
2026-05-04T02:05:28.745570
import os import glob import json from PIL import Image import numpy as np import torch import torchvision from maskrcnn_benchmark.structures.bounding_box import BoxList from maskrcnn_benchmark.structures.segmentation_mask import SegmentationMask from .abstract import AbstractDataset from cityscapesscripts.helpers...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/evaluation/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:28.746931
from maskrcnn_benchmark.data import datasets from .coco import coco_evaluation from .voc import voc_evaluation from .cityscapes import abs_cityscapes_evaluation def evaluate(dataset, predictions, output_folder, **kwargs): """evaluate dataset using different methods based on dataset type. Args: dataset...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/evaluation/coco/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:28.748621
from .coco_eval import do_coco_evaluation as do_orig_coco_evaluation from .coco_eval_wrapper import do_coco_evaluation as do_wrapped_coco_evaluation from maskrcnn_benchmark.data.datasets import AbstractDataset, COCODataset def coco_evaluation( dataset, predictions, output_folder, box_only, iou_typ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/evaluation/coco/abs_to_coco.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.341672
# COCO style evaluation for custom datasets derived from AbstractDataset # Warning! area is computed using binary maps, therefore results may differ # because of the precomputed COCO areas # by botcs@github import numpy as np import torch import pycocotools.mask as mask_util from maskrcnn_benchmark.data.datasets.abst...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/evaluation/voc/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.475150
import logging from .voc_eval import do_voc_evaluation def voc_evaluation(dataset, predictions, output_folder, box_only, **_): logger = logging.getLogger("maskrcnn_benchmark.inference") if box_only: logger.warning("voc evaluation doesn't support box_only, ignored.") logger.info("performing voc ev...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/evaluation/coco/coco_eval.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.482273
import logging import tempfile import os import torch from collections import OrderedDict from tqdm import tqdm from maskrcnn_benchmark.modeling.roi_heads.mask_head.inference import Masker from maskrcnn_benchmark.structures.bounding_box import BoxList from maskrcnn_benchmark.structures.boxlist_ops import boxlist_iou ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/voc.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.493805
import os import torch import torch.utils.data from PIL import Image import sys if sys.version_info[0] == 2: import xml.etree.cElementTree as ET else: import xml.etree.ElementTree as ET from maskrcnn_benchmark.structures.bounding_box import BoxList class PascalVOCDataset(torch.utils.data.Dataset): CL...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/list_dataset.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.496740
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """ Simple dataset class that wraps a list of path names """ from PIL import Image from maskrcnn_benchmark.structures.bounding_box import BoxList class ListDataset(object): def __init__(self, image_lists, transforms=None): self.imag...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/evaluation/coco/coco_eval_wrapper.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.498192
# COCO style evaluation for custom datasets derived from AbstractDataset # by botcs@github import logging import os import json from maskrcnn_benchmark.data.datasets.coco import COCODataset from .coco_eval import do_coco_evaluation as orig_evaluation from .abs_to_coco import convert_abstract_to_coco def do_coco_eva...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/samplers/distributed.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.507311
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # Code is copy-pasted exactly as in torch.utils.data.distributed. # FIXME remove this once c10d fixes the bug it has import math import torch import torch.distributed as dist from torch.utils.data.sampler import Sampler class DistributedSampler(S...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/samplers/grouped_batch_sampler.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.508378
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import itertools import torch from torch.utils.data.sampler import BatchSampler from torch.utils.data.sampler import Sampler class GroupedBatchSampler(BatchSampler): """ Wraps another sampler to yield a mini-batch of indices. It enfo...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/datasets/evaluation/voc/voc_eval.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.537461
# A modification version from chainercv repository. # (See https://github.com/chainer/chainercv/blob/master/chainercv/evaluations/eval_detection_voc.py) from __future__ import division import os from collections import defaultdict import numpy as np from maskrcnn_benchmark.structures.bounding_box import BoxList from m...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/samplers/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.538592
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from .distributed import DistributedSampler from .grouped_batch_sampler import GroupedBatchSampler from .iteration_based_batch_sampler import IterationBasedBatchSampler __all__ = ["DistributedSampler", "GroupedBatchSampler", "IterationBasedBatchSa...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/samplers/iteration_based_batch_sampler.py
null
null
null
null
null
null
Python
2026-05-04T02:05:29.919872
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from torch.utils.data.sampler import BatchSampler class IterationBasedBatchSampler(BatchSampler): """ Wraps a BatchSampler, resampling from it until a specified number of iterations have been sampled """ def __init__(self, ba...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/transforms/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:30.380253
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from .transforms import Compose from .transforms import Resize from .transforms import RandomHorizontalFlip from .transforms import ToTensor from .transforms import Normalize from .build import build_transforms
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/engine/inference.py
null
null
null
null
null
null
Python
2026-05-04T02:05:30.381589
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import logging import time import os import torch from tqdm import tqdm from maskrcnn_benchmark.data.datasets.evaluation import evaluate from ..utils.comm import is_main_process, get_world_size from ..utils.comm import all_gather from ..utils.com...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/transforms/transforms.py
null
null
null
null
null
null
Python
2026-05-04T02:05:30.382606
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import random import torch import torchvision from torchvision.transforms import functional as F class Compose(object): def __init__(self, transforms): self.transforms = transforms def __call__(self, image, target): for ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:30.544186
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch from .batch_norm import FrozenBatchNorm2d from .misc import Conv2d from .misc import DFConv2d from .misc import ConvTranspose2d from .misc import BatchNorm2d from .misc import interpolate from .nms import nms from .roi_align import RO...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/data/transforms/build.py
null
null
null
null
null
null
Python
2026-05-04T02:05:30.603870
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from . import transforms as T def build_transforms(cfg, is_train=True): if is_train: min_size = cfg.INPUT.MIN_SIZE_TRAIN max_size = cfg.INPUT.MAX_SIZE_TRAIN flip_horizontal_prob = cfg.INPUT.HORIZONTAL_FLIP_PROB_TRAIN ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/engine/trainer.py
null
null
null
null
null
null
Python
2026-05-04T02:05:30.715818
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import datetime import logging import os import time import torch import torch.distributed as dist from tqdm import tqdm from maskrcnn_benchmark.data import make_data_loader from maskrcnn_benchmark.utils.comm import get_world_size, synchronize fr...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/engine/bbox_aug.py
null
null
null
null
null
null
Python
2026-05-04T02:05:30.989995
import torch import torchvision.transforms as TT from maskrcnn_benchmark.config import cfg from maskrcnn_benchmark.data import transforms as T from maskrcnn_benchmark.structures.image_list import to_image_list from maskrcnn_benchmark.structures.bounding_box import BoxList from maskrcnn_benchmark.modeling.roi_heads.box...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/dcn/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:30.991404
# # Copied From [mmdetection](https://github.com/open-mmlab/mmdetection/tree/master/mmdet/ops/dcn) #
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/dcn/deform_conv_module.py
null
null
null
null
null
null
Python
2026-05-04T02:05:30.998169
import math import torch import torch.nn as nn from torch.nn.modules.utils import _pair from .deform_conv_func import deform_conv, modulated_deform_conv class DeformConv(nn.Module): def __init__( self, in_channels, out_channels, kernel_size, stride=1, padding=0, ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/dcn/deform_conv_func.py
null
null
null
null
null
null
Python
2026-05-04T02:05:31.028307
import torch from torch.autograd import Function from torch.autograd.function import once_differentiable from torch.nn.modules.utils import _pair from maskrcnn_benchmark import _C class DeformConvFunction(Function): @staticmethod def forward( ctx, input, offset, weight, ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/dcn/deform_pool_func.py
null
null
null
null
null
null
Python
2026-05-04T02:05:31.028794
import torch from torch.autograd import Function from torch.autograd.function import once_differentiable from maskrcnn_benchmark import _C class DeformRoIPoolingFunction(Function): @staticmethod def forward( ctx, data, rois, offset, spatial_scale, out_size, ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/_utils.py
null
null
null
null
null
null
Python
2026-05-04T02:05:31.082894
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import glob import os.path import torch try: from torch.utils.cpp_extension import load as load_ext from torch.utils.cpp_extension import CUDA_HOME except ImportError: raise ImportError("The cpp layer extensions requires PyTorch 0.4 o...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/dcn/deform_pool_module.py
null
null
null
null
null
null
Python
2026-05-04T02:05:31.124769
from torch import nn from .deform_pool_func import deform_roi_pooling class DeformRoIPooling(nn.Module): def __init__(self, spatial_scale, out_size, out_channels, no_trans, group_size=1, part_size=None, ...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/misc.py
null
null
null
null
null
null
Python
2026-05-04T02:05:31.209507
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """ helper class that supports empty tensors on some nn functions. Ideally, add support directly in PyTorch to empty tensors in those functions. This can be removed once https://github.com/pytorch/pytorch/issues/12013 is implemented """ import m...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/nms.py
null
null
null
null
null
null
Python
2026-05-04T02:05:31.322919
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # from ._utils import _C from maskrcnn_benchmark import _C from apex import amp # Only valid with fp32 inputs - give AMP the hint nms = amp.float_function(_C.nms) # nms.__doc__ = """ # This function performs Non-maximum suppresion"""
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/roi_pool.py
null
null
null
null
null
null
Python
2026-05-04T02:05:32.419378
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch from torch import nn from torch.autograd import Function from torch.autograd.function import once_differentiable from torch.nn.modules.utils import _pair from maskrcnn_benchmark import _C from apex import amp class _ROIPool(Function...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/roi_align.py
null
null
null
null
null
null
Python
2026-05-04T02:05:32.492343
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch from torch import nn from torch.autograd import Function from torch.autograd.function import once_differentiable from torch.nn.modules.utils import _pair from maskrcnn_benchmark import _C from apex import amp class _ROIAlign(Functio...
facebookresearch/maskrcnn-benchmark
https://github.com/facebookresearch/maskrcnn-benchmark
null
null
null
null
9,378
null
null
mit
null
null
null
null
null
null
null
maskrcnn_benchmark/layers/batch_norm.py
null
null
null
null
null
null
Python
2026-05-04T02:05:36.244042
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch from torch import nn class FrozenBatchNorm2d(nn.Module): """ BatchNorm2d where the batch statistics and the affine parameters are fixed """ def __init__(self, n): super(FrozenBatchNorm2d, self).__init__()...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/model/remote.py
null
null
null
null
null
null
Python
2026-05-04T02:05:38.996778
LOCAL_RECIPES_INDEX = "local-recipes-index" class Remote: """ The ``Remote`` class represents a remote registry of packages. """ def __init__(self, name, url, verify_ssl=True, disabled=False, allowed_packages=None, remote_type=None, recipes_only=False): """ A Remote object can...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/input.py
null
null
null
null
null
null
Python
2026-05-04T02:05:38.997838
import getpass import sys from conan.errors import ConanException class UserInput: """Class to interact with the user, used to show messages and ask for information""" def __init__(self, non_interactive): """ Params: ins: input stream out: ConanOutput, should have "wr...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/model/list.py
null
null
null
null
null
null
Python
2026-05-04T02:05:39.048803
import copy import fnmatch import json import os from json import JSONDecodeError from typing import Iterable, Tuple, Dict from conan.api.model import RecipeReference, PkgReference from conan.api.output import ConanOutput from conan.errors import ConanException from conan.internal.errors import NotFoundException from ...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/model/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:39.051265
from conan.api.model.remote import Remote, LOCAL_RECIPES_INDEX from conan.api.model.refs import RecipeReference, PkgReference from conan.api.model.list import PackagesList, MultiPackagesList, ListPattern
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/model/refs.py
null
null
null
null
null
null
Python
2026-05-04T02:05:39.052693
import fnmatch import re from functools import total_ordering from conan.errors import ConanException from conan.internal.model.version import Version from conan.internal.util.dates import timestamp_to_str @total_ordering class RecipeReference: """ An exact (no version-range, no alias) reference of a recipe, ...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
.ci/bump_dev_version.py
null
null
null
null
null
null
Python
2026-05-04T02:05:39.053668
import os import re import time def replace_in_file(file_path, search, replace): with open(file_path, "r") as handle: content = handle.read() if search not in content: raise Exception("Incorrect development version in conan/__init__.py") content = content.replace(search, replace) ...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:39.055941
from conan.internal.model.conan_file import ConanFile from conan.internal.model.workspace import Workspace from conan.internal.model.version import Version __version__ = '2.29.0-dev' conan_version = Version(__version__)
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/conan_api.py
null
null
null
null
null
null
Python
2026-05-04T02:05:39.057074
import os import sys from conan.api.output import init_colorama from conan.api.subapi.audit import AuditAPI from conan.api.subapi.cache import CacheAPI from conan.api.subapi.command import CommandAPI from conan.api.subapi.local import LocalAPI from conan.api.subapi.lockfile import LockfileAPI from conan.api.subapi.rep...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/output.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.089054
import fnmatch import os import sys import time from threading import Lock import colorama from colorama import Fore, Style from conan.errors import ConanException LEVEL_QUIET = 80 # -q LEVEL_ERROR = 70 # Errors LEVEL_WARNING = 60 # Warnings LEVEL_NOTICE = 50 # Important messages to attract user attention. LEVEL...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/audit.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.105769
import binascii import json import os import base64 from conan.internal.api.audit.providers import ConanCenterProvider, PrivateProvider from conan.errors import ConanException from conan.internal.api.remotes.encrypt import encode, decode from conan.internal.model.recipe_ref import RecipeReference from conan.internal.u...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/command.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.107139
import os import shlex from conan.api.output import ConanOutput from conan.errors import ConanException class CommandAPI: """ This CommandAPI is useful to be able to launch full commands from the ConanAPI Sometimes some commands are built using several calls to the ConanAPI. If we want to reuse the same...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/download.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.108197
import time from multiprocessing.pool import ThreadPool from typing import Optional, List from conan.api.model import Remote, PackagesList from conan.api.output import ConanOutput from conan.errors import ConanException from conan.api.model import PkgReference from conan.api.model import RecipeReference class Downlo...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/export.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.110056
import os from typing import List, Tuple from conan import ConanFile from conan.api.output import ConanOutput from conan.cli.printers.graph import print_graph_basic from conan.internal.cache.cache import PkgCache from conan.internal.api.export import cmd_export from conan.internal.methods import run_package_method fro...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/config.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.111004
import os from conan.api.output import ConanOutput from conan.internal.cache.home_paths import HomePaths from conan.internal.graph.graph import CONTEXT_HOST, RECIPE_VIRTUAL, Node from conan.internal.graph.graph_builder import DepsGraphBuilder from conan.internal.graph.profile_node_definer import consumer_definer from...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/cache.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.114262
import json import os import shutil import tarfile import tempfile from conan.api.model import PackagesList from conan.api.output import ConanOutput from conan.internal.api.uploader import compress_files, get_compress_level from conan.internal.cache.cache import PkgCache from conan.internal.cache.conan_reference_layou...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/graph.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.144149
from conan.api.output import ConanOutput from conan.internal.model.recipe_ref import ref_matches from conan.internal.graph.graph import Node, RECIPE_CONSUMER, CONTEXT_HOST, RECIPE_VIRTUAL, \ CONTEXT_BUILD, BINARY_MISSING, DepsGraph from conan.internal.graph.graph_binaries import GraphBinariesAnalyzer from conan.int...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/install.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.442886
import os from typing import List from conan.api.model import Remote from conan.internal.api.install.generators import write_generators from conan.internal.deploy import do_deploys from conan.internal.graph.install_graph import InstallGraph from conan.internal.graph.installer import BinaryInstaller from conan.errors ...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/list.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.723776
import os from collections import OrderedDict from typing import Dict from conan.api.model import PackagesList, MultiPackagesList, ListPattern, Remote from conan.api.output import ConanOutput, TimedOutput from conan.internal.api.list.query_parse import filter_package_configs from conan.internal.model.recipe_ref import...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/new.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.725355
import fnmatch import os import shutil from jinja2 import Template, StrictUndefined, UndefinedError, Environment, meta from conan.api.output import ConanOutput from conan.errors import ConanException from conan.internal.util.files import load, save from conan import __version__ class NewAPI: _NOT_TEMPLATES = "n...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/profiles.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.726641
import os from conan.api.output import ConanOutput from conan.internal.cache.home_paths import HomePaths from conan.internal.loader import load_python_file from conan.internal.api.profile.profile_loader import ProfileLoader from conan.internal.errors import scoped_traceback from conan.errors import ConanException fro...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/local.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.737773
import os from typing import List from conan.cli import make_abs_path from conan.internal.methods import run_build_method, run_source_method from conan.internal.graph.graph import CONTEXT_HOST from conan.internal.graph.profile_node_definer import initialize_conanfile_profile from conan.internal.errors import conanfile...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/lockfile.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.739242
import os from conan.api.output import ConanOutput from conan.cli import make_abs_path from conan.internal.cache.home_paths import HomePaths from conan.internal.graph.graph import Overrides from conan.errors import ConanException from conan.internal.model.conanconfig import loadconanconfig from conan.internal.model.lo...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/report.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.749141
import base64 import os from io import StringIO from conan.api.output import ConanOutput from conan.errors import ConanException from conan.api.model import RecipeReference from conan.internal.errors import conanfile_exception_formatter from conan.internal.graph.graph import CONTEXT_HOST from conan.internal.graph.prof...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/remotes.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.750243
import fnmatch import json import os from collections import OrderedDict from urllib.parse import urlparse from conan.api.model import Remote, LOCAL_RECIPES_INDEX from conan.api.output import ConanOutput from conan.internal.cache.home_paths import HomePaths from conan.internal.rest.remote_credentials import RemoteCred...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/remove.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.770340
from typing import Optional from conan.api.model import Remote from conan.api.model import PkgReference from conan.api.model import RecipeReference class RemoveAPI: def __init__(self, conan_api, api_helpers): self._conan_api = conan_api self._api_helpers = api_helpers def recipe(self, ref: ...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/upload.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.789690
import os import time from multiprocessing.pool import ThreadPool from typing import List from conan.api.model import PackagesList, Remote from conan.api.output import ConanOutput from conan.internal.api.upload import add_urls from conan.internal.api.uploader import PackagePreparator, UploadExecutor, UploadUpstreamChe...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/api/subapi/workspace.py
null
null
null
null
null
null
Python
2026-05-04T02:05:40.997311
import inspect import os import shutil import textwrap from pathlib import Path from conan import ConanFile from conan.api.model import RecipeReference from conan.api.output import ConanOutput from conan.cli import make_abs_path from conan.cli.printers.graph import print_graph_basic, print_graph_packages from conan.er...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/command.py
null
null
null
null
null
null
Python
2026-05-04T02:05:41.704311
import argparse import os import textwrap from contextlib import redirect_stdout from conan.api.output import ConanOutput from conan.errors import ConanException class OnceArgument(argparse.Action): """Allows declaring a parameter that can have only one value, by default argparse takes the latest declared an...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:05:41.726112
import os def make_abs_path(path, cwd=None): """convert 'path' to absolute if necessary (could be already absolute) if not defined (empty, or None), will return 'default' one or 'cwd' """ if path is None: return None if os.path.isabs(path): return path cwd = cwd or os.getcwd() ...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/audit.py
null
null
null
null
null
null
Python
2026-05-04T02:05:41.727219
import json import os from conan.api.conan_api import ConanAPI from conan.api.input import UserInput from conan.api.model import MultiPackagesList, RecipeReference from conan.api.output import cli_out_write, ConanOutput from conan.api.subapi.audit import CONAN_CENTER_AUDIT_PROVIDER_NAME from conan.cli import make_abs_...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/cache.py
null
null
null
null
null
null
Python
2026-05-04T02:05:41.788481
import json from conan.api.conan_api import ConanAPI from conan.api.model import ListPattern, MultiPackagesList from conan.api.output import cli_out_write, ConanOutput from conan.cli import make_abs_path from conan.cli.command import conan_command, conan_subcommand, OnceArgument from conan.cli.commands.list import pri...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/args.py
null
null
null
null
null
null
Python
2026-05-04T02:05:41.794461
import argparse from conan.cli.command import OnceArgument from conan.errors import ConanException _help_build_policies = '''Optional, specify which packages to build from source. Combining multiple '--build' options on one command line is allowed. Possible values: --build=never Disallow build for a...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/config.py
null
null
null
null
null
null
Python
2026-05-04T02:05:41.816876
import os from conan.api.model import Remote from conan.api.output import cli_out_write, Color from conan.cli import make_abs_path from conan.cli.command import conan_command, conan_subcommand, OnceArgument from conan.cli.formatters import default_json_formatter from conan.errors import ConanException @conan_command...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/download.py
null
null
null
null
null
null
Python
2026-05-04T02:05:42.435416
from conan.api.conan_api import ConanAPI from conan.api.model import ListPattern, MultiPackagesList from conan.api.output import ConanOutput from conan.cli import make_abs_path from conan.cli.command import conan_command, OnceArgument from conan.cli.commands.list import print_list_text, print_list_json from conan.error...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/editable.py
null
null
null
null
null
null
Python
2026-05-04T02:05:42.436796
import json import os from conan.api.output import ConanOutput, cli_out_write from conan.cli.args import add_reference_args from conan.cli.command import conan_command, conan_subcommand @conan_command(group="Creator") def editable(conan_api, parser, *args): """ Allow working with a package that resides in us...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/install.py
null
null
null
null
null
null
Python
2026-05-04T02:05:43.310052
import os from conan.api.output import ConanOutput from conan.cli import make_abs_path from conan.cli.args import common_graph_args, validate_common_graph_args from conan.cli.command import conan_command from conan.cli.formatters.graph import format_graph_json from conan.cli.printers import print_profiles from conan.c...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/inspect.py
null
null
null
null
null
null
Python
2026-05-04T02:05:43.311183
import os from conan.api.output import cli_out_write from conan.cli.command import conan_command, OnceArgument from conan.cli.formatters import default_json_formatter def inspect_text_formatter(data): for name, value in sorted(data.items()): if value is None: continue if isinstance(va...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/export.py
null
null
null
null
null
null
Python
2026-05-04T02:05:43.423411
import json import os from conan.api.model import MultiPackagesList, PackagesList from conan.api.output import ConanOutput, cli_out_write from conan.cli.command import conan_command, OnceArgument from conan.cli.args import add_reference_args def common_args_export(parser): parser.add_argument("path", help="Path ...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/export_pkg.py
null
null
null
null
null
null
Python
2026-05-04T02:05:43.423885
import os from conan.api.output import ConanOutput from conan.cli import make_abs_path from conan.cli.args import add_lockfile_args, add_profiles_args, add_reference_args from conan.cli.command import conan_command, OnceArgument from conan.cli.commands.create import _get_test_conanfile_path from conan.cli.formatters.g...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/create.py
null
null
null
null
null
null
Python
2026-05-04T02:05:43.486220
import os import shutil from conan.api.output import ConanOutput from conan.cli.args import add_lockfile_args, add_common_install_arguments from conan.cli.command import conan_command, OnceArgument from conan.cli.commands.export import common_args_export from conan.cli.formatters.graph import format_graph_json from co...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/build.py
null
null
null
null
null
null
Python
2026-05-04T02:05:43.598076
import os from conan.api.output import ConanOutput from conan.cli.command import conan_command from conan.cli.formatters.graph import format_graph_json from conan.cli import make_abs_path from conan.cli.args import add_lockfile_args, add_common_install_arguments, add_reference_args from conan.cli.printers import print...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/graph.py
null
null
null
null
null
null
Python
2026-05-04T02:05:43.716387
import json import os from conan.api.output import ConanOutput, cli_out_write, Color from conan.cli import make_abs_path from conan.cli.args import common_graph_args, validate_common_graph_args from conan.cli.command import conan_command, conan_subcommand from conan.cli.commands.list import prepare_pkglist_compact, pr...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/cli.py
null
null
null
null
null
null
Python
2026-05-04T02:05:43.809501
import importlib import os import pkgutil import re import signal import sys import textwrap import traceback from collections import defaultdict from difflib import get_close_matches from inspect import getmembers from conan.api.conan_api import ConanAPI from conan.api.output import ConanOutput, Color, cli_out_write,...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/new.py
null
null
null
null
null
null
Python
2026-05-04T02:05:43.938770
import os from conan.cli.command import conan_command @conan_command(group="Creator") def new(conan_api, parser, *args): """ Create a new example recipe and source files from a template. """ parser.add_argument("template", nargs="?", default="", help="Template name, " "either ...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/lock.py
null
null
null
null
null
null
Python
2026-05-04T02:05:44.010687
import os from conan.api.output import ConanOutput from conan.cli.command import conan_command, OnceArgument, conan_subcommand from conan.cli import make_abs_path from conan.cli.args import common_graph_args, validate_common_graph_args from conan.cli.printers.graph import print_graph_packages, print_graph_basic from ...
conan-io/conan
https://github.com/conan-io/conan
null
null
null
null
9,333
null
null
mit
null
null
null
null
null
null
null
conan/cli/commands/list.py
null
null
null
null
null
null
Python
2026-05-04T02:05:44.040893
import json import datetime from conan.api.conan_api import ConanAPI from conan.api.model import ListPattern, MultiPackagesList from conan.api.output import Color, cli_out_write from conan.cli import make_abs_path from conan.cli.command import conan_command, OnceArgument from conan.cli.formatters.list import list_pack...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
CurvesGenerator/cubic_spline.py
null
null
null
null
null
null
Python
2026-05-04T02:05:46.458961
#! /usr/bin/python # -*- coding: utf-8 -*- u""" Cubic Spline library on python author Atsushi Sakai usage: see test codes as below license: MIT """ import math import numpy as np import bisect class Spline: u""" Cubic Spline class """ def __init__(self, x, y): self.b, self.c, self.d, self....
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
CurvesGenerator/quartic_polynomial.py
null
null
null
null
null
null
Python
2026-05-04T02:05:46.472119
""" Quartic Polynomial """ import numpy as np class QuarticPolynomial: def __init__(self, x0, v0, a0, v1, a1, T): A = np.array([[3 * T ** 2, 4 * T ** 3], [6 * T, 12 * T ** 2]]) b = np.array([v1 - v0 - a0 * T, a1 - a0]) X = np.linalg.solve(A, b) ...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
CurvesGenerator/bspline_curve.py
null
null
null
null
null
null
Python
2026-05-04T02:05:46.477186
""" Path Planner with B-Spline author: Atsushi Sakai (@Atsushi_twi) """ import numpy as np import matplotlib.pyplot as plt import scipy.interpolate as scipy_interpolate import cubic_spline as cs def approximate_b_spline_path(x, y, n_path_points, degree=3): t = range(len(x)) x_tup = scipy_interpolate.splre...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
CurvesGenerator/dubins_path.py
null
null
null
null
null
null
Python
2026-05-04T02:05:46.478724
""" Dubins Path """ import math import numpy as np import matplotlib.pyplot as plt from scipy.spatial.transform import Rotation as Rot import CurvesGenerator.draw as draw # class for PATH element class PATH: def __init__(self, L, mode, x, y, yaw): self.L = L # total path length [float] self.mode...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
CurvesGenerator/reeds_shepp.py
null
null
null
null
null
null
Python
2026-05-04T02:05:46.494030
import math import numpy as np import matplotlib.pyplot as plt import draw # parameters initiation STEP_SIZE = 0.2 MAX_LENGTH = 1000.0 PI = math.pi # class for PATH element class PATH: def __init__(self, lengths, ctypes, L, x, y, yaw, directions): self.lengths = lengths # lengths of each part of path (...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
CurvesGenerator/bezier_path.py
null
null
null
null
null
null
Python
2026-05-04T02:05:46.494925
""" bezier path author: Atsushi Sakai(@Atsushi_twi) modified: huiming zhou """ import numpy as np import matplotlib.pyplot as plt from scipy.special import comb import draw def calc_4points_bezier_path(sx, sy, syaw, gx, gy, gyaw, offset): dist = np.hypot(sx - gx, sy - gy) / offset control_points = np.array...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
CurvesGenerator/draw.py
null
null
null
null
null
null
Python
2026-05-04T02:05:46.496740
import matplotlib.pyplot as plt import numpy as np PI = np.pi class Arrow: def __init__(self, x, y, theta, L, c): angle = np.deg2rad(30) d = 0.5 * L w = 2 x_start = x y_start = y x_end = x + L * np.cos(theta) y_end = y + L * np.sin(theta) theta_hat...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
CurvesGenerator/quintic_polynomial.py
null
null
null
null
null
null
Python
2026-05-04T02:05:46.506328
""" Quintic Polynomial """ import math import numpy as np import matplotlib.pyplot as plt import draw class QuinticPolynomial: def __init__(self, x0, v0, a0, x1, v1, a1, T): A = np.array([[T ** 3, T ** 4, T ** 5], [3 * T ** 2, 4 * T ** 3, 5 * T ** 4], [6 * T, ...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/queue.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.126333
import collections import heapq class QueueFIFO: """ Class: QueueFIFO Description: QueueFIFO is designed for First-in-First-out rule. """ def __init__(self): self.queue = collections.deque() def empty(self): return len(self.queue) == 0 def put(self, node): self.q...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/batch_informed_trees.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.127539
""" Batch Informed Trees (BIT*) @author: huiming zhou """ import os import sys import math import random import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as patches from scipy.spatial.transform import Rotation as Rot sys.path.append(os.path.dirname(os.path.abspath(__file__)) + ...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/env.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.139757
""" Environment for rrt_2D @author: huiming zhou """ class Env: def __init__(self): self.x_range = (0, 50) self.y_range = (0, 30) self.obs_boundary = self.obs_boundary() self.obs_circle = self.obs_circle() self.obs_rectangle = self.obs_rectangle() @staticmethod def...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/dynamic_rrt.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.140972
""" DYNAMIC_RRT_2D @author: huiming zhou """ import os import sys import math import copy import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as patches sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../../Sampling_based_Planning/") from Sampling_based_Plannin...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/extended_rrt.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.144974
""" EXTENDED_RRT_2D @author: huiming zhou """ import os import sys import math import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as patches sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../../Sampling_based_Planning/") from Sampling_based_Planning.rrt_2D im...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/fast_marching_trees.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.149775
""" Fast Marching Trees (FMT*) @author: huiming zhou """ import os import sys import math import random import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as patches sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../../Sampling_based_Planning/") from Sampling...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/informed_rrt_star.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.150693
""" INFORMED_RRT_STAR 2D @author: huiming zhou """ import os import sys import math import random import numpy as np import matplotlib.pyplot as plt from scipy.spatial.transform import Rotation as Rot import matplotlib.patches as patches sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/....
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/plotting.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.153002
""" Plotting tools for Sampling-based algorithms @author: huiming zhou """ import matplotlib.pyplot as plt import matplotlib.patches as patches import os import sys sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../../Sampling_based_Planning/") from Sampling_based_Planning.rrt_2D impo...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/rrt.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.181895
""" RRT_2D @author: huiming zhou """ import os import sys import math import numpy as np sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../../Sampling_based_Planning/") from Sampling_based_Planning.rrt_2D import env, plotting, utils class Node: def __init__(self, n): sel...
zhm-real/PathPlanning
https://github.com/zhm-real/PathPlanning
null
null
null
null
9,268
null
null
mit
null
null
null
null
null
null
null
Sampling_based_Planning/rrt_2D/dubins_rrt_star.py
null
null
null
null
null
null
Python
2026-05-04T02:05:47.182942
""" DUBINS_RRT_STAR 2D @author: huiming zhou """ import os import sys import math import random import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as patches from scipy.spatial.transform import Rotation as Rot sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../...