Merge branch 'master' of https://github.com/vinta/awesome-python into add-pyvips

This commit is contained in:
John Cupitt 2020-07-26 18:05:04 +01:00
commit fc5482470b
11 changed files with 555 additions and 568 deletions

View File

@ -0,0 +1,10 @@
---
name: Add new library to this list
about: ''
title: ''
labels: ''
assignees: ''
---
**Please open a Pull Request instead.**

10
.github/ISSUE_TEMPLATE/add-xxx.md vendored Normal file
View File

@ -0,0 +1,10 @@
---
name: Add XXX
about: Add new item to the list
title: ''
labels: ''
assignees: ''
---
**Please open a Pull Request instead.**

View File

@ -8,4 +8,4 @@ Enumerate comparisons.
-- --
Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**. Anyone who agrees with this pull request could submit an *Approve* review to it.

View File

@ -1,10 +1,17 @@
language: ruby language: python
rvm: python:
- 2.2 - "3.6"
before_script:
- gem install awesome_bot
script: script:
- awesome_bot README.md --allow-dupe --white-list pyparsing,graphviz.org - cp README.md docs/index.md
- mkdocs build
deploy:
provider: pages
local-dir: site
skip-cleanup: true
keep-history: true
github-token: $GITHUB_TOKEN
on:
branch: master

View File

@ -2,16 +2,19 @@
Your contributions are always welcome! Your contributions are always welcome!
## Guidelines ## Guideline
* Add one link per Pull Request. * Add one link per Pull Request.
* Make sure the PR title is in the format of `Add project-name`.
* Write down the reason why the library is awesome.
* Add the link: `* [project-name](http://example.com/) - A short description ends with a period.` * Add the link: `* [project-name](http://example.com/) - A short description ends with a period.`
* Keep descriptions concise. * Keep descriptions concise and **short**.
* Add a section if needed. * Add a section if needed.
* Add the section description. * Add the section description.
* Add the section title to Table of Contents. * Add the section title to Table of Contents.
* Search previous suggestions before making a new one, as yours may be a duplicate. * Search previous Pull Requests or Issues before making a new one, as yours may be a duplicate.
* Don't mention `Python` in the description as it's implied. * Don't mention `Python` in the description as it's implied.
* Check your spelling and grammar. * Check your spelling and grammar.
* Remove any trailing whitespace. * Remove any trailing whitespace.
* Send a Pull Request with the reason why the library is awesome.
Just a gentle reminder: **Try not to submit your own project. Instead, wait for someone finds it useful and submits it for you.**

View File

@ -1,6 +1,5 @@
site_install: site_install:
pip install mkdocs==0.16.3 pip install -r requirements.txt
pip install mkdocs-material==1.12.2
site_link: site_link:
ln -sf $(CURDIR)/README.md $(CURDIR)/docs/index.md ln -sf $(CURDIR)/README.md $(CURDIR)/docs/index.md
@ -8,5 +7,8 @@ site_link:
site_preview: site_link site_preview: site_link
mkdocs serve mkdocs serve
site_build: site_link
mkdocs build
site_deploy: site_link site_deploy: site_link
mkdocs gh-deploy --clean mkdocs gh-deploy --clean

924
README.md

File diff suppressed because it is too large Load Diff

View File

@ -1,37 +1,9 @@
.bs-sidebar.well { @media (min-width: 960px) {
/* margin-bottom: 0; */ html {
scroll-behavior: smooth;
} }
.bs-sidebar .nav > li > a:hover, .md-content__inner > ul:nth-child(5) {
.bs-sidebar .nav > li > a:focus { display: none;
border: none;
border-left: 2px solid;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
border: none;
border-left: 2px solid;
}
@media (min-width: 992px) {
.bs-sidebar.affix {
/* top: 60px; */
/* bottom: 0px; */
top: 80px;
bottom: 23px;
overflow: auto;
}
}
@media (min-width: 1200px) {
.bs-sidebar.affix-bottom,
.bs-sidebar.affix {
width: 280px;
}
.container > .col-md-9 {
padding-left: 40px;
} }
} }

View File

@ -1,27 +1,26 @@
site_name: 'Awesome Python' site_name: Awesome Python
site_url: 'https://awesome-python.com' site_url: https://awesome-python.com
site_description: 'A curated list of awesome Python frameworks, libraries and software' site_description: A curated list of awesome Python frameworks, libraries and software
site_author: 'Vinta Chen' site_author: Vinta Chen
repo_name: 'vinta/awesome-python' repo_name: vinta/awesome-python
repo_url: 'https://github.com/vinta/awesome-python' repo_url: https://github.com/vinta/awesome-python
theme: 'material' theme:
extra: name: material
feature:
tabs: false
palette: palette:
primary: 'red' primary: red
accent: 'pink' accent: pink
extra:
social: social:
- type: 'github' - type: github
link: 'https://github.com/vinta' link: https://github.com/vinta
- type: 'twitter' - type: twitter
link: 'https://twitter.com/vinta' link: https://twitter.com/vinta
- type: 'linkedin' - type: linkedin
link: 'https://www.linkedin.com/in/vinta' link: https://www.linkedin.com/in/vinta
google_analytics: google_analytics:
- 'UA-510626-7' - UA-510626-7
- 'auto' - auto
extra_css: extra_css:
- css/extra.css - css/extra.css
pages: nav:
- "Life is short, you need Python.": "index.md" - "Life is short, you need Python.": "index.md"

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
mkdocs==1.0.4
mkdocs-material==4.0.2

View File

@ -68,7 +68,9 @@ def main():
with open('README.md', 'w+') as sorted_file: with open('README.md', 'w+') as sorted_file:
# Then all of the blocks are sorted individually # Then all of the blocks are sorted individually
blocks = [''.join(sorted(block, key=lambda s: s.lower())) for block in blocks] blocks = [
''.join(sorted(block, key=str.lower)) for block in blocks
]
# And the result is written back to README.md # And the result is written back to README.md
sorted_file.write(''.join(blocks)) sorted_file.write(''.join(blocks))