Easy way to import default content in Drupal 8 using python
Project description
pyeasydcer
Python Script which makes exporting Drupal default content in Drupal a lot easier than manually doing it
Work Done
- Complete support for DCER - Script can export any number of entities in just a matter of minutes
- Works perfectly on unix systems
- Supports Lando (lando users need to add lando parameter when running the script so as to enable lando mode)
Work to be done
- Windows support
- Multithreading support to make the execution time more faster
Perks
- User can export any number of entities in one go
- User need not enter subscription name and path where local setup is located every time they export defult content
- Script asks the user to enter config when they run it for the first time
- For the next 6 hours script will not ask user to input subscription or path making user's work a bit more easy
- And the best part is there is no need for the user to enter arguments in a particular order, user can enter arguments in any order the script will take care of the problem of handling all that stuff.
Requirements
- Python v3.7+
- pip3
Usage:
pyeasydcer <entity_type> <id's of entities separated by a comma(,)pyeasydcer <entity_type> <id's of entities separated by a comma(,) lando(if using lando enviroment)- Refer to
pyeasydcer -helpto see the help section whenever you are confused
HOW TO USE THIS SCRIPT
-
You can directly install this script from pip as given below
pip3 install pyeasydcer
-
If you are cloning the repository, then you need to run it as given below.
-
cd pyeasydcer/easydcer
-
python3 main.py --help
-
Python is the FUTURE
Enjoy Scripting 🙂
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyeasydcer-1.4.1.tar.gz.
File metadata
- Download URL: pyeasydcer-1.4.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa940f532708c325e54a49bfb496ac1101467ae81cfeaa9bce0a0d0c9da51406
|
|
| MD5 |
fe94bf5e22c7469a0101f3a734647a92
|
|
| BLAKE2b-256 |
a7c544f903a30e9aee6c521479cd811032bdf47075d787fb37877f14ac8ef780
|
File details
Details for the file pyeasydcer-1.4.1-py3-none-any.whl.
File metadata
- Download URL: pyeasydcer-1.4.1-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f19c7218cb90b08564afae03f6b7be607e387bdc6d6084f9e94fde78a5366a2
|
|
| MD5 |
f88f906cde030642082fc6d09decd200
|
|
| BLAKE2b-256 |
2c9ff61a1e6cd7299beb647f1b17d303d755dd547b276b4ce85d47558215be92
|