# Python addin without PyRevit

**URL:** <https://forum.dynamobim.com/t/python-addin-without-pyrevit/81399>\
**Category:** Developers\
**Tags:** python\
**Created:** [September 23, 2022, 12:23pm UTC](https://forum.dynamobim.com/t/python-addin-without-pyrevit/81399 "2022-09-23T12:23:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)\
**Post date:** [September 23, 2022, 12:23pm UTC](https://forum.dynamobim.com/t/python-addin-without-pyrevit/81399/1 "2022-09-23T12:23:07Z")

</div>

Hello,

Is it possible to create a python add-in in a ribbon without using a addin like PyRevit?

KR,

Jan Willem

---

<div class="post-metadata">

**Author:** ![chuongmep](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/chuongmep/32/197537_2.png) [@chuongmep](https://forum.dynamobim.com/u/chuongmep)\
**Post date:** [September 23, 2022, 3:14pm UTC](https://forum.dynamobim.com/t/python-addin-without-pyrevit/81399/2 "2022-09-23T15:14:03Z")

</div>

Let try with this project Relay from @john_pierson  
Relay allows for you to add Dynamo graphs to your Revit ribbon.

> **[GitHub - johnpierson/Relay: Relay allows for you to add Dynamo graphs to your...](https://github.com/johnpierson/Relay)**
>
> Relay allows for you to add Dynamo graphs to your Revit ribbon. - GitHub - johnpierson/Relay: Relay allows for you to add Dynamo graphs to your Revit ribbon.

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [September 24, 2022, 12:53am UTC](https://forum.dynamobim.com/t/python-addin-without-pyrevit/81399/3 "2022-09-24T00:53:34Z")

</div>

You can use revit python shell I guess? That wouldnt do ribbon though.

Otherwise you’d need relay, orkestra or pyrevit. The latter is the only one that runs py scripts i think.

---

<div class="post-metadata">

**Author:** ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)\
**Post date:** [September 24, 2022, 7:14am UTC](https://forum.dynamobim.com/t/python-addin-without-pyrevit/81399/4 "2022-09-24T07:14:36Z")

</div>

I want to write an addin with a ribbon without dynamo scripts.  
If I understand you well, python script always need an other addin?

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [September 24, 2022, 7:44am UTC](https://forum.dynamobim.com/t/python-addin-without-pyrevit/81399/5 "2022-09-24T07:44:37Z")

</div>

I believe so. Aside from the python shell, revit doesnt run .py files naturally. If your script is all in Python, pyrevit is the best choice, potentially only one as far as i know. Open source project, so not much risk involved (although development is slow these days as ehsan seems quite busy).

If your goal is to package up an addin for easy deployment, youll be best off looking into C# I think. Python is generally a language that relies on something else to wrap and run it.

---

<div class="post-metadata">

**Author:** ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)\
**Post date:** [September 24, 2022, 7:54am UTC](https://forum.dynamobim.com/t/python-addin-without-pyrevit/81399/6 "2022-09-24T07:54:42Z")

</div>

Thanks @GavinNicholls time to learn more about C#! 🙂
