Skip to main content

A library for FederatedCode client

Project description

license build PyPI - Version

This is a CLI and library of FederatedCode client utilities for fetching and subscribing to package metadata, and utilities for managing activity streams.

Installation

To install the FederatedCode client, use the following command:

pip install aboutcode.federatedcode

CLI Usage

Use the federatedcode CLI to discover and fetch scans using the PURL:

# Display the general help for federatedcode
federatedcode --help

# Display help for a specific command
federatedcode [command] --help

Example

Discover a PURL in the FederatedCode AP Server:

 federatedcode discover pkg:npm/%40angular/animation
http://<Your-FederatedCode-Host>/purls/@pkg:npm/%2540angular/animation

Library Usage

Use the client module to fetch scan results, subscribe to packages, or discover packages in the AP server.

from aboutcode.federatedcode import client

Use the contrib module to get the Django mixin and various utilities to manage activity streams.

from aboutcode.federatedcode.contrib import django

License

Copyright (c) nexB Inc. and others. All rights reserved.

SPDX-License-Identifier: Apache-2.0

See https://aboutcode.org for more information about AboutCode OSS projects.

You may not use this software except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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

aboutcode_federatedcode-0.1.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

aboutcode_federatedcode-0.1.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file aboutcode_federatedcode-0.1.0.tar.gz.

File metadata

  • Download URL: aboutcode_federatedcode-0.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for aboutcode_federatedcode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4b8022287e2fab3f2cce413fb4b4985ab6388bba6221f82fd197961a1792ac88
MD5 0e818c53be0fccbecc11b2fd6fed36a1
BLAKE2b-256 10a609092d5b958d5ba4ea80c5188c375d94930a0f0eda9766b514e4f7c36259

See more details on using hashes here.

File details

Details for the file aboutcode_federatedcode-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aboutcode_federatedcode-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71bf9c9b5db0b19ea2ce88d02d868fcbfb56861865e1ea46b942a2f834aca552
MD5 810f3377e19628acb667792a0b997eef
BLAKE2b-256 566883b9ad8e401bdcafdd8a46d8d334f61eacfd6f6887cb3d0808532d713de5

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