Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gdg-gandhinagar/idcard-generator
ID Card Generator for DevFest 19
https://github.com/gdg-gandhinagar/idcard-generator
devfest19 id-card pillow python sheets-api
Last synced: 2 months ago
JSON representation
ID Card Generator for DevFest 19
- Host: GitHub
- URL: https://github.com/gdg-gandhinagar/idcard-generator
- Owner: GDG-GANDHINAGAR
- Created: 2019-09-16T15:40:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:42:42.000Z (about 2 years ago)
- Last Synced: 2023-03-10T16:42:46.724Z (almost 2 years ago)
- Topics: devfest19, id-card, pillow, python, sheets-api
- Language: Python
- Size: 188 KB
- Stars: 14
- Watchers: 2
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ID Generator for DevFest
This similar code can be used further for certificate generation also.
## How to Use 😕
### Get your `credentials.json` file
Visit [this](https://developers.google.com/sheets/api/quickstart/python) and click on the 'Enable the Google Sheets API' to enable sheets API for your account, and get your `credentials.json` file.
### Install pipenv
Use the command
```sh
sudo -H pip install pipenv
```and then simply setup pipenv
```sh
pipenv install
```and activate pipenv shell using
```sh
pipenv shell
```### Create folders if not already
```sh
mkdir cards
mkdir qrcodes
```### Add a `.env` file with Mailjet credentials and Google Sheet ID
Create a `.env` file in the root directory of your project, and add the following variables:
```env
FONT=
SHEET_ID=
ORG_EMAIL=
ORG_NAME=
MJ_APIKEY_PUBLIC=
MJ_APIKEY_PRIVATE=
SG_APIKEY=
```Now simply run:
```sh
python idgen.py
```## Makers ðŸ›
- Code by Jay Mistry [@rossoskull](https://github.com/rossoskull)
- Designs by Pranay Agarwal [pydesigns](https://www.behance.net/pydesigns)