Skip to content

Commit 127dfb9

Browse files
Update the url in the pypi publishing action to correctly point to the project on PyPI
1 parent fd12cab commit 127dfb9

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
environment:
4343
name: release
44-
url: https://pypi.org/p/jaffle-shop-generator
44+
url: https://pypi.org/project/jafgen
4545
permissions:
4646
id-token: write
4747

README.md

+25-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# 🥪 Jaffle Shop Generator 🏭
22

3-
The Jaffle Shop Generator or `jafgen` is a python package with a simple command line tool for generating a synthetic data set suitable for analytics engineering practice or demonstrations.
3+
The Jaffle Shop Generator or `jafgen` is a simple command line tool for generating synthetic datasets suitable for analytics engineering practice or demonstrations. The data is generated in CSV format and is designed to be used with a relational database. It follows a simple schema, with tables for:
4+
5+
- Customers
6+
- Orders from those Customers
7+
- Products
8+
- Order Items of those Products
9+
- Supplies needed for those Products
10+
- Store Locations
11+
12+
It uses some straightforward math to create seasonality and trends in the data, for instance weekends being less busy than weekdays, customers having certain preferences, and new store locations opening over time. We plan to add more data types and complexity as the codebase evolves.
413

514
## Installation
615

@@ -42,4 +51,18 @@ Coming soon.
4251

4352
## Contribution
4453

45-
Coming soon.
54+
We welcome contribution to the project! It's relatively simple to get started, just clone the repo, spin up a virtual environment, and install the dependencies:
55+
56+
```shell
57+
gh repo clone dbt-labs/jaffle-shop-generator
58+
# You ARE using `uv`, right? If not, check it out! https://astral.sh/uv
59+
uv venv
60+
# Install the package requirements
61+
uv pip install -r requirements.txt
62+
# Install the dev tooling (ruff and pytest)
63+
uv pip install -r dev-requirements.txt
64+
# Install the package in editable mode
65+
uv pip install -e .
66+
```
67+
68+
Working out from the `jafgen` command, you can see the main entrypoint in `jaffle_shop_generator/cli.py`. This calls the simulation found in `jafgen/simulation.py`. The simulation is where most of the magic happens.

0 commit comments

Comments
 (0)