Skip to main content

A bunch of tools which allow manage a TWiki

Project description

# python-twiki

python-twiki is a bunch of tools which allow manage a TWiki.

# Install

## From the source

```sh
$ git clone https://github.com/psaavedra/python-twiki.git
$ cd python-twiki
$ sudo python setup.py install
```

## From PyPI

```sh
$ sudo pip install twiki
```

# Examples

## Configuration file (setup.cfg)

```
[global]
loglevel:20
logfile:/dev/stdout
url:http://localhost/twiki

[auth]
type:http_basic
username:user
password:pass
```
where `url` is something like: ''https://wiki.igalia.com/twiki''.

In the other hand, the `auth` settings refer to HTTP Basic
authentication parameters, in necessary case.

## Getting Topics from a Web

```sh
$ twiki-get-topics -c setup.cfg -o list.csv -w WebName

```

where `list.csv` results something like this:

```
"WebName/WebTopic1",
"WebName/WebTopic2",
```

## Moving a Topic to another Topic parent

```sh
$ twiki-move-topic -c setup.cfg -t WebName/WebTopic -p NewWebTopicParent
$ twiki-move-topic -c setup.cfg -i list.csv
$ twiki-move-topic -c setup.cfg -i list.csv -p NewWebTopicParent

```

where `list.csv` is something like this:

```
"WebName/WebTopic1", "NewWebTopicParent1"
"WebName/WebTopic2", "NewWebTopicParent2"

```

## Renaming Topics

```sh
$ twiki-rename-topic -c setup.cfg -t WebName/WebTopic -n NewWebName/NewWebTopic
$ twiki-rename-topic -c setup.cfg -t WebName/WebTopic -n WebName/NewWebTopic
$ twiki-rename-topic -c setup.cfg -t WebName/WebTopic -n NewWebName/WebTopic
$ twiki-rename-topic -c setup.cfg -i list.csv
```

where `list.csv` is something like this:

```
"WebName/WebTopic1", "NewWebName/NewWebTopic1"
"WebName/WebTopic2", "NewWebName/NewWebTopic2"
```


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

twiki-0.0.3.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file twiki-0.0.3.tar.gz.

File metadata

  • Download URL: twiki-0.0.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for twiki-0.0.3.tar.gz
Algorithm Hash digest
SHA256 350cc0c7e72a53e10259f209e7660088eecfe1ea5e8b973078fc4b7b3c3fca11
MD5 6399b5aed468ee6af85ff0ac202e057e
BLAKE2b-256 6b61b2d12f17f89babd1bce21a621bf6811bc2dc2c81ca48244b22e31f6a5525

See more details on using hashes here.

Supported by

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