Skip to content

Commit

Permalink
Update Readme and workflows.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 565488024
  • Loading branch information
daiyip authored and langfun authors committed Sep 14, 2023
1 parent 6b22135 commit 57d8bb0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pypi-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,5 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
# Remove the parallel image for Github dark mode in README.md
sed -i -e 's$<img src="https://github.com/raw/google/langfun/main/docs/_static/logo.svg#gh-dark-mode-only" width="320px" alt="logo"></img>$$' README.md
python setup.py sdist bdist_wheel -- --nightly
twine upload dist/* --skip-existing
2 changes: 0 additions & 2 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
# Remove the parallel image for Github dark mode in README.md
sed -i -e 's$<img src="https://github.com/raw/google/langfun/main/docs/_static/logo.svg#gh-dark-mode-only" width="320px" alt="logo"></img>$$' README.md
python setup.py sdist bdist_wheel
twine upload dist/*
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
<div align="center">
<img src="https://github.com/raw/google/langfun/main/docs/_static/logo.svg#gh-light-mode-only" width="320px" alt="logo"></img>
<img src="https://github.com/raw/google/langfun/main/docs/_static/logo.svg#gh-dark-mode-only" width="320px" alt="logo"></img>
<img src="https://github.com/raw/google/langfun/main/docs/_static/logo.svg" width="520px" alt="logo"></img>
</div>

# Langfun

[![PyPI version](https://badge.fury.io/py/langfun.svg)](https://badge.fury.io/py/langfun)
[![codecov](https://codecov.io/gh/google/langfun/branch/main/graph/badge.svg)](https://codecov.io/gh/google/langfun)
![pytest](https://github.com/google/langfun/actions/workflows/ci.yaml/badge.svg)

[**Installation**](#install) | [**Getting started**](#hello-world)

## What is Langfun

Langfun is a Python library that aims to make language models (LM) fun
to work with. Its design enables a programming model that flows naturally,
resembling the human thought process. It emphasizes the reuse and combination of
Expand Down
2 changes: 1 addition & 1 deletion langfun/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
# pylint: enable=g-import-not-at-top
# pylint: enable=g-bad-import-order

__version__ = "0.0.1"
__version__ = "0.0.2"
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def _strip_comments_from_line(s: str) -> str:
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
Expand Down

0 comments on commit 57d8bb0

Please sign in to comment.