Skip to main content

Module for uploading MD file to the Confluence. Also alowed to uploading/downloading files to the SharePoint.

Project description

Confpoint (Confluence / SharePoint) tools

This module contains a set of CLI utils for working with the Atlassian Confluence and the Microsoft SharePoint. It contains three submodules: publisher, uploader, downloader.

console


  • publisher module allowed to you a public and remove Confluence page. The page creating from markdown file.

Using example (PowerShell script):

py -m confpoint.publisher --user "user@mail.com" --apikey "123abc" `
                          --space "your space" `
                          --parent "parent page (optional)" `
                          --title "title page in Confluence" `
                          --file "*.MD file which will be published" `
                          --link "https://your_domain.atlassian.net"

  • uploader module allowed to you upload a file or directory to the SharePoint server.

Using example (PowerShell script):

py -m confpoint.uploader --user "user@mail.com" --password "pass" `
                         --file "path/to/uploading/file" `
                         --remote "remote/path/in/SharePoint/server" `
                         --group "your sharepoint group (somthing like /sites/Team)" `
                         --link "https://your_domain.sharepoint.com" `
                         --timeout 10

  • downloader module allowed to you download a file or directory from the SharePoint server. Also support recursive downloading content from directory.

Using example (PowerShell script):

py -m confpoint.downloader --user "user@mail.com" --password "pass" `
                           --outputdir "path/to/local/output/directory" `
                           --remote "remote/path/in/SharePoint/server" `
                           --group "your sharepoint group (somthing like /sites/Team)" `
                           --link "https://your_domain.sharepoint.com" `
                           --recursive

Usefully notes

  • For building .exe file:

    ./py2exe.ps1
    
  • Create virtual env and activate it

    py -m venv env
    .\env\Scripts\activate
    
  • Install from TestPyPi:

    pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple confpoint
    

Usefully notes and links

  • Install dependency: pip3 install -r requerments.txt
  • Get token for confluence.Check this arcticle or this
  • For upload files to SharePoint use your login and password (login == --user; password == --apikey)
  • Open file pusher.cmd and write your login, token and etc
  • Docker imgage with Confpoint and PowerShell

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

confpoint-1.2.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

confpoint-1.2.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file confpoint-1.2.1.tar.gz.

File metadata

  • Download URL: confpoint-1.2.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for confpoint-1.2.1.tar.gz
Algorithm Hash digest
SHA256 195acb675f069aec6491d21afb4b8ef48790139325f17d809cea1336f71b59fd
MD5 e5fa800fb98e571fcedcd99a2dfc8f0d
BLAKE2b-256 691624d776dc995ad81c14a6260fb38a9c8153682d774e73cf7966c93ed12d18

See more details on using hashes here.

File details

Details for the file confpoint-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: confpoint-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for confpoint-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15675b23457804f1a3474a60bd4b1e1ae9f411f11f7c67dde106de26607f36c8
MD5 780d30c4645aa47f64d3f36e52b2545e
BLAKE2b-256 53ca220492bbba0dc2f0e1652b241570afbfd6e03478383c46a760beb3b6ec17

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