No project description provided
Project description
Bibliograpy
Bibliography management to decorate source code.
Documentation
API
The Bibliograpy API allows to manage bibliographic centralized references using decorators.
Hence, is it possible to factorize all bibliographic sources as variables in a single module, using them as arguments of decorators.
"""The bibliography module."""
from bibliograpy.api import TechReport
IAU_2006_B1 = TechReport(
key="iau_2006_b1",
title="Adoption of the P03 Precession Theory and Definition of the Ecliptic")
"""The bibliography_client module using the bibliography.py module."""
from bibliograpy.api import reference
from bibliography import IAU_2006_B1
@reference(IAU_2006_B1)
def my_function():
"""My my_function documentation."""
# some implementation here using the reference given as a parameter to the decorator
The usage of the decorator has two purposes.
First, to use a bibliographic reference defined once and for all, centralized and reusable.
Second, to implicitly add to the documentation of the decorated entity a bibliographical section.
import bibliography_client
>>> help(my_function)
Help on function my_function in module bibliography_client
my_function()
My my_function documentation.
Bibliography: Adoption of the P03 Precession Theory and Definition of the Ecliptic [iau_2006_b1]
Preprocessing
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
File details
Details for the file bibliograpy-0.0.1.tar.gz
.
File metadata
- Download URL: bibliograpy-0.0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3724efec6f651bc87695dc509762ef0ffd5d71e3ac893457ffc31261a04c09df |
|
MD5 | 63d607e656def5b0cc6ae818c688fe37 |
|
BLAKE2b-256 | 10410305ad8dc338e98bc39b381cdd6d51bfc7d58056f745e6f29d5271311b90 |
File details
Details for the file bibliograpy-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: bibliograpy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af82d6eedd2bb74e55faeac7fbc4b60ea50445996f6e3f38c060d9610f00edff |
|
MD5 | bab62d09856aee5b3add83e6a4fa8bc4 |
|
BLAKE2b-256 | b070c5b2d509ce38f488e2aa716e1822357d8f445488d99f5880768b3121fff6 |