This release is a pre-release and may not be stable for production use.
Djydoc
Read Python Documentation within a Django Project.
So you're happily going along in development and you want to quickly view documentation in a module. For python modules this is a piece of cake.
However, when you try to find out more information about a Django app, you may have come across an error like this...
Or like this...
And you may have done this...
But after installing djydoc now you can do this:
Djydoc aims to be a simple drop-in replacement as a
manage.pycommand for pydoc so that you can view Python documentation without having to specifyDJANGO_SETTINGS_MODULEor run django.setup(). Djydoc does that for you.
Summary
- Getting Started
- Runing the tests
- Deployment
- Built With
- Contributing
- Versioning
- Authors
- License
- Acknowledgments
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
- Django 2.2.4+
- Poetry (optional, to help easily install)
Installing
Option 1 : PIP
$ pip install djydoc
Option 2: Development install via poetry
$ git clone <git_url>
$ cd djydoc
$ poetry install
Option 3: use as a Django app
Just follow option 2, but don't install with poetry
Options 1, 2, or 3: Setup
Add 'djydoc' to INSTALLED_APPS in settings:
INSTALLED_APPS += [
'djydoc'
]
Usage
Once installed djydoc should be available via the ./manage.py command.
The intention is for this to be a drop-in replacement for pydoc, so all the
commands should work the same (currently -w is not implemented):
$ ./manage.py djydoc django.contrib.auth.models.User
[ documentation shown ]
$ ./manage.py djydoc -p 8080
Server ready at http://0.0.0.0:8080/
Server commands: [b]rowser, [q]uit
server>
Running the tests
Testing TBD.
Deployment
Follow common sense django deployment practices.
Built With
- Contributor Covenant - Used for the Code of Conduct
- Creative Commons - Used to choose the license
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Jordan H. - Code Author - SrcRr
License
This project is licensed under MIT.
Acknowledgments
TBD
Metadata
Release files for djydoc 0.1.3.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| djydoc-0.1.3.dev0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| djydoc-0.1.3.dev0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 8.3 kB
Release files / djydoc-0.1.3.dev0.tar.gz
| Download URL | djydoc-0.1.3.dev0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
745ca8ad1c6a3a04a3cfd4478574893cf22b73cdb577a45975c062d90c39705e
|
|
BLAKE2b-256 checksum How to use checksums |
42f9b1da7986b9b6cc379a4826a5e8278712db5191ca94fbc1ea741486793a4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.2 Linux/5.4.0-40-generic
|
Release files / djydoc-0.1.3.dev0-py2.py3-none-any.whl
| Download URL | djydoc-0.1.3.dev0-py2.py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c50f0458e63a97baf9b5580169f9ceace9fbbd8a1de21eadefe179ff7e2992e7
|
|
BLAKE2b-256 checksum How to use checksums |
acc878e3881e92d7c8575e449f30c16f5b3de3031403f40e72deb06d57574f6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.2 Linux/5.4.0-40-generic
|