Skip to main content

A simple test library

Project description

jfr_1

This is a simple Python library for testing PyPI publishing.

Installation

pip install jfr_1


# jfr_1 Library

jfr_1 is a Python library for algorithms.

## How to Add a New Algorithm

1. Implement your algorithm as a Python function.
2. Use the `register_algorithm` function to add it to the library.
3. Add a description of what your algorithm does.
4. If you'd like to share it, submit a pull request.

## Example

```python
from jfr_1 import register_algorithm

def bubble_sort(arr):
    """Sort a list using bubble sort."""
    for i in range(len(arr)):
        for j in range(0, len(arr)-i-1):
            if arr[j] > arr[j+1]:
                arr[j], arr[j+1] = arr[j+1], arr[j]
    return arr

# Register the algorithm
register_algorithm('bubble_sort', bubble_sort, 'Bubble Sort: An algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.')

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

jfr_1-0.2.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

jfr_1-0.2.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file jfr_1-0.2.1.tar.gz.

File metadata

  • Download URL: jfr_1-0.2.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for jfr_1-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5d578be265766f86fd126ec11e8f8f32bfcd4c803da2e52822165db5f0cb8dac
MD5 b752e0a25dcf26f183d6e598f2fab742
BLAKE2b-256 c8d92fd0890f032043ba117801003bbc55ef55b3315e947a5395f29008971a20

See more details on using hashes here.

File details

Details for the file jfr_1-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: jfr_1-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for jfr_1-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe2e177d73ec1049ca3978f63e62a935b3cad9ae2cedecf72c98cb3aedc7e3a2
MD5 db07ad4eb792cbf80452a1c55fe148c1
BLAKE2b-256 7cb75875581fedbe84cbb8f2bbca146d388c4ee6c823515a2657ac351f4f9ef9

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