Pybraries
master

Contents:

  • Pybraries
  • Contributing
  • Contributor Covenant Code of Conduct
  • History
  • pybraries.search.Search
  • pybraries.subscribe.Subscribe
Pybraries
  • »
  • pybraries.search.Search
  • Edit on GitHub

pybraries.search.Search¶

class pybraries.search.Search[source]¶

Class for wrapping the libraries.io API for platform, project, repo, and user GET actions

__init__()[source]¶

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

platforms()

Return a list of supported package managers.

project(platforms, name)

Return information about a project and its versions from a platform (e.g.

project_contributors(platforms, project)

Get users that have contributed to a given project.

project_dependencies(platforms, project[, …])

Get dependencies for a version of a project.

project_dependent_repositories(platforms, …)

Get repositories that depend on a given project.

project_dependents(platforms, project[, version])

Get projects that have at least one version that depends on a given project.

project_search(**kwargs)

Search for projects. Args - keywords only: keywords (str): required argument: keywords to search languages (str): optional programming languages to filter licenses (str): license type to filter platforms (str):, platforms to filter.

project_sourcerank(platforms, project)

Get breakdown of SourceRank score for a given project.

project_usage(platforms, project)

Get breakdown of usage for a given project.

repository(host, owner, repo)

Return information about a repository and its versions.

repository_dependencies(host, owner, repo)

Return information about a repository’s dependencies.

repository_projects(host, owner, repo)

Get a list of projects referencing the given repository.

user(host, user)

Return information about a user.

user_dependencies(host, user)

Return a list of unique user’s repositories’ dependencies.

user_projects(host, user)

Return information about projects using a user’s repos.

user_projects_contributions(host, user)

Return information about projects a user has contributed to.

user_repositories(host, user)

Return information about a user’s repos.

user_repository_contributions(host, user)

Return information about repositories a user has contributed to.

Next Previous

© Copyright 2023, Jeff Hale Revision d6499717.

Built with Sphinx using a theme provided by Read the Docs.