Skip to main content

Strongly opinionated python project management.

Project description

edgy.project

Strongly opinionated python project management.

This package helps you create python source trees using best practices (or at least the practices we consider as best for us) in a breeze.

Don’t worry about setting up git, a makefile, usual project targets, unit tests framework, pip, wheels, virtualenv, code coverage, namespace packages, setup.py files … Project’s got you covered on all this, using one simple and fast command.

Install

Before installing the package, you must make sure that pip and virtualenv are installed and available to be used in your current environment.

pip install edgy.project

Now, you may want to bootstrap a python package source tree.

mkdir my.awesome.pkg
cd my.awesome.pkg
cat >Projectfile <<EOF
name = 'my.awesome.pkg'
description = 'Amazing description.'
license = 'Apache License, Version 2.0'
EOF
python -m edgy.project init

You’re done with the bootstrap. You can now run:

make install
make test
git commit -m 'Damn that was fast ...'

Happy?

Gotchas

As the headline says, we have made strong opinionated choices about how a project tree should be organized.

For example, we choose to use make to provide the main project entrypoints (install, test). We also choose to use git. And nosetests. And to put root package in the project root. Etc.

For beginners, that’s a good thing, because they won’t have to ask themselves questions like “What should I put in setup.py ?” or “Should I create a «src» dir or not ?”. For more advanced users, it can be either a good thing if you agree with our choices, or a bad one …

F.A.Q

  • I’m using PasteScript, isn’t that enough?

    • PasteScript with the basic_package template will only generate a very minimalistic tree, while we install a few tools and generate more boilerplate than it does. The fact is, we were using it before but still had a lot of repeated actions to do then, and the exact aim of this project is to automate the whole. Also, PasteScript cannot update a project once generated, while we do.

  • Should I use it?

    • You’re a grown man, right?

  • Is it stable / production ready?

    • Not really relevant to this project, as it’s more a development tool than something you’ll use in operations. However, please note that on some points and until version 1.0, we will tune things and change the way it works to find the most flexible way to operate. Thus, if you relly on a specific implementation, updates may break things. The good news is that you’ll be able to review changes using git diff –cached, and either rollback or report issues saying how much you’re disappointed (and why, don’t forget the why, please).

  • Can I contribute?

    • Yes, but the right vs wrong choices decision is up to us. Probably a good idea to discuss about it (in an issue for example) first.

  • Can you include feature «foo»?

    • Probably, or maybe not. Come on github issues to discuss it, if we agree on the fact this feature is good for a lot of usages, your patch will be welcome. Also, we’re working on a simple way to write “feature plugins”, so even if we don’t agree on something, you’ll be able to code and even distribute addons that make things work the way you like.

  • Do you support python 3?

    • It’s the plan, but unfortunately, not for now.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgy.project-0.1.9.tar.gz (9.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

edgy.project-0.1.9.macosx-10.6-intel.tar.gz (18.6 kB view details)

Uploaded Source

edgy.project-0.1.9-py2.7.egg (31.9 kB view details)

Uploaded Egg

edgy.project-0.1.9-py2-none-any.whl (18.9 kB view details)

Uploaded Python 2

File details

Details for the file edgy.project-0.1.9.tar.gz.

File metadata

  • Download URL: edgy.project-0.1.9.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for edgy.project-0.1.9.tar.gz
Algorithm Hash digest
SHA256 242f730706d5a95d141931d6ea15753041f157d5cf64f226fc57b6f0e5913cc0
MD5 5325d7fd48faa0d40b980e0a7005e887
BLAKE2b-256 a7523765bdea6914eaaf1c920bc3033b235b9b111eb18b9ba72744abb510d33c

See more details on using hashes here.

File details

Details for the file edgy.project-0.1.9.macosx-10.6-intel.tar.gz.

File metadata

File hashes

Hashes for edgy.project-0.1.9.macosx-10.6-intel.tar.gz
Algorithm Hash digest
SHA256 a8ae65134960bb5c4afded9a1b7c293f147222e4a073bdbf9e4e1416103f40e8
MD5 7b3091fd6bcecd84aea8d3a8194b2fd6
BLAKE2b-256 7e19ce5986b1cf106eec97d57b8f405a7730015695e4a00ab9c112fde455dc4b

See more details on using hashes here.

File details

Details for the file edgy.project-0.1.9-py2.7.egg.

File metadata

File hashes

Hashes for edgy.project-0.1.9-py2.7.egg
Algorithm Hash digest
SHA256 30c509e0f25b4d570f127794bce81d5d0f1973cfd950a0c394400a515a5757c5
MD5 7b06ed3a3ac8955fad69f09055d2862f
BLAKE2b-256 616ed629d73cb7f1baf577aea9ce8515edf5e2b31c07dc0fedcf1b8785fff849

See more details on using hashes here.

File details

Details for the file edgy.project-0.1.9-py2-none-any.whl.

File metadata

File hashes

Hashes for edgy.project-0.1.9-py2-none-any.whl
Algorithm Hash digest
SHA256 2488d0e0416264e8e6774b58c065298141a9eb5895a075137ee31e2e7b09cd2e
MD5 a68fed81ca198246c91ce8fdff7e40ac
BLAKE2b-256 8afb114c04ea04cb1bac6ec9628b4eb4f0ee4b0c3f3bec101b38d67812f516b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page