🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

putplace-client

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

putplace-client

PutPlace CLI client for scanning directories and uploading file metadata

pipPyPI
Version
0.8.4
Maintainers
1

PutPlace Client

A command-line tool for scanning directories and uploading file metadata to a PutPlace server.

Installation

pip install putplace-client

Quick Start

# Scan a directory and send metadata to server
ppclient /path/to/scan --api-key YOUR_API_KEY

# With custom server URL
ppclient /path/to/scan --url http://your-server:8000/put_file --api-key YOUR_API_KEY

# Dry run (don't send to server)
ppclient /path/to/scan --dry-run

# With exclude patterns
ppclient /path/to/scan --exclude .git --exclude "*.log" --exclude __pycache__

Features

  • Recursively scans directories
  • Calculates SHA256 hashes for each file
  • Auto-detects hostname and IP address
  • Supports exclude patterns (wildcards, directory names)
  • Progress bars and colored output
  • Dry-run mode for testing
  • Configuration file support

Configuration

ppclient supports configuration via:

  • Command-line arguments
  • Environment variables (PUTPLACE_EMAIL, PUTPLACE_PASSWORD, PUTPLACE_API_KEY)
  • Config files (~/ppclient.conf or ./ppclient.conf)

Config file example

[DEFAULT]
url = http://your-server:8000/put_file
api-key = your-api-key
exclude = .git
exclude = *.log
exclude = __pycache__

Command-line Options

ppclient [OPTIONS] PATH

Arguments:
  PATH                    Directory or file to scan

Options:
  --url URL               Server URL (default: http://localhost:8000/put_file)
  --api-key KEY           API key for authentication
  --email EMAIL           Email for JWT authentication
  --password PASSWORD     Password for JWT authentication
  --exclude PATTERN       Exclude pattern (can be repeated)
  --hostname NAME         Override auto-detected hostname
  --ip ADDRESS            Override auto-detected IP
  --dry-run               Scan without sending to server
  --verbose, -v           Verbose output
  --config FILE           Config file path
  --help                  Show help message
  • putplace-server - The PutPlace API server

License

Apache-2.0

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts