Skip to main content

Convert Nextcloud Contacts to GEQUDIO XML

Project description

Convert Nextcloud Contacts to GEQUDIO XML

Version License pre-commit pre-commit.ci status Code Style: black Automated Checks codecov

ko-fi

This script converts contacts exported from Nextcloud in vCard format to GEQUDIO XML format, which can be imported into GEQUDIO phones.



Installation and Usage

  • Ensure you have Python 3.10 or higher installed on your system.
  • Create a virtual environment and activate it:
    python3 -m venv venv
    source venv/bin/activate
    
  • Install the package using pip:
    pip install nextcloud-contacts-to-gequdio==2.0.1
    
  • Copy the settings file and modify it with your details:
    wget https://raw.githubusercontent.com/ppfeufer/nextcloud-contacts-to-gequdio/refs/heads/master/nextcloud_contacts_to_gequdio/settings.ini.example
    mv settings.ini.example settings.ini
    
    You should now have the following structure:
    .
    ├── venv
    └── settings.ini
    
  • Edit the settings.ini file and fill in the required information:
    • url: The URL of your Nextcloud instance.
    • username: Your Nextcloud username.
    • password: Your Nextcloud password.
    • addressbook: The name of the address book to export contacts from. (Default is "contacts")
  • Run the script:
    /path/to/your/venv/bin/nextcloud-contacts-to-gequdio
    
  • Create a cron job to run the script periodically if desired.
    crontab -e
    
    Add the following line to run the script every day at midnight (Change the cron schedule as desired):
    0 0 * * * /path/to/your/venv/bin/nextcloud-contacts-to-gequdio
    

The cron job will execute the script at the specified intervals, creating or updating the gequdio.xml (which can be found in the same directory as your venv folder and settings file) file with the latest contacts from Nextcloud. It is up to you to ensure that your GEQUDIO phone fetches the updated gequdio.xml file as needed. This may involve hosting the file on a web server or using another method to make it accessible to your phone.

Importing Contacts to Your Gequdio Phone

  • Import the generated gequdio.xml file into your GEQUDIO phone as per its instructions.
  • Enjoy your synchronized contacts!

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

nextcloud_contacts_to_gequdio-2.0.1.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

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

nextcloud_contacts_to_gequdio-2.0.1-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file nextcloud_contacts_to_gequdio-2.0.1.tar.gz.

File metadata

File hashes

Hashes for nextcloud_contacts_to_gequdio-2.0.1.tar.gz
Algorithm Hash digest
SHA256 45379e3fd1ccef8c632ff680b81f42dd063b9bd37477db91b1faaf3e80dc418e
MD5 151d9ab81a4709e36643da0dedaf659f
BLAKE2b-256 8739fad3688b3f7784fd2fdbc6a4932e166ff5300c50bd5d3bf46d55c670c3b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_contacts_to_gequdio-2.0.1.tar.gz:

Publisher: release.yml on ppfeufer/nextcloud-contacts-to-gequdio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nextcloud_contacts_to_gequdio-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nextcloud_contacts_to_gequdio-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36fe28f6b617a4b26278ae992222baf00643e246151454e822fd35b2d56ad9e4
MD5 90fb112cb3e8b72558e42ebddbe721ea
BLAKE2b-256 8332a24b857267b224edf38c2d0b606c733ba75cd4c30d85d13bcb330c8cbe56

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_contacts_to_gequdio-2.0.1-py3-none-any.whl:

Publisher: release.yml on ppfeufer/nextcloud-contacts-to-gequdio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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