-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ujjwal-ibm/readme-fix
changed folder structure, fixed logger issues
- Loading branch information
Showing
34 changed files
with
124 additions
and
346 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Contributing to BoxNote to DOCX Converter | ||
# Contributing to BoxNote to docx Converter | ||
|
||
Thank you for your interest in contributing to BoxNote to DOCX Converter! This document provides guidelines and instructions for contributing. | ||
Thank you for your interest in contributing to BoxNote to docx Converter! This document provides guidelines and instructions for contributing. | ||
|
||
## Development Setup | ||
|
||
1. Clone the repository: | ||
```bash | ||
git clone [email protected]:ujjwal-ibm/boxnoteconvertor.git | ||
cd boxnoteconvertor/boxnotetodocx | ||
git clone [email protected]:ujjwal-ibm/boxtodocx.git | ||
cd boxtodocx | ||
``` | ||
|
||
2. Create a virtual environment: | ||
|
@@ -47,7 +47,7 @@ pytest | |
|
||
For test coverage: | ||
```bash | ||
pytest --cov=boxnotetodocx | ||
pytest --cov=boxtodocx | ||
``` | ||
|
||
## Pull Request Process | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,62 @@ | ||
# boxnoteconvertor | ||
A tool to convert boxnotes to docx(for now) | ||
# BoxNote to docx Converter | ||
|
||
A Python command-line tool to convert Box Notes to Microsoft Word (docx) documents with preservation of formatting, tables, and images. | ||
|
||
### **Getting Started with `boxtodocx`** | ||
## Features | ||
|
||
set up the core tool—`boxtodocx`. Follow these steps: | ||
- Convert single BoxNote files to docx | ||
- Batch convert entire directories of BoxNote files | ||
- Preserve formatting, tables, and images | ||
- Support for Box API authentication | ||
- Simple command-line interface | ||
|
||
## Installation | ||
|
||
#### **1. Clone the Repository** | ||
```bash | ||
git clone https://github.com/ujjwal-ibm/boxnoteconvertor.git | ||
|
||
pip3 install . | ||
``` | ||
|
||
#### **2. Navigate to the Tool Directory** | ||
## Usage | ||
|
||
### Basic Usage | ||
|
||
Convert a single file: | ||
```bash | ||
cd boxnoteconvertor/boxtodocx | ||
boxtodocx example.boxnote | ||
``` | ||
|
||
#### **3. Install the Tool** | ||
Install the package using Python’s package manager: | ||
Convert all files in a directory: | ||
```bash | ||
pip3 install . | ||
boxtodocx /path/to/directory | ||
``` | ||
|
||
#### **4. Verify Installation** | ||
You can now use the command-line tool: | ||
### Advanced Options | ||
|
||
```bash | ||
boxnotetodocx --help | ||
boxtodocx --help | ||
|
||
Options: | ||
-d, --dir TEXT Work directory for temporary files | ||
-t, --token TEXT Box access token | ||
-o, --output TEXT Output file name (only for single file conversion) | ||
-u, --user TEXT Box user id | ||
-v, --verbose Enable verbose logging | ||
--help Show this message and exit | ||
``` | ||
|
||
#### **5. Conversion Examples** | ||
- **Single File Conversion**: | ||
```bash | ||
boxnotetodocx example.boxnote | ||
``` | ||
- **Batch Conversion for a Directory**: | ||
```bash | ||
boxnotetodocx /path/to/directory | ||
``` | ||
## Authentication | ||
|
||
To use Box API features (like image downloading), you need to provide a Box access token: | ||
|
||
```bash | ||
boxtodocx input.boxnote -t "your_box_token" -u "your_user_id" | ||
``` | ||
|
||
## Development | ||
|
||
See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines. | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.