sncopy; Copy-Paste Tool from Slack to Notion
It's very stressfull to copy some contents on Slack to Notion because their html are not compatible.
So, when I copy the contents include Bulleted list or Numbered list, I have to fix them manually.
What is the difference
These are the sample outputs of copy from Slack and Notion. In short, we will save text as plain text not markdown on Slack.
Case 1 : normal lines
[Original]
Apple
Google
Microsoft
[on Slack]
'Apple\nGoogle\nMicrosoft'
[on Notion]
'Apple\n\nGoogle\n\nMicrosoft'
Case 2 : bulleted lines
[Original]
- Apple
- Google
- Microsoft
[on Slack]
'Apple\nGoogle\nMicrosoft'
[on Notion]
'- Apple\n- Google\n - Microsoft'
Case 3 : numbered lines
[Original]
1. Apple
2. Google
a. Microsoft
[on Slack]
'Apple\nGoogle\nMicrosoft'
[on Notion]
'1. Apple\n1. Google\n 1. Microsoft'
Because Slack will return plain one, we cannot keep the structure of nested lines...
Installation
pip install sncopy
Usage
Basically, you only have to call sncopy on your terminal after copying your contents on Slack.
This command will automatically convert them to Notion's format.
If you want to convert to bulleted lines, please call sncopy command with --mode option.
sncopy --mode bullet
for numbered lines,
sncopy --mode numbered
Metadata
Release files for sncopy 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sncopy-0.1.0.tar.gz | 6.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sncopy-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / sncopy-0.1.0.tar.gz
| Download URL | sncopy-0.1.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
579a8d087e29d1369151ca4dce77785068d4e6e8ef108cfbc6903631bc287c22
|
|
BLAKE2b-256 checksum How to use checksums |
ae498d0e83cce2e5a638b74de3d8cf712ad14c669ed7aa0a7d3c7184c8fd1957
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Darwin/22.1.0
|
Release files / sncopy-0.1.0-py3-none-any.whl
| Download URL | sncopy-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88db4e7d8dee1a3740f293a06a68a945b447279ffc8793cf404696ff23d96516
|
|
BLAKE2b-256 checksum How to use checksums |
2b9ce33147dfd66c6642974c5de4fda77fc1fb785b8095241761d6a6bfaed5f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Darwin/22.1.0
|
Security for sncopy 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.