Giter VIP home page Giter VIP logo

alacrity's Introduction

Alacrity

Release Build Status Issues PRs Welcome Stars

Quickstart your Python project with a single handy command.

Screenshot

Installation

pip install alacrity

Running Alacrity

To run alacrity, use:

alacrity <package_name>

To display all the options, use:

alacrity -h

Answer some questions interactively, and poof, your package structure is ready. Based on the sample Python package structure by Kenneth Reitz.

Features

  • Customized setup.py file
  • Automatic git repository initialization
  • Automatic virtual environment setup
  • Automatic Sphinx docs initialization
  • Easily extensible workflow for custom install steps

Platforms

  • Windows (and Cygwin)
  • Linux
  • Android (Termux)

Testing

  • To run the built-in tests, run tox in the project root
  • To add custom testing, edit tox.ini

alacrity's People

Contributors

vishnuvardhan-kumar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

alacrity's Issues

TypeError on git integration

Traceback (most recent call last):
File "C:\Users\ankit\AppData\Local\Programs\Python\Python36-32\Scripts\alacrity-script.py", line 11, in
load_entry_point('alacrity==1.0.6', 'console_scripts', 'alacrity')()
File "c:\users\ankit\appdata\local\programs\python\python36-32\lib\site-packages\alacrity\main.py", line 69, in main
lib.git_init(package_name, status)
File "c:\users\ankit\appdata\local\programs\python\python36-32\lib\site-packages\alacrity\lib.py", line 468, in git_init
value = subprocess.check_output([git_path, b'init', path])
File "c:\users\ankit\appdata\local\programs\python\python36-32\lib\subprocess.py", line 336, in check_output
**kwargs).stdout
File "c:\users\ankit\appdata\local\programs\python\python36-32\lib\subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "c:\users\ankit\appdata\local\programs\python\python36-32\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "c:\users\ankit\appdata\local\programs\python\python36-32\lib\subprocess.py", line 971, in _execute_child
args = list2cmdline(args)
File "c:\users\ankit\appdata\local\programs\python\python36-32\lib\subprocess.py", line 461, in list2cmdline
needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: a bytes-like object is required, not 'str'

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.