A Python package helping to write and maintain Python packages.
Project description
Welcome! This is the documentation for pymetacode, a Python package helping to write and maintain Python packages.
Code that writes code - yes, that’s correct. Automating the boring stuff, one could say, or helping to focus on the creative part of programming. In any case, the idea for this package stems from experience with a couple of Python projects, and as such it is pretty opinionated, focussing on personal needs regarding structure and layout. Nevertheless, it tries to be as user-friendly as possible, coming with an intuitive command-line interface (CLI).
Want to get an idea? Here you go. Creating a new package would be a two-step process:
Write a configuration file for your new package (and afterwards fill it with sensible content)
pymeta write config to mypackage_config.yaml
Create the basic Python package structure for your package.
pymeta create package from mypackage_config.yaml
Once you have your package structure, you can add modules, classes, and functions to your package from within the package’s root directory any time:
pymeta add module mymodule
pymeta add class MyClass to mymodule
pymeta add function my_function to mymodule
And now - happy coding!
Features
A list of features:
Create initial package structure (directory layout, files)
Add module, class, and function scaffolds to an existing project, including tests and API documentation
Intuitive command-line interface (CLI)
And to make it even more convenient for users and future-proof:
Open source project written in Python (>= 3.7)
Developed fully test-driven
Extensive user and API documentation
Installation
To install the pymetacode package on your computer (sensibly within a Python virtual environment), open a terminal (activate your virtual environment), and type in the following:
pip install pymetacode
License
This program is free software: you can redistribute it and/or modify it under the terms of the BSD License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pymetacode-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22281ed5c9d982ee870d588ee17df49a6c85b42e34c064f9ab92c8d55796dd04 |
|
MD5 | 5b36a1e02472049afcf380b9e7b51c9f |
|
BLAKE2b-256 | 505cf392171e24dab69847787c9e5fa13cac53c258d244c5cfb3e413efa8b5a4 |