Socket
Socket
Sign inDemoInstall

confpoint

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

confpoint

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


Maintainers
1

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
    
  • 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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc