Giter VIP home page Giter VIP logo

python-bootstrap's Introduction

Python ๐Ÿš€ Bootstrap

Unix: curl -o start.py https://raw.githubusercontent.com/andrejanesic/Python-Bootstrap/main/start.py && python start.py

Windows: Invoke-WebRequest -Uri https://raw.githubusercontent.com/andrejanesic/Python-Bootstrap/main/start.py -OutFile start.py; python start.py

Follow the setup wizard and you'll have a working Python project in seconds.

What is Python ๐Ÿš€ Bootstrap?

Creating Python projects by hand can be difficult and complex.

How do you structure your project? Which package manager to use? And what about build scripts?

That's where Python ๐Ÿš€ Bootstrap comes into play.

Python ๐Ÿš€ Bootstrap helps you set up a new Python project in seconds.

From setup.py to test module, from .gitignore to Make, Python ๐Ÿš€ Bootstrap builds everything for you.

Just follow the setup wizard, and you'll get a fully-working Python 3 project in less than a minute.

How to Use?

Simply copy start.py into your project directory and execute with Python:

Unix:

curl -o start.py https://github.com/andrejanesic/Python-Bootstrap/start.py | python -

Windows:

(Invoke-WebRequest -Uri https://github.com/andrejanesic/Python-Bootstrap/start.py -UseBasicParsing).Content | python -

Follow the provided steps to complete your project setup.

Project Structure

package_name/ ......... The main module of your program. Write your code here.
    __init__.py ....... Initializes the module. Export your .py files here.
    __main__.py ....... Module's main script.
    core.py ........... Write your program here. You may also create additional script files and subdirectories here.
tests/ ................ The test suite of your project.
    __init__.py ....... Initializes the test module.
    __main__.py ....... Runs the tests.
    test_basic.py ..... An example test script. You may also create additional test scripts here.
.gitignore ............ Basic gitignore, automatically ignores venv dir.
make.bat .............. The Make scripts for testing, running and building your
Makefile .............. project. Extend the scripts to your specific needs.
MANIFEST.in ........... Specifies which files to include in source distribution.
README.rst ............ Auto-generated README.
requirements.txt ...... File to place your pip requirements.
setup.py .............. Auto-generated based on project info.

Authors

Andreja Nesic

References

This project is based on the following references:

python-bootstrap's People

Contributors

andrejanesic avatar

Stargazers

 avatar

Watchers

James Cloos 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.