bazel-contrib / bazel-contrib/rules_python
Add a library that defines a `Label` class in python
Open
help wanted
- Dominant language
- Starlark
- Stars
- 688
- Forks
- 721
- Avg merge
- 14h 49m
- Merged PRs (30d)
- 81
Description
# 🚀 feature request
### Description
I would love `rules_python` to expose a library similar to [@rules_rust//util/label](https://github.com/bazelbuild/rules_rust/blob/0.32.0/util/label/label.rs) which defines a validated representation of a [Label](https://bazel.build/rules/lib/builtins/Label) for users to use in their code.
It'd be fantastic if the interface was a class (`Label`) that did validation on `__init__`.
Contributor guide
Assessment
This issue has not been assessed yet.