Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 6
  • Releases: 18
Created almost 3 years ago · Last pushed 6 months ago
Metadata Files
Readme License Code of conduct Citation Codeowners

README.md

redcat

CI Documentation Nightly Tests Nightly Package Tests
Codecov
PYPI version Python BSD-3-Clause Code style: black Doc style: google
Downloads Monthly downloads

logo


Philosophy

  • BatchedTensor and BatchedTensorSeq must behave like torch.Tensor
  • BatchedArray and BatchedArraySeq must behave like numpy.ndarray
  • BatchedTensor (resp. BatchedTensorSeq) does not have to behave like BatchedArray ( resp. BatchedArraySeq)

Installation

We highly recommend installing a virtual environment. redcat can be installed from pip using the following command:

shell pip install redcat

To make the package as slim as possible, only the minimal packages required to use redcat are installed. To include all the dependencies, you can use the following command:

shell pip install redcat[all]

Please check the get started page to see how to install only some specific dependencies or other alternatives to install the library. The following is the corresponding redcat versions and supported Python, PyTorch and NumPy versions.

| redcat | coola | numpy | torch | python | |----------|--------------------|----------------|---------------|---------------| | main | >=0.4,<1.0 | >=1.22,<2.0 | >=1.11,<3.0 | >=3.9,<3.13 | | 0.0.18 | >=0.0.20,<0.2 | >=1.22,<2.0 | >=1.11,<3.0 | >=3.9,<3.12 | | 0.0.17 | >=0.0.20,<0.0.25 | >=1.22,<1.27 | >=1.11,<2.2 | >=3.9,<3.12 | | 0.0.16 | >=0.0.20,<0.0.24 | >=1.22,<1.27 | >=1.11,<2.1 | >=3.9,<3.12 | | 0.0.15 | >=0.0.20,<0.0.24 | >=1.22,<1.27 | >=1.11,<2.1 | >=3.9,<3.12 | | 0.0.14 | >=0.0.20,<0.0.24 | >=1.22,<1.27 | >=1.11,<2.1 | >=3.9,<3.12 |

older versions | `redcat` | `coola` | `numpy` | `torch` | `python` | |----------|--------------------|----------------|---------------|---------------| | `0.0.13` | `>=0.0.20,<0.0.24` | `>=1.22,<1.27` | `>=1.11,<2.1` | `>=3.9,<3.12` | | `0.0.12` | `>=0.0.20,<0.0.24` | `>=1.22,<1.27` | `>=1.11,<2.1` | `>=3.9,<3.12` | | `0.0.11` | `>=0.0.20,<0.0.24` | `>=1.22,<1.27` | `>=1.11,<2.1` | `>=3.9,<3.12` | | `0.0.10` | `>=0.0.20,<0.0.24` | `>=1.22,<1.27` | `>=1.11,<2.1` | `>=3.9,<3.12` | | `0.0.9` | `>=0.0.20,<0.0.24` | `>=1.22,<1.27` | `>=1.11,<2.1` | `>=3.9,<3.12` | | `0.0.8` | `>=0.0.20,<0.0.21` | `>=1.21,<1.26` | `>=1.11,<2.1` | `>=3.9,<3.12` |

Contributing

Please check the instructions in CONTRIBUTING.md.

API stability

:warning: While redcat is in development stage, no API is guaranteed to be stable from one release to the next. In fact, it is very likely that the API will change multiple times before a stable 1.0.0 release. In practice, this means that upgrading redcat to a new version will possibly break any code that was using the old version of redcat.

License

redcat is licensed under BSD 3-Clause "New" or "Revised" license available in LICENSE file.


The logo was generated with Fooocus

Owner

  • Name: Thibaut Durand
  • Login: durandtibo
  • Kind: user
  • Location: Vancouver, Canada
  • Company: Borealis AI

Researcher in Computer Vision and Machine Learning. This profile is used for personal projects/contributions

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this library, please cite it as below."
authors:
- family-names: "Durand"
  given-names: "Thibaut"

title: "REDCAT: A Python Library to Manipulate Batches of Examples"
date-released: 2023-04-04
url: "https://github.com/durandtibo/redcat"

GitHub Events

Total
  • Delete event: 59
  • Issue comment event: 99
  • Push event: 90
  • Pull request event: 121
  • Pull request review event: 36
  • Create event: 56
Last Year
  • Delete event: 59
  • Issue comment event: 99
  • Push event: 90
  • Pull request event: 121
  • Pull request review event: 36
  • Create event: 56

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 9
  • Total pull requests: 877
  • Average time to close issues: 9 days
  • Average time to close pull requests: 5 days
  • Total issue authors: 2
  • Total pull request authors: 3
  • Average comments per issue: 0.22
  • Average comments per pull request: 1.03
  • Merged pull requests: 664
  • Bot issues: 1
  • Bot pull requests: 377
Past Year
  • Issues: 1
  • Pull requests: 136
  • Average time to close issues: 5 days
  • Average time to close pull requests: 15 days
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 1.0
  • Average comments per pull request: 1.31
  • Merged pull requests: 63
  • Bot issues: 1
  • Bot pull requests: 132
Top Authors
Issue Authors
  • durandtibo (8)
  • dependabot[bot] (1)
Pull Request Authors
  • durandtibo (500)
  • dependabot[bot] (376)
  • github-actions[bot] (6)
Top Labels
Issue Labels
dependencies (1) python (1)
Pull Request Labels
dependencies (376) python (294) github_actions (19)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 16,419 last-month
  • Total dependent packages: 2
  • Total dependent repositories: 2
  • Total versions: 25
  • Total maintainers: 1
pypi.org: redcat

A library to manipulate batches of examples

  • Versions: 25
  • Dependent Packages: 2
  • Dependent Repositories: 2
  • Downloads: 16,419 Last month
Rankings
Downloads: 2.0%
Dependent packages count: 3.1%
Dependent repos count: 11.6%
Average: 17.1%
Forks count: 29.8%
Stargazers count: 38.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/ci.yaml actions
.github/workflows/coverage.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
  • paambaati/codeclimate-action v5.0.0 composite
  • snok/install-poetry v1 composite
.github/workflows/dependency-review.yml actions
  • actions/checkout v3 composite
  • actions/dependency-review-action v2 composite
.github/workflows/doctest.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • snok/install-poetry v1 composite
.github/workflows/format.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • snok/install-poetry v1 composite
.github/workflows/nightly-package.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/nightly-tests.yaml actions
.github/workflows/pypi.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • snok/install-poetry v1 composite
.github/workflows/test-deps.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • snok/install-poetry v1 composite
.github/workflows/test.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • snok/install-poetry v1 composite
poetry.lock pypi
  • astroid 2.15.8
  • black 23.9.1
  • cfgv 3.4.0
  • charset-normalizer 3.2.0
  • click 8.1.7
  • colorama 0.4.6
  • coola 0.0.23
  • coverage 7.3.1
  • dill 0.3.7
  • distlib 0.3.7
  • docformatter 1.7.5
  • exceptiongroup 1.1.3
  • filelock 3.12.4
  • identify 2.5.29
  • iniconfig 2.0.0
  • isort 5.12.0
  • jinja2 3.1.2
  • lazy-object-proxy 1.9.0
  • markupsafe 2.1.3
  • mccabe 0.7.0
  • mpmath 1.3.0
  • mypy-extensions 1.0.0
  • networkx 3.1
  • nodeenv 1.8.0
  • numpy 1.26.0
  • packaging 23.1
  • pathspec 0.11.2
  • platformdirs 3.10.0
  • pluggy 1.3.0
  • pre-commit 3.4.0
  • pygments 2.16.1
  • pylint 2.17.6
  • pytest 7.4.2
  • pytest-cov 4.1.0
  • pytest-timeout 2.1.0
  • pyyaml 6.0.1
  • ruff 0.0.291
  • setuptools 68.2.2
  • six 1.16.0
  • sympy 1.12
  • tomli 2.0.1
  • tomlkit 0.12.1
  • torch 2.0.1
  • typing-extensions 4.8.0
  • untokenize 0.1.1
  • virtualenv 20.24.5
  • wrapt 1.15.0
  • xdoctest 1.1.1
pyproject.toml pypi
  • coola >=0.0.20,<0.0.24
  • numpy >=1.22,<1.27
  • python >=3.9,<3.12
  • torch >=1.11,<2.1
.github/workflows/pre-commit.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pre-commit/action v3.0.0 composite
environment.yaml conda
  • python 3.10.*