Skip to main content

Test package.

Project description

A sample project.

Package initialization (__init__.py)

>>> import pyyc
Initialisation  A1
Initialisation  A2
Initialisation  A1B
>>> pyyc.subpkgA.modA1.version
'A1'
>>> pyyc.subpkgB.version
'A1B'

Data files (e.g. config/)

Example to access data file at runtime:

>>> from pyyc.subpkgB.mod import read_config  # always possible, no matter __all__
>>> cfg = read_config()                       # will look for config files distributed along pyyc
>>> cfg['DEFAULT']['version']
'cfg-1.0'

Source: https://setuptools.pypa.io/en/latest/userguide/datafiles.html#accessing-data-files-at-runtime

To be completed

  • sphinx documentation (docs/),

  • continuous integration (.gitlab-ci.yml),

  • tests (tests/),

  • coverage.

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

pyyc-0.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

pyyc-0.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

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