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

data-processing-utils

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-processing-utils

A collection of awesome utility tools for Python developers

Source
pipPyPI
Version
0.1.8
Maintainers
1

learning-pypi-demo-nisimi

PyPI version Python Version

An educational Python package to demonstrate the PyPI publishing process. This package serves as a learning tool for understanding how to create, build, and publish Python packages to the Python Package Index (PyPI).

Features

  • Installation Message: Displays "HELLO NEW PACKAGE" during pip installation
  • Simple API: Includes a basic hello() function for demonstration
  • Hash-based Installation: Supports secure installation via pip install -r requirements.txt --require-hashes
  • Educational Purpose: Minimal codebase designed for learning PyPI publishing

Installation

Standard Installation

pip install learning-pypi-demo-nisimi

Hash-verified Installation

For secure, hash-verified installation:

pip install -r requirements.txt --require-hashes

Usage

from learning_pypi_demo_nisimi import hello

# Basic usage
print(hello())
# Output: Hello, World! This is learning-pypi-demo-nisimi package.

# Personalized greeting
print(hello("Alice"))
# Output: Hello, Alice! This is learning-pypi-demo-nisimi package.

Package Structure

learning-pypi-demo-nisimi/
├── learning_pypi_demo_nisimi/
│   ├── __init__.py          # Package initialization
│   └── core.py              # Core functionality
├── setup.py                 # Setup configuration with custom install
├── pyproject.toml          # Modern Python packaging configuration
├── requirements.txt        # Hash-verified requirements
├── README.md              # This file
├── LICENSE                # MIT License
└── MANIFEST.in           # Additional files for distribution

Development

This package is designed as an educational tool for learning PyPI publishing. The custom installation message demonstrates how to extend the standard pip installation process.

Building the Package

python -m build

Publishing to PyPI

twine upload dist/*

Educational Value

This package demonstrates:

  • Custom installation commands in setup.py
  • Modern packaging with pyproject.toml
  • Hash-based dependency management
  • Proper package structure and documentation
  • PyPI publishing workflow

Requirements

  • Python 3.7 or higher
  • No external dependencies (kept minimal for educational purposes)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

This is an educational package. Feel free to fork and experiment with your own versions to learn about PyPI publishing!

Author

nisimi

Acknowledgments

  • Python Packaging Authority for excellent packaging documentation
  • PyPI for providing the platform for package distribution

Keywords

utilities

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