Skip to main content

Public 360 application by Tieto has some issues with for example duplicated contacts. This package tries to fix that and adds other functionality like synchronization(enrichment) with brreg.no.

Project description

test codecov wemake-python-styleguide

P360 Contact Manager

Documentation | Source Code | Task Tracker

While there are existing solutions to synchronize with systems such as brønnøysundregisteret. They can be used via GUI only and are slow to enrich and update the data. Some of the tools can create duplicates that are not accepted among all the systems.

This project addresses the following issues:

  • Creates simple and easy to use CLI interface
  • Runs faster than existing solutions
  • Removes duplicates
  • Multi-platform

Quickstart

Installing the package

p360-contact-manager is on pypi and can be installed with pip

pip install p360-contact-manager

This installs the p360 CLI command. If you have installed it in a virtualenv, then remember to activate it before usng p360. If you have used poetry to install it, run it with poetry run p360.

!!! note In the examples replace your_key with your api authkey and your_url with the url to your api.

Start with testing the connection

p360 --authkey your_key --p360_base_url your_url test

Find duplicates

p360 --authkey your_key --p360_base_url your_url duplicates

Check the file duplicate_worklist.json thats created if everything looks okay. The filename can also be configured by using --output my_duplicate_worklist.json.

Run update

p360 -ak your_key -pbu your_url --worklist duplicates_worklist.json update

This creates a file called result_update.json in your current working directory. This file contains a list of all enterprises which have been updated by recno. If there are any errors then those can be found in the same file with an error message and the payload that caused the error.

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

p360-contact-manager-1.2.0.tar.gz (17.0 kB view hashes)

Uploaded Source

Built Distribution

p360_contact_manager-1.2.0-py3-none-any.whl (23.3 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