Skip to main content

Rely is a tool for vetting dependencies on GitHub.

Project description

Rely

Test Python 3.12

Rely is a tool for vetting GitHub dependencies.

[!NOTE]

Rely is in active development and certain features may be incomplete.

We need to know if we can rely on packages before we add them as dependencies in our own projects. Rely scores GitHub repositories based on a number of metrics, including time since last commit, star count, open issues, documentation, and more. Rely is partially inspired by a discussion of the metrics that are used to evaluate open source projects on Hacker News.

$ uv run rely https://github.com/fastapi/fastapi
           Rely score for https://github.com/fastapi/fastapi
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃                Metric ┃ Value ┃ Raw score ┃ Weight ┃ Weighted score ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ Last commit (in days) │ 3     │ 3/3       │ 1.0    │            3.0 │
│       Number of stars │ 91186 │ 3/3       │ 0.65   │           1.95 │
│       Number of forks │ 8122  │ 3/3       │ 0.5    │            1.5 │
│    Number of watchers │ 91186 │ 3/3       │ 0.5    │            1.5 │
│ Number of open issues │ 199   │ 3/3       │ 0.85   │           2.55 │
│             Archived? │ False │ 3/3       │ 1.0    │            3.0 │
│             Disabled? │ False │ 3/3       │ 1.0    │            3.0 │
│          Has license? │ True  │ 3/3       │ 0.5    │            1.5 │
│      Has description? │ True  │ 3/3       │ 0.25   │           0.75 │
│           Has README? │ True  │ 3/3       │ 1.0    │            3.0 │
└───────────────────────┴───────┴───────────┴────────┴────────────────┘
Overall score is 100%

Installation

  1. Create a GitHub personal access token (guide)

  2. Set the GITHUB_PERSONAL_ACCESS_TOKEN environment variable (token from step 1):

    export GITHUB_PERSONAL_ACCESS_TOKEN=...
    
  3. Install and run rely with uv:

    uv add rely
    uv run rely https://github.com/1cph93/rely
    

    Or just run it as a tool:

    uv tool run rely https://github.com/1cph93/rely
    

Roadmap

  • Improve test coverage
  • Add security-related metrics

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rely-0.1.2.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rely-0.1.2-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file rely-0.1.2.tar.gz.

File metadata

  • Download URL: rely-0.1.2.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for rely-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9560b99a16155222edd9eb72ae47f0076b3112f6a57f6a5c8eda100a0d89e8cf
MD5 4e07a24a256d5daa835a08e7bcf32b5b
BLAKE2b-256 1d76349b51491073a57711317e39ea9d91edf0a4f0076bac92b3fd945d60fb20

See more details on using hashes here.

File details

Details for the file rely-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: rely-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for rely-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45a8253479f2957f86cbd90aa1dca6476a0847c4b6167b92722548fbfd1b2097
MD5 99dab7cd3930d7918f34be7e74ca6450
BLAKE2b-256 e00ca839713e5486818cacacc8ad6dac8d492b822d31efb663a829c60b4e9d8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page