Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fabric Project Demo

A sample Python library from the FABRIC Testbed project.

Installation

pip install git+https://github.com/fabric-testbed/fabric-project-demo.git

Or clone and install locally:

git clone https://github.com/fabric-testbed/fabric-project-demo.git
cd fabric-project-demo
pip install .

Usage

from fabric_demo import greet, add, slugify, truncate

# Core functions
print(greet("World"))       # "Hello, World! Welcome to FABRIC Demo."
print(add(2, 3))            # 5

# Utility functions
print(slugify("Hello World"))          # "hello-world"
print(truncate("A long string", 10))   # "A long..."

Running Tests

python -m pytest tests/

License

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

About

FABRIC public/private repo example - public - fabric-project-demo

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages