An open-source Python program that exports information about a user's followers on DEV.to in a beautiful Markdown file or complete CSV or JSON file.
Project description
devto-followers2md
DEV.to Followers to Markdown (devto-followers2md) is an open-source Python program that exports information about a user's followers on DEV.to in a beautiful Markdown file or complete CSV or JSON file.
Installation
Currently, the way to run the script is to clone the repository and run the file located at src/main.py
Clone the repository and run the script
If you want to run the script, view the soruce code, or contribute, clone the repository locally:
git clone https://github.com/tyleruploads/devto-followers2md.git
cd devto-followers2md/src
python3 main.py
Consult the requirements.txt file in the root of the project to ensure you have all the required dependencies.
Usage
To use devto-followers2md, simply follow along with the prompts the script gives you.
To get a DEV.to API Key, navigate to: DEV.to -> Settings -> Extensions, and scroll till you find "DEV Community API Keys" The API Key you generate will still be available for you to see after you close the tab, so you do not need to save it (unlike most API Keys)
An example run is:
--- Formats ---
0. Markdown
1. CSV
2. JSON
Please enter the numbers for the following formats you would like to save to: 012
--- File Save Locations ---
Please enter save path for Markdown (Default: followers.md): ~/Documents/followers.md
Please enter save path for Csv (Default: followers.csv): ~/Documents/followers.csv
Please enter save path for Json (Default: followers.json): ~/Documents/followers.json
To get an API Key, go to: DEV.to -> Settings -> Extensions, and scroll to the bottom.
DEV.to API Key: (securely collected with the getpass module from the Python STL)
Followers to pull in each GET request (default is 1000):
A maximum of 1000 users will be pulled from each page.
Page count: 1.
534 followers pulled on page 1. 534 total followers have been found so far.
Page count: 2.
0 followers pulled on page 2. 534 total followers found.
Saved in the Markdown file format to /home/tyler/Documents/followers.md
Saved in the CSV file format to /home/tyler/Documents/followers.csv
Saved in the JSON file format to /home/tyler/Documents/followers.json
Features
devto-followers2md has a large array of features that make it stand out from projects like it.
- Multi-Format Export: Save to Markdown, CSV, and JSON files
- Secure API Key Handling: Securely collects the users DEV.to API Key with the Python STL Module getpass and only uses it to interact with the DEV.to API endpoint
- Smart Rate-Limiting: Automatically handles
429 Too Many Requestsresponses - Beautiful and Detailed Output: Outputs a beautiful and detailed Markdown file, a detailed CSV or JSON file, or all 3
Contibuting
Contibutions are what make open-source projects important. All contributions are highly appreciated
- Found a bug or issue: Open an Issue and show the output of the script, the steps to reproduce it, and as much information as possible
- Have an idea: Open an Issue and explain your idea as much as possible, why you think it would be a good addition to the project, and any other important information.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devto_followers2md-0.1.0.tar.gz.
File metadata
- Download URL: devto_followers2md-0.1.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebbdbf17df464f6dda80805906313811050a12b8fa96c68579f6d5ef8101bc7a
|
|
| MD5 |
85e436573822d2022b4c1b04f206fb4b
|
|
| BLAKE2b-256 |
687b6d87b3c1602f1f229fb6ab1286ecc231a89300fa3d5fffc1561562240093
|
Provenance
The following attestation bundles were made for devto_followers2md-0.1.0.tar.gz:
Publisher:
publish.yaml on tyleruploads/devto-followers2md
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devto_followers2md-0.1.0.tar.gz -
Subject digest:
ebbdbf17df464f6dda80805906313811050a12b8fa96c68579f6d5ef8101bc7a - Sigstore transparency entry: 1805878347
- Sigstore integration time:
-
Permalink:
tyleruploads/devto-followers2md@1bc06512a9945087d6cfa29732e2ac4cb54c3a30 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/tyleruploads
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@1bc06512a9945087d6cfa29732e2ac4cb54c3a30 -
Trigger Event:
push
-
Statement type:
File details
Details for the file devto_followers2md-0.1.0-py3-none-any.whl.
File metadata
- Download URL: devto_followers2md-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd667fb3079429c4c1f955c0b40c18462c69527ef65e5239e5d4e0381347c5a5
|
|
| MD5 |
4046bf4a4e621d98cedae36f27f33c25
|
|
| BLAKE2b-256 |
cdbf2a0edfa356e1c18c79aeeb63e4f8df743b2db456108fb71c9798df81af88
|
Provenance
The following attestation bundles were made for devto_followers2md-0.1.0-py3-none-any.whl:
Publisher:
publish.yaml on tyleruploads/devto-followers2md
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devto_followers2md-0.1.0-py3-none-any.whl -
Subject digest:
dd667fb3079429c4c1f955c0b40c18462c69527ef65e5239e5d4e0381347c5a5 - Sigstore transparency entry: 1805878374
- Sigstore integration time:
-
Permalink:
tyleruploads/devto-followers2md@1bc06512a9945087d6cfa29732e2ac4cb54c3a30 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/tyleruploads
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@1bc06512a9945087d6cfa29732e2ac4cb54c3a30 -
Trigger Event:
push
-
Statement type: