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.3.tar.gz (25.8 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.3-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rely-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f57a46d140b3785c44c98d0a92100fe0956d0f714424fa5841f4e62e83d04cc5
MD5 79419dacb30cf62fb3caecbfca499526
BLAKE2b-256 17188679e2599574c2557fbbfd7f12a239943bba431f7f2b077c499477d197d2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rely-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 48e5281fee6b07dc5859f95d250dbfc99a7f0c70b9710d2d11239b9f875aa84a
MD5 cc98ce30cc32048f4d2c08657ccb2c46
BLAKE2b-256 e0b2f269b8e1205c1309a0bf752163421716f9bf5f06511493ec2d31ab922656

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