Skip to main content

creating your own Awesome List used GitHub stars!

Project description

Starred

ci Upload Python Package

Install

$ pip install starred
$ starred --username maguowei --token=xxxxxxxx --sort > README.md

Usage

$ starred --help

Usage: starred [OPTIONS]

  GitHub starred

  creating your own Awesome List by GitHub stars!

  example:     starred --username maguowei --token=xxxxxxxx --sort > README.md

Options:
  --username TEXT        GitHub username  [required]
  --token TEXT           GitHub token  [required]
  --sort                 sort by category[language/topic] name alphabetically
                         [default: False]

  --topic                category by topic, default is category by language
                         [default: False]

  --topic_limit INTEGER  topic stargazer_count gt number, set bigger to reduce
                         topics number  [default: 500]

  --repository TEXT      repository name  [default: ]
  --filename TEXT        file name  [default: README.md]
  --message TEXT         commit message  [default: update stars]
  --private              include private repos  [default: False]
  --version              Show the version and exit.
  --help                 Show this message and exit.

Demo

# automatically create the repository
$ export GITHUB_TOKEN=yourtoken
$ starred --username yourname --repository awesome-stars --sort

Who uses starred?

Use awesome-stars as template

The simple way to create an awesome-stars repository is to use maguowei/awesome-stars as template. It will auto update your awesome-stars repository every day by GitHub Action.

  1. Click Create a new repository from awesome-stars

use-awesome-stars-as-template

  1. Setting the permissions of the GITHUB_TOKEN for your repository

set permissions to Read and write permissions and click Save button

workflow-permissions

  1. Run the workflow first time

click Run workflow button

run-workflow

  1. Customize the workflow schedule

schedule

FAQ

  1. Generate new token

    link: Github Personal access tokens

  2. Install the master branch version

    $ poetry build 
    $ pip install dist/starred-${x.x.x}.tar.gz
    
  3. Dev & Run

    poetry run starred --help
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

starred-4.3.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

starred-4.3.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file starred-4.3.0.tar.gz.

File metadata

  • Download URL: starred-4.3.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1030-azure

File hashes

Hashes for starred-4.3.0.tar.gz
Algorithm Hash digest
SHA256 ffda9ffcd6abe91c0a0607e9d91d19728914306078897c5dcedcca258ed0a7bf
MD5 7b19ac6d52dab238071228b262f43e57
BLAKE2b-256 7f81ff57599c09e10539ae0ae8f274803b6303f750f792e107240272797d6417

See more details on using hashes here.

File details

Details for the file starred-4.3.0-py3-none-any.whl.

File metadata

  • Download URL: starred-4.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1030-azure

File hashes

Hashes for starred-4.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f50f2f07db97b8f9d52ed899ae304fbe57828dde6c66a78eeebfbae6289af050
MD5 89fe08b61bfb53558a404bca82d1928d
BLAKE2b-256 66e0ac8181af2f28e92cfa2d8a340190a2dcc2b89083c581328db41a48e65e2a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page