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.
Metadata
Release files for aboutcode.federatedcode 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aboutcode_federatedcode-0.1.0.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aboutcode_federatedcode-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / aboutcode_federatedcode-0.1.0.tar.gz
| Download URL | aboutcode_federatedcode-0.1.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b8022287e2fab3f2cce413fb4b4985ab6388bba6221f82fd197961a1792ac88
|
|
BLAKE2b-256 checksum How to use checksums |
10a609092d5b958d5ba4ea80c5188c375d94930a0f0eda9766b514e4f7c36259
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / aboutcode_federatedcode-0.1.0-py3-none-any.whl
| Download URL | aboutcode_federatedcode-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71bf9c9b5db0b19ea2ce88d02d868fcbfb56861865e1ea46b942a2f834aca552
|
|
BLAKE2b-256 checksum How to use checksums |
566883b9ad8e401bdcafdd8a46d8d334f61eacfd6f6887cb3d0808532d713de5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|