Skip to content

Commit af124ad

Browse files
committed
ci pipeline
1 parent 4eb7120 commit af124ad

4 files changed

Lines changed: 111 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Build and Publish
2+
on: [ push ]
3+
jobs:
4+
Explore-GitHub-Actions:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Formatting
8+
- run: pip install black isort
9+
- run: black substack
10+
- run: isort substack
11+
- name: Build and Publish
12+
- run: pip install poetry
13+
- run: poetry version patch
14+
- run: poetry publish --build

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1-
# Welcome to Python Substack
1+
# Python Substack
22

3-
Updated
3+
# Introduction
4+
5+
This is an unofficial library providing a Python interface for [Substack](https://substack.com/).
6+
I am in no way affiliated with Substack. It works with
7+
Python versions from 3.8+.
8+
9+
# Installation
10+
11+
You can install python-substack using:
12+
13+
$ pip install python-substack

poetry.lock

Lines changed: 81 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "python-substack"
3-
version = "0.0.2"
3+
version = "0.0.4"
44
description = "A Python wrapper around the Substack API."
55
authors = ["Paolo Mazza <mazzapaolo2019@gmail.com>"]
66
license = "MIT"
@@ -17,8 +17,10 @@ keywords = ["substack"]
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.8"
20-
python-dotenv = "^0.20.0"
20+
2121
requests = "^2.28.1"
22+
python-dotenv = "^0.20.0"
23+
2224

2325
[tool.poetry.dev-dependencies]
2426

0 commit comments

Comments
 (0)