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.1.1.tar.gz (2.2 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.1.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jfr_1-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 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.1.1.tar.gz
Algorithm Hash digest
SHA256 514775150e17ee10d34214b6c6d3e976ad43a5dd6f3aa02f6d4315e3fa700acc
MD5 11ab773587a65664e3fd966b066db5b8
BLAKE2b-256 026f1612403e166e03d88006a6640a24fd05231b0c458f08768b73da2e2404e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jfr_1-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8a15a7414cfa17d54e91c2008ed0560d3f3a86a55bc60b7cc370a69acf30815d
MD5 5768a023610e3b61b9f501fe050c8734
BLAKE2b-256 801fd01a180563e3e38786442454f4b6724f626ae2a243e46530e103d28f996d

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