Skip to main content

A professional Python package containing ML lab programs

Project description

jynxpylib

jynxpylib is a professional Python package that provides machine learning lab programs and utilities.

Features

  • Executable Entry Point: Run programs directly from your command line.
  • Importable Library: Import code and data in your own Python projects.
  • Standard Layout: Built with modern Python packaging practices (src layout, pyproject.toml).

Installation

From Source (Local Development)

You can build and install the package locally:

  1. Clone or download this repository.
  2. In the repository directory, build the distribution:
    pip install build
    python -m build
    
  3. Install the generated wheel file using pip:
    pip install dist/*.whl
    

Editable Mode (For Developers)

To install the package in editable mode so changes are updated instantly:

pip install -e .

Usage

1. From the Terminal (Command Line Interface)

After installation, the package registers a console command jynxpylib. You can run it directly:

  • View all programs:

    jynxpylib
    
  • View a specific program (e.g., lab1):

    jynxpylib lab1
    

2. Imported as a Python Module

You can also import and use jynxpylib inside standard Python scripts:

import jynxpylib

# Print the list of available lab program names
print(jynxpylib.programs.keys())

# Print the content of a specific lab program
jynxpylib.print_program("lab1")

Package Maintenance & File Roles

Here is a breakdown of which files in the repository are manually maintained and which ones are auto-generated.

Manually Maintained Files

These files form the source code and configuration. Do NOT delete them:

  • src/: Contains the package source code.
    • src/jynxpylib/main.py: Contains the logic and actual code implementation.
    • src/jynxpylib/__init__.py: Public API endpoints.
  • pyproject.toml: The main configuration file for building Python packages.
  • setup.py: Minimal compatibility wrapper.
  • MANIFEST.in: List of non-code files (like LICENSE or README.md) that should be packaged.
  • README.md: User documentation (this file).
  • LICENSE: MIT License file.

Auto-Generated Directories & Files

These are created automatically when building or running Python scripts. They can be safely deleted/cleaned at any time:

  • dist/: Created by python -m build. Contains the built packages (source .tar.gz and wheel .whl).
  • build/: Temporary directory created by the build backend during compile/package steps.
  • *.egg-info/: Contains metadata about the package generated by setuptools during build or editable install.
  • __pycache__/: Created by Python when compiled bytecode (.pyc) files are generated for faster load times.

Publishing to PyPI

To upload this package to PyPI, follow these steps:

  1. Ensure the package is built:

    pip install build
    python -m build
    
  2. Install twine:

    pip install twine
    
  3. Upload the built packages to PyPI:

    twine upload dist/*
    

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

jynxpylib-0.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

jynxpylib-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jynxpylib-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for jynxpylib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82591d25976839c5cbdde3573d32464acb20c5f65d0db508bc9bbf4c7c2c5ac8
MD5 ca8542464768c3f50404983f62b02d16
BLAKE2b-256 37791b7f7cb0e2ddafb452838934c8ff434c8246d0df8297c7223ab2a70c7fbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jynxpylib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for jynxpylib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ff0c9c0daa25528dfc0d3a74779fe3ef78fa02b5b26696f6949c32d160ab9ef
MD5 529a39bf1029ae2c09c762ac0d2b70a4
BLAKE2b-256 429c44d7992730a8edafd94b0aeaa76dddcd7b43f110ee869b5c27cbf71a9711

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