netplan
| Use Case | Command | Description |
|---|---|---|
| Import the package | import netplan | Load the core netplan Python module |
| Access the parser | from netplan.parser import Parser | Parse YAML network configuration |
| List available classes | print(netplan.__all__) | Show Parser, State, and other exported symbols |
| View module location | netplan.__file__ | Get the file path of the installed module |
# Copyright (C) 2023 Canonical, Ltd.
# Author: Lukas MΓ€rdian <slyon AT ubuntu.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
_netplan_cffi_utilsnetdefparserstate__all__ = [<class 'netplan.parser.Parser'>, <class 'netplan.state.Stat...]
/usr/lib/python3/dist-packages/netplan/__init__.py
Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 11:10 @216.73.216.114
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format