Skip to main content

infotags
========

* Project Home: https://github.com/SaintAttila/infotags
* Python Package Index: https://pypi.python.org/pypi/infotags

Infotags extracts package or module meta information for use by setup.py and
packaging utilities. It scans your package or module's source code for tags of
the form `__tag_name__ = literal_value`, removing the double underscores and
dropping them into a dictionary for easy access. It also captures the package or
module's name and docstring (if any) in the process. The key advantage to using
infotags is that it doesn't import your package or module, which means it can be
used even during installation when your package or module's dependencies haven't
been installed yet.


Here's an example of how to use the infotags module in your setup.py script:

import sys
from distutils.core import setup

# If you don't like this try/except block, feel free to include infotags.py
# in your distribution next to your setup.py script. Then it will be
# guaranteed to always be available.
try:
import infotags
except ImportError:
print("The installer for this package requires the infotags module. "
"Please install it first with 'pip install infotags'.")
sys.exit(2)

# Use the name you would actually use to import your package or module.
PACKAGE_NAME = 'name_of_package_or_module'

setup(**infotags.get_info(PACKAGE_NAME))

For a more extended example, see the setup.py script for the infotags module
itself.



This package is released under the MIT license. Full copyright/license
information for infotags:

Copyright (c) 2015-2017 Aaron Hosford

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.


Metadata

Release files for infotags 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for infotags 1.1.2
File Size Uploaded Provenance
infotags-1.1.2.tar.gz 5.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for infotags 1.1.2
File Interpreter ABI Platform
infotags-1.1.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 15.7 kB

Release files / infotags-1.1.2.tar.gz

Download URL infotags-1.1.2.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
002a57dcb7900b68e2cb4747099b85828a5599606dcfaec8c71174937fea36ad
BLAKE2b-256 checksum
How to use checksums
51eec6f7926ca20fef2a52cda8f71893eaf147bf005b9fbf23abb63a6de3acbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / infotags-1.1.2-py2.py3-none-any.whl

Download URL infotags-1.1.2-py2.py3-none-any.whl
Size 9.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3c371ad52f700a8e78d4c4f20421c8ee3c82257e0fec2994d19d8b03ae264e59
BLAKE2b-256 checksum
How to use checksums
40631e87fca8b539c498c70a1b678fa0b099c5eb6fb464c3ee177129ee958eac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for infotags 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page