Git Product home page Git Product logo

pyenv's Introduction

Welcome to Py-ENV - Beta

Python automation for environment variables

> CLI that generates, update and delete environment variables in GitLab CI/CD and GitHub Secrets. > New Update V2.0 Support multiple platforms (GitHub and GitHub)

alt text

GitLab Options:

alt text

GitHub Options:

alt text

๐Ÿš€ Usage

Make sure to add all environment variables information in .env file Than modify cfg.py file after rename it from cfg (Sample).py to cfg.py And update bellow varaibles: ENV file path. GitLab Project ID. GitLab Private Token. GitHub Token GitHub User GitHub REPO Name

Example of cfg.py:

# ENV file path
env_file = '/home/<your-user>/Desktop/api/.env'

# GitLab Project ID
project_id = 'Add here project id'

# GitLab Private Token
private_token = 'Add here your GitLab private token'

# GitHub GitHub Personal Access Token
GITHUB_TOKEN = 'Add here your GitHub private token'
GITHUB_USER = 'Add here your GutHub User'
REPO_NAME = 'Add here your repo name'

#######  Don't Edit Below Lines  ###############################
url = 'https://gitlab.com/api/v4/projects/' + project_id + '/variables'
content_type = 'application/json'

env_protected = 'true' # true|false
env_masked = 'false' #true|false
env_environment_scope = '*'

Author

๐Ÿ‘ค Iven Leni Fernandez

โœจ Contributing

If you've ever wanted to contribute to open source, and a great cause, now is your chance!

See the contributing docs for more information

๐Ÿ“ License

Copyright ยฉ 2020 Iven Leni Fernandez.
This project is AGPL-3.0 licensed.

pyenv's People

Contributors

iven86 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.