This is a CLI and library of FederatedCode client utilities for fetching and subscribing to package metadata, and utilities for managing activity streams.
To install the FederatedCode client, use the following command:
pip install aboutcode.federatedcodeUse 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] --helpDiscover a PURL in the FederatedCode AP Server:
❯ federatedcode discover pkg:npm/%40angular/animation
http://<Your-FederatedCode-Host>/purls/@pkg:npm/%2540angular/animationUse the client module to fetch scan results, subscribe to packages, or discover packages
in the AP server.
from aboutcode.federatedcode import clientUse the contrib module to get the Django mixin and various utilities to manage activity streams.
from aboutcode.federatedcode.contrib import djangoCopyright (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.